ID:               33054
 User updated by:  mateusz at oksinski dot com
 Reported By:      mateusz at oksinski dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: OpenBSD 3.6, Windows XP
 PHP Version:      5.0.4
 New Comment:

It isn't as simple as I wrote in an example code. I'll try to put some
more code in the future.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to