Re:PHP Hacking aka trying to push PHP internals forwards
by hackernewz on Friday June 10, 2011 @10:51AM
(#2641040)
But, less than question mark and a space are not a valid XML combination. XML processing instructions cannot begin with a space. Likewise, PHP cannot run commands into the short tags, like <?echo $foo; ?>. So, there really is no collision, it's just grandstanding.
[ Parent
| on HN ]
Re:PHP Hacking aka trying to push PHP internals forwards
by mgkimsal on Friday June 10, 2011 @10:53AM
(#2641048)
I wonder if the XML PI spec says anything about <?= Can you have a PI start with = ? If not, the echo short tag should stay for certain.