|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-06-25 03:27 UTC] philip@php.net
[2017-01-28 12:20 UTC] cmb@php.net
-Package: Documentation problem
+Package: Class/Object related
[2017-03-27 20:47 UTC] tpunt@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: tpunt
[2017-03-27 20:47 UTC] tpunt@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 14:00:01 2025 UTC |
Description: ------------ The following code works fine, but produces a PHP notice on PHP 5.2.17. Strict Standards: Non-static method a::b() cannot be called statically In the documentation for is_callable there is no mention of the possible strict mode notice. There is no notice in PHP 5.3, but I think the change in behaviour should be documented. Test script: --------------- error_reporting(E_ALL| E_STRICT); is_callable(array('a', 'b')); class a { function b() {} } exit;