note 20516 added to language.variables

From: Date: Sat, 06 Apr 2002 06:16:13 +0000
Subject: note 20516 added to language.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-28691@lists.php.net to get a copy of this message
Another way to assign a variable a large amount text without having to worry about quotes getting in the way is like so: $aVariable = <<<END "HEY!" END; print "$aVariable"; output: "HEY!" Where as this is will produce an error: $aVariable = ""HEY!""; -- http://www.php.net/manual/en/language.variables.php http://master.php.net/manage/user-notes.php?action=edit+20516 http://master.php.net/manage/user-notes.php?action=delete+20516 http://master.php.net/manage/user-notes.php?action=reject+20516

« previous php.notes (#28691) next »