Image

Imagevolve wrote in Imagephp_dev

PHP Tip #372:

cd579@hotmail.com
06-Apr-2002 01:16

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]