Re: What does "<<<" mean?

From: Date: Mon, 30 Apr 2007 22:55:57 +0000
Subject: Re: What does "<<<" mean?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-254165@lists.php.net to get a copy of this message
On 4/30/07, Philip Thompson <prthomp@uark.edu> wrote:
Ok, let's gather some stats to see how many people actually use the heredoc syntax. I created this quick little form to gather the data. It's takes 2 seconds (literally) - vote here: http://thril.uark.edu/heredoc/
If you're not using it you're working yourself way too hard. echo "=== UPLOAD FILE ===\n"; echo "CLIENT: " . $_SERVER['REMOTE_ADDR'] . "\n"; echo "BROWSER: " . $_SERVER['HTTP_USER_AGENT'] . "\n";
echo "TIME:    " . date("Y-m-d H:i:s") . "\n";
echo "ENCODED: $encoded\n";
echo "UID:     $uid\n";
echo "PATH:    $path\n";
echo "EMAIL: $email\n"; echo "PROJECT: $prj\n"; echo "LENGTH: " . $_SERVER['CONTENT_LENGTH'] . "\n"; echo "\n"; Versus: $date = date( 'Y-m-d H:i:s' ); echo <<<EOF === UPLOAD FILE === CLIENT: $_SERVER[REMOTE_ADDR] BROWSER: $_SERVER[HTTP_USER_AGENT]
TIME:    $date
ENCODED: $encoded
UID:     $uid
PATH:    $path
EMAIL: $email PROJECT: $prj LENGTH: $_SERVER[CONTENT_LENGTH] EOF; -- Greg Donald http://destiney.com/

« previous php.general (#254165) next »