|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-17 13:41 UTC] php at hristov dot com
[2005-02-28 21:01 UTC] sniper@php.net
[2005-03-01 00:16 UTC] php at hristov dot com
[2005-09-02 07:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 17:00:01 2025 UTC |
Description: ------------ The example code works with HEAD but is broken with 5_0 latest build as well as 5.0.3 . 5.0.2 and lower not checked. Reproduce code: --------------- php -r 'class a{protected static $foo=2;} class b extends a{function p(){var_dump(a::$foo);}}$b=new b;$b->p();' Expected result: ---------------- int(2) Actual result: -------------- Fatal error: Cannot access protected property a::$foo in Command line code on line 1