@typhlosion I think you can generalize your labels: it isn't just Literate Haskell that falls in the latter category, but any literate programming system, going back to Knuth's WEB system for Pascal in 1984. I'd also give Jupyter Notebooks as a particularly effective example of that style.
But I think @KitRedgrave is talking about something different, because the literal HTML isn't there to describe what the PHP source is doing. It's more like metaprogramming, I guess?