#30470 [Opn->Bgs]: php5 break <?=//

From: Date: Mon, 07 Mar 2005 21:16:03 +0000
Subject: #30470 [Opn->Bgs]: php5 break <?=//
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75072@lists.php.net to get a copy of this message
ID: 30470 Updated by: sniper@php.net Reported By: momo@php.net -Status: Open +Status: Bogus Bug Type: Zend Engine 2 problem Operating System: win32 PHP Version: 5.0.1 New Comment: I get same behaviour with every PHP version I have.. Previous Comments: ------------------------------------------------------------------------ [2004-10-19 20:41:28] momo@php.net on php4 cli i of course have to close the '?>' in the begining of the script: $ ./cli.exe -v PHP 4.3.7RC1 (cli) (built: May 25 2004 15:32:33) $ ./cli.exe -r '?><?=//c?>ok' ok ------------------------------------------------------------------------ [2004-10-18 22:56:19] helly@php.net Are you sure you tested CLI version of PHP 4? ------------------------------------------------------------------------ [2004-10-18 15:31:24] momo@php.net Description: ------------ on php5: $ ./php-cli.exe -r '<?=//c?>' give: Parse error: parse error, unexpected '<' in Command line code on line 1 but on php4 it's give nothing. i belive that the php5 behavior is the correct one but anyway we have here BC. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30470&edit=1

« previous php.bugs (#75072) next »