4 ms·
> PHP mixed with HTML was one of the "bad ideas" that hurt PHP. It was a bad practice that got out of hand. If you think of PHP as prototype-only, mixing tags
by foul 3y ago
> PHP mixed with HTML was one of the "bad ideas" that hurt PHP. It was a bad practice that got out of hand.
If you think of PHP as prototype-only, mixing tags and HTML is very convenient, like it is with the other thousand templating tools. And obviously it's more a problem of XSS through badly sanitized inputs more than the mix in itself, blah blah blah
It's PHP in production a bad practice that got out of hand.