note 11784 added to echo

From: Date: Wed, 07 Mar 2001 03:55:06 +0000
Subject: note 11784 added to echo
Groups: php.notes 
Request: Send a blank email to php-notes+get-11976@lists.php.net to get a copy of this message
echo() is not function, following code is invalid. ($some_var) ? echo('true'): echo('false'); Print() works ($some_var) ? print('true'): print('false'); I thought this is a parser bug at first, but it was not. http://www.php.net/manual/en/function.echo.php

« previous php.notes (#11976) next »