note 106596 added to language.basic-syntax.phpmode

From: Date: Mon, 21 Nov 2011 16:19:32 +0000
Subject: note 106596 added to language.basic-syntax.phpmode
Groups: php.notes 
Request: Send a blank email to php-notes+get-184600@lists.php.net to get a copy of this message
After viewing this example above, I'm a bit confused. ............................................ "eksith" wrote: <?php $html =<<<HTML <?xml version="1.0" encoding="UTF-8" ?> ... The rest of your HTML... And a PHP {$variable} here and an array {$arr['value']} there. HTML; // End of heredoc ............................................. I love this and want to use it, but from what I've read, heredocs treats a string as a double quoted string. So, is having double quotes within a syntax is allowed? Hope so. ---- Server IP: 69.147.83.197 Probable Submitter: 96.35.229.63 ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.phpmode.php Edit -- https://master.php.net/note/edit/106596 Del: integrated -- https://master.php.net/note/delete/106596/integrated Del: useless -- https://master.php.net/note/delete/106596/useless Del: bad code -- https://master.php.net/note/delete/106596/bad+code Del: spam -- https://master.php.net/note/delete/106596/spam Del: non-english -- https://master.php.net/note/delete/106596/non-english Del: in docs -- https://master.php.net/note/delete/106596/in+docs Del: other reasons-- https://master.php.net/note/delete/106596 Reject -- https://master.php.net/note/reject/106596 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184600) next »