note 30825 deleted from function.echo by didou

From: Date: Fri, 25 Jul 2003 21:03:56 +0000
Subject: note 30825 deleted from function.echo by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52667@lists.php.net to get a copy of this message
Note Submitter: ejot@telia.com ---- [Editor's Note: When using echo <<<EOF ... EOF; You can specify the variable in { }'s like {$_SESSION['username']} which would then return that variables value in the output. --jacques@php.net] While using echo in the form of echo <<<END END; I came about what I believe to be some curious behavior... <? echo <<<END $_SESSION['username'] // Returns empty $_SESSION[username] // Returns whatever's in there END; ?>

« previous php.notes (#52667) next »