[nycphp-talk] Short Tags deprecated?
Chris Snyder
chsnyder at gmail.com
Fri Aug 28 14:45:44 EDT 2009
On Fri, Aug 28, 2009 at 2:32 PM, Eddie Drapkin<oorza2k5 at gmail.com> wrote:
> On Fri, Aug 28, 2009 at 2:27 PM, Mona Borham<monalisa20042006 at gmail.com> wrote:
>> If you are using a host server that supports multiple programming languages
>> this may be dangerous
>>
>
> Or if you use a server that has <?xml declared anywhere that may be
> parsed as PHP.
Which makes it seem like the obvious fix is to parse <? and <?php but
not parse <?xml. But what do I know?
Back when I still thought it was fun to write XHTML, I used to do this
in my templates:
<?='<?xml version="1.0" encoding="utf-8"?>'?>
Nice, huh?
More information about the talk
mailing list