Re: What does "<<<" mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/30/07, Daevid Vincent <daevid@xxxxxxxxxx> wrote:
> echo <<<EOF
> BROWSER: $_SERVER[HTTP_USER_AGENT]
> EOF;

Isn't that form (sans quote marks) deprecated and frowned upon?

<?php

error_reporting( E_ALL );

echo <<<EOF
BROWSER: $_SERVER[HTTP_USER_AGENT]
EOF;

Why would cleaner, perfectly error free code be frowned upon?



--
Greg Donald
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux