|
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-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 06 09:00:02 2026 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