#47618 [Bgs]: Say how to turn of interpolation on <<< here documents.

From: Date: Wed, 11 Mar 2009 03:19:21 +0000
Subject: #47618 [Bgs]: Say how to turn of interpolation on <<< here documents.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1965@lists.php.net to get a copy of this message
ID: 47618 User updated by: jidanni at jidanni dot org Reported By: jidanni at jidanni dot org Status: Bogus Bug Type: Documentation problem PHP Version: Irrelevant New Comment: OK. Please put a see-also link to it on function.print.html, as that's what we hit when searching for <<< in certain search engines. Previous Comments: ------------------------------------------------------------------------ [2009-03-11 03:00:43] philip@php.net The print documentation is not meant to explain PHP syntax, string (heredoc) or otherwise. However, the documentation you desire is located here: http://php.net/types.string It appears you're interested in nowdoc, which is the sister of heredoc. ------------------------------------------------------------------------ [2009-03-11 02:45:25] jidanni at jidanni dot org Description: ------------ On function.print.html you mention print <<<END Now as everybody knows, the shell and perl both have ways to "quote" "END" to turn off $ interpolation. However for PHP it is a mystery how to do this. Say explicitly whether of not PHP has such a capability, and if so how. (As it stands, you don't even say if we can use anything other than "END", e.g., "MYEND".) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47618&edit=1

« previous php.doc.bugs (#1965) next »