note 89204 rejected from language.types.string by thiago

From: Date: Thu, 26 Feb 2009 12:21:11 +0000
Subject: note 89204 rejected from language.types.string by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151153@lists.php.net to get a copy of this message
Note Submitter: kexianbin at diyism dot com ---- Why the second paragraph is right(using double quote), while the commented is not right(using nowdoc)? <? $s='substr'; /* $htm=<<<DOC {$s(<<<'ppp' abcdefg ppp ,0,3)} DOC; */ $htm=" {$s(<<<'ppp' abcdefg ppp ,0,3)} "; echo $htm; ?>

« previous php.notes (#151153) next »