Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003135 [Quercus] minor always 12-07-08 16:23 12-10-08 09:16
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.0 Product Version 3.2.1
  Product Build
Summary 0003135: call_user_func and call_user_func_array don't support dynamic methods
Description <?php
class Foo {
  function __call($func, $args) {
    print "called $func\n";
  }
}
$foo = new Foo();
$foo->bar();
call_user_func_array(array($foo, 'bar'), array());
call_user_func(array($foo, 'bar'));

Vanilla PHP prints "called bar" twice. Quercus prints "called bar" once and then "Warning: Foo::bar() is an invalid callback method [call_user_func_array]" (and an identical warning for call_user_func).
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003595)
nam
12-10-08 09:16

php/09le
 

- Issue History
Date Modified Username Field Change
12-07-08 16:23 koreth New Issue
12-10-08 09:15 nam Status new => assigned
12-10-08 09:15 nam Assigned To  => nam
12-10-08 09:16 nam Status assigned => closed
12-10-08 09:16 nam Note Added: 0003595
12-10-08 09:16 nam Resolution open => fixed
12-10-08 09:16 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker