Re:I Like PHP
by plq on Wednesday August 10, 2011 @02:26PM
(#2869511)
me too, i like php. it's a decent templating language with some very advanced features. it even supports namespaces!
[ Parent
| on HN ]
It's an XSS-prone templating language, as the default correct syntax for outputting variables is:
<?php echo htmlspecialchars($value, ENT_QUOTES);?>
which is far from encouraging safe best practices.PHP namespaces aren't any better: http://pornel.net/phpns
Actually, you should also always indicate the character encoding, for reasons I explain here: