note 5921 deleted from function.print by jimw

From: Date: Fri, 14 Dec 2001 20:21:07 +0000
Subject: note 5921 deleted from function.print by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22733@lists.php.net to get a copy of this message
PHP 4 now allows the use of PRINT <<<EOF, much the same way as PERL's PRINT EOF>>. When using this option there is no need to escape characters such as quotes. This is very useful for printing large amounts of HTML code e.g. <pre> print <<<EOF <pre_tag here> This is "quoted text" More quoted stuff "here" </pre_tag here> EOF; </pre> Make sure not to indent the EOF; statement as this will cause parsing errors.

« previous php.notes (#22733) next »