Anonymous | Login | Signup for a new account | 12-17-2024 08:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 3.2.1 | ||||||
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). |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |