note 27775 deleted from function.print by nlopess

From: Date: Tue, 06 Jul 2004 18:24:42 +0000
Subject: note 27775 deleted from function.print by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72783@lists.php.net to get a copy of this message
Note Submitter: brian@brightblade.org ---- The "<<<" convention can also be used to assign blocks to variables like this $text = <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace! END; 'print $text;' Will output the string. Very handy for storing HTML.

« previous php.notes (#72783) next »