note 17120 added to function.echo

From: Date: Tue, 27 Nov 2001 06:03:41 +0000
Subject: note 17120 added to function.echo
Groups: php.notes 
Request: Send a blank email to php-notes+get-21311@lists.php.net to get a copy of this message
<?php='echo'?> does NOT WORK. My server was originally configured to use ASP tags <% %>. Whilst migrating servers, in order to happily coexist with chiliasp and myphpadmin, I changed all the tags to <?php ?>. Suddenly, all the scripts were broken. I thought it was the server's php installation, but I finally figured out something that isn't properly documented in the php site, ie the echo shortcut does not apply to <?php=, only <?= and <%=. Took me all night to figure it out! :P. Needless to say chiliasp no longer resides on this server. -- http://www.php.net/manual/en/function.echo.php http://master.php.net/manage/user-notes.php?action=edit+17120 http://master.php.net/manage/user-notes.php?action=delete+17120 http://master.php.net/manage/user-notes.php?action=reject+17120

« previous php.notes (#21311) next »