ID: 33054 Updated by: [EMAIL PROTECTED] Reported By: mateusz at oksinski dot com -Status: Closed +Status: Feedback Bug Type: Reproducible crash Operating System: OpenBSD 3.6, Windows XP PHP Version: 5.0.4
Previous Comments: ------------------------------------------------------------------------ [2005-05-18 14:01:06] mateusz at oksinski dot com It isn't as simple as I wrote in an example code. I'll try to put some more code in the future. ------------------------------------------------------------------------ [2005-05-18 13:33:24] mateusz at oksinski dot com 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33054&edit=1