ID: 47267 Updated by: johan...@php.net Reported By: piero dot recchia at gmail dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Ubuntu 8.10 PHP Version: 5.2.8 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2009-02-02 03:44:40] piero dot recchia at gmail dot com Description: ------------ Every class method can be called as static: A wrote a class without static method, but i can call any method as static method. Reproduce code: --------------- <?php class Test { public function nonStatic() { echo 'Hola Non-Static'; } } Test::nonStatic(); ?> Expected result: ---------------- a error message or exception Actual result: -------------- Hola Non-Static ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47267&edit=1