#30470 [Fbk->Opn]: php5 break <?=//
| From: | momo@php.net | Date: | Tue, 19 Oct 2004 18:41:29 +0000 |
| Subject: | #30470 [Fbk->Opn]: php5 break <?=// | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67790@lists.php.net to get a copy of this message | ||
ID: 30470
Updated by: momo@php.net
Reported By: momo@php.net
-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] 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