[Home] [By Thread] [By Date] [Recent Entries]




On Sun, 8 May 2005, Bill Humphries wrote:

> Wouldn't <?php ... ?> be the most widely deployed?
>
Would it be fair to say that this one is a neat hack rather than a "true"
use of PI?  For a PHP processor, <?...?> would be as good as any other
quoting delimiter, e.g. <%...%>, but the former makes it possible to use
PHP-ignorant XML editors to write PHP scripts.  The PHP processor itself
does not care whether text outside <?...?> is XML (correct me if this is
wrong!), and <?...?>-peppered text is not intended for processing by
anything but a PHP engine (and, well, those editors).

--vg

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member