note 39333 deleted from language.types.string by colder

From: Date: Tue, 17 Oct 2006 18:02:03 +0000
Subject: note 39333 deleted from language.types.string by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118637@lists.php.net to get a copy of this message
Note Submitter: marcus at synchromedia dot co dot uk ---- 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!

« previous php.notes (#118637) next »