|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2005-11-23 13:54 UTC] tony2001@php.net
  [2005-11-23 14:46 UTC] dmitry@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 12:00:01 2025 UTC | 
Description: ------------ Missing E_STRICT when calling non-static method from class method Reproduce code: --------------- <?php class foo { function bar() { print "foo::bar()\n"; } } class bar { function __construct() { foo::bar(); } } new bar; foo::bar(); ?> Expected result: ---------------- Strict Standards: Non-static method foo::bar() should not be called statically in .. foo::bar() Strict Standards: Non-static method foo::bar() should not be called statically in .. foo::bar() Actual result: -------------- foo::bar() Strict Standards: Non-static method foo::bar() should not be called statically in ... foo::bar()