note 19982 added to language.basic-syntax

From: Date: Mon, 18 Mar 2002 09:21:05 +0000
Subject: note 19982 added to language.basic-syntax
Groups: php.notes 
Request: Send a blank email to php-notes+get-27898@lists.php.net to get a copy of this message
A little "feature" of PHP I've discovered is that the <?PHP token requires a space after it whereas after the <? and <% tokens a space is optional. The error message you get if you miss the space is not too helpful so be warned! (These examples only give a warning with error_reporting(E_ALL) ) <?PHP/*<Some HTML>*/?> fails... <?/*<Some HTML>*/?> works... -- http://www.php.net/manual/en/language.basic-syntax.php http://master.php.net/manage/user-notes.php?action=edit+19982 http://master.php.net/manage/user-notes.php?action=delete+19982 http://master.php.net/manage/user-notes.php?action=reject+19982

« previous php.notes (#27898) next »