Because it’s easy. Just do some HTML markup and some CSS and slap some <?php inline. This is partially the same reason why there are so many horribly outdated versions “in production”.
Comment on ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire
spankysalmon@fedinsfw.app 8 hours agoI seriously wonder how PHP got so popular. It has never been a paragon of … anything from a serious engineer perspective.
kungen@feddit.nu 7 hours ago
rabidhamster@lemmy.dbzer0.com 7 hours ago
Really because it was easier to deal with than Perl in the early days, and those were basically your choices.