[thelist] PHP >>> ?

Rick den Haan rick.denhaan at gmail.com
Thu Dec 21 04:57:34 CST 2006


Tris wrote:
> Another PHP developer near me, has jsut asked what the PHP function is
> where you can out put text 'like' this:
>
> =============
> >>> ABC
>   
>
> My text will interpret $randomVariable into whatever it is set to
>
> ABC <<<
> =============
>
> I've nop idea, but he's convinced there's something like ths called escape doc??
>
> anyone know what he's on about?
>   
That would be the Heredoc syntax. See http://www.php.net/types.string



More information about the thelist mailing list