php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27145 property names are not unmangled when printed
Submitted: 2004-02-04 11:03 UTC Modified: 2004-02-04 21:11 UTC
From: andrey@php.net Assigned: iliaa (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2004-02-04 (dev) OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andrey@php.net
New email:
PHP Version: OS:

 

 [2004-02-04 11:03 UTC] andrey@php.net
Description:
------------
Object property name is not unmangled before printing in an compile error.

Reproduce code:
---------------
php -r 'class a { protected static $v = "aa";} class b extends a{ protected static $v="bb";}'

Expected result:
----------------
PHP Fatal error:  Cannot redeclare property static protected a::$v in class b in Command line code on line 1

Actual result:
--------------
PHP Fatal error:  Cannot redeclare property static protected a::$ in class b in Command line code on line 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-04 21:11 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC