#43458 [Opn->Bgs]: <?=//$x ?> works in PHP4, but not PHP5

From: Date: Fri, 30 Nov 2007 00:08:23 +0000
Subject: #43458 [Opn->Bgs]: <?=//$x ?> works in PHP4, but not PHP5
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120234@lists.php.net to get a copy of this message
ID: 43458 Updated by: iliaa@php.net Reported By: andrew at sundale dot net -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.2.5 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is expected. Previous Comments: ------------------------------------------------------------------------ [2007-11-29 20:27:20] andrew at sundale dot net Description: ------------ <?=//$x ?> works in PHP4, but not PHP5 I have encountered a legacy code, there were used these comments. Surprisingly, it works in PHP4. Reproduce code: --------------- <?=//$x ?> Expected result: ---------------- Nothing Actual result: -------------- Error in PHP5 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43458&edit=1

« previous php.bugs (#120234) next »