note 39333 added to language.types.string

From: Date: Sun, 25 Jan 2004 08:41:17 +0000
Subject: note 39333 added to language.types.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-64129@lists.php.net to get a copy of this message
If you need to output a string that contains the 'end of php' sequence ?>, or perhaps you have trouble with your editor's syntax colouring because of it, for instance if you wish to do this: <?php print "<?xml version=\"1.0\"?>\n"; ?> you can instead use an encoded char to remove the confusion: <?php print "<?xml version=\"1.0\"\x3F>\n"; ?> Note that this notes page doesn't have a problem with this syntax! ---- Manual Page -- http://www.php.net/manual/en/language.types.string.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39333 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39333&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39333&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64129) next »