php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43458 <?=//$x ?> works in PHP4, but not PHP5
Submitted: 2007-11-29 20:27 UTC Modified: 2007-11-30 00:08 UTC
From: andrew at sundale dot net Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.2.5 OS: Linux
Private report: No CVE-ID: None
 [2007-11-29 20:27 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-30 00:08 UTC] iliaa@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 13:01:31 2024 UTC