ID:               19859
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tater at potatoe dot com
-Status:           Verified
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: All
 PHP Version:      5.0.0-dev
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

fixed


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

[2002-10-11 05:33:13] tater at potatoe dot com

If an undefined class method is called via call_user_func_array(), the
ZE2 __call() handler won't catch it.

class test
{
  function __call($method,$args)
  {
    print "test::__call invoked for method '$method'\n";
  }
}
$x = new test;
$x->fake(1);
call_user_func_array(array($x,'fake'),array(1));

Output:
test::__call invoked for method 'fake'
Warning: call_user_func_array() [function.call-user-func-array]: First
argumented is expected to be a valid callback, 'test::fake' was given
in /usr/local/book/book/catalog/classes/bug.php on line 11


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19859&edit=1

Reply via email to