ID:               41311
 Updated by:       [EMAIL PROTECTED]
 Reported By:      khuram dot shahzad at yahoo dot com
-Status:           Open
+Status:           Wont fix
-Bug Type:         Reproducible crash
+Bug Type:         Unknown/Other Function
 Operating System: Windows 2000
 PHP Version:      5.2.2
 New Comment:

<?=...?> is a shortcut for "echo ...", therefor this code is definitely
wrong.



Previous Comments:
------------------------------------------------------------------------

[2007-05-07 08:27:52] khuram dot shahzad at yahoo dot com

Description:
------------
<?=//comments?>

the above line was working when i was using php 4.4. After updating to
PHP 5.2 the same Line of code is giving Parse error 




Reproduce code:
---------------
<?=//comments?>

Expected result:
----------------
Parse error: syntax error, unexpected ';' in D:\Program Files\Apache
Group\Apache2\htdocs\test.php on line 2

Actual result:
--------------
it should execute without parse error


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41311&edit=1

Reply via email to