PHP 4.0 Bug #3416: Syntax highlighting mis-parses here-documents

From: Date: Sun, 06 Feb 2000 12:41:20 +0000
Subject: PHP 4.0 Bug #3416: Syntax highlighting mis-parses here-documents
Groups: php.dev 
Request: Send a blank email to php-dev+get-15246@lists.php.net to get a copy of this message
From: stas@zend.com Operating system: Linux PHP version: 4.0 Latest CVS (06/02/2000) PHP Bug Type: Scripting Engine problem Bug description: Syntax highlighting mis-parses here-documents Script: <? print <<< END well, this "seems" to 'work' just fine. END; ?> run via php -s, produces: <code><font color="#000000"> <font color="#0000BB">&lt;?<br></font><font color="#007700">print&nbsp;&lt;&lt;&lt;&nbsp;END<br></font><font color="#0000BB">well,&nbsp;this&nbsp;"seems"&nbsp;to&nbsp;'work'&nbsp;just&nbsp;fine.<br></font><font color="#007700">END;;;<br></font><font color="#0000BB">?&gt;<br></font><br></font> </code> Note two extra ;-s after the END. Not much of a problem, but a problem still.

« previous php.dev (#15246) next »