ID: 30470 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Zend Engine 2 problem Operating System: win32 PHP Version: 5.0.1 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2004-10-18 22:56:19] [EMAIL PROTECTED] Are you sure you tested CLI version of PHP 4? ------------------------------------------------------------------------ [2004-10-18 15:31:24] [EMAIL PROTECTED] 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
