Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002927 [Quercus] major always 09-11-08 17:27 09-12-08 09:25
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0002927: Dynamic method calls don't work with more than 5 arguments
Description The first method call works; the second bombs out with "Fatal Error: 'x' is an unknown method of ObjectExtValue@784920740[Foo]."

<?php
class Foo {
  function __call($function, $args) {
    print "call $function\n";
  }
}

$c = new Foo();
$method = 'x';

// This works
print $c->$method(1, 1, 1, 1, 1);

// But this doesn't
print $c->$method(1, 1, 1, 1, 1, 1);
Additional Information This was a tricky one to figure out how to reproduce!
Attached Files

- Relationships

- Notes
(0003434)
ferg
09-12-08 09:25

php/09kl, php/39kl
 

- Issue History
Date Modified Username Field Change
09-11-08 17:27 koreth New Issue
09-12-08 09:25 ferg Note Added: 0003434
09-12-08 09:25 ferg Assigned To  => ferg
09-12-08 09:25 ferg Status new => closed
09-12-08 09:25 ferg Resolution open => fixed
09-12-08 09:25 ferg Fixed in Version  => 3.2.1


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