|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-13 04:09 UTC] laruence@php.net
-Status: Open
+Status: Bogus
[2011-08-13 04:09 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 17:00:01 2025 UTC |
Description: ------------ $this->me in class "a" should not have 'cata' as a value. Test script: --------------- <?php error_reporting(E_ALL); ini_set('display_erros','on'); class a{ public function bar(){ echo $this->me; } } class b{ function foo(){ a::bar(); } } $b=new b(); $b->me='cata'; $b->foo(); Expected result: ---------------- no echo or error thrown Actual result: -------------- cata