note 40097 added to language.basic-syntax
| From: | Anon at rn2 dot php dot net | Date: | Sat, 21 Feb 2004 23:05:25 +0000 |
| Subject: | note 40097 added to language.basic-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65494@lists.php.net to get a copy of this message | ||
Yet another way of adding the XML processing instruction is to use:
<?php echo '<?xml version="1.0" ?'.'>' ?>
Because the ? and > are separated, the parser will not terminate before it is supposed to.
As a side note, the W3C's parser seems to recognise this method (assuming it even checks for
the PI).
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40097
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40097&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40097&report=yes
Search -- http://master.php.net/manage/user-notes.php