Re: short_open_tag

From: Date: Fri, 21 Mar 2008 23:51:54 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-36306@lists.php.net to get a copy of this message
Take this file: <?xml version="1.0" encoding="utf-8" ?> <foo> <? echo "bar"; ?> </foo> and run it through xmllint. Can we now stop this discussion and revert this patch?
Take this file: <?xml version="1.0" encoding="utf-8" ?> <foo> <?php echo "<bar>"; ?> </foo> and run it through your xmllint. Passes right? Does that mean its valid xml/xhtml on the flip side? No, it wont pass. Is XML Spec compliancy a goal of the PHP Project? -ralph

« previous php.internals (#36306) next »