note 44421 deleted from function.echo by tomsommer

From: Date: Thu, 05 Aug 2004 11:31:07 +0000
Subject: note 44421 deleted from function.echo by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74002@lists.php.net to get a copy of this message
Note Submitter: mk@musiker.nu ---- please note that the example: echo <<<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; does NOT work when you put a space or tab character before "END;", it will instead result in a parse error (probably because the parser can't find the "END;"-string). so, if you indent you code (and you really should ;-) ), do not use this approach. (don't know if this is an issue in php5, but i hope not)

« previous php.notes (#74002) next »