|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-18 14:01 UTC] mateusz at oksinski dot com
[2005-05-26 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ PHP produces a coredump on unix/linux systems or crashes on windows xp after trying to execute a method using call_user_func on a class that should have been loaded using autoload. Reproduce code: --------------- <?php //file OneClass.php class OneClass { function paint() { return 'Class one'; } } ?> <?php //file mainFile.php echo call_user_func(array('OneClass','paint')); ?> Expected result: ---------------- returns string 'Class one' Actual result: -------------- produces coredump