Anonymous | Login | Signup for a new account | 12-17-2024 11:01 PST |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |