|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-02 11:06 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
-Package: PHP Language Specification
+Package: Scripting Engine problem
[2015-05-02 11:06 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 17:00:02 2026 UTC |
Description: ------------ <?php class Ctest{ public function index(){ echo "I need not instantiation!"; } } call_user_func_array(array("Ctest","index"),array()); ?> The Ctest is not instantiation,but I can use the 'index()' function.I think this should display a error. Test script: --------------- <?php class Ctest{ public function index(){ echo "I need not instantiation!"; } } call_user_func_array(array("Ctest","index"),array()); ?>