Mantis - Quercus
Viewing Issue Advanced Details
3315 minor always 02-02-09 18:56 02-02-09 20:33
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003315: Explicit specification of class name not allowed in call_user_func_array()
<?php
class Foo {
  public function yum() {
    print "hi\n";
  }
}
$foo = new Foo;
call_user_func_array(array($foo, 'Foo::yum'), array());

PHP prints "hi". Quercus prints "Fatal Error: Call to undefined method Foo::Foo::yum() [call_user_func_array]".

Notes
(0003795)
nam   
02-02-09 20:33   
php/09lf