Re: <?xml tags (was PDM Meeting Notes)

From: Date: Sun, 27 Nov 2005 22:51:39 +0000
Subject: Re: <?xml tags (was PDM Meeting Notes)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-20683@lists.php.net to get a copy of this message
I recall this being discussed before, but not what came of it: is there a problem with just ignoring <?foo where foo is anything other than php or =? <?foo or <?bar or <?whatever is a parse error anyway so I very much doubt there's any BC break. Unless someone's program relies on parse errors. The problem there becomes legacy support for:
<?foo();?> And before you say "just watch for parens" there's also: <?foo::bar();?> and a much more insiduous example: <?die ?> no semicolon, no parens, no paamayim nekudotayim, nothing but a perfectly valid looking PI tag. -Sara

« previous php.internals (#20683) next »