Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002857 [Quercus] major always 08-20-08 21:21 08-21-08 06:55
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 3.2.1 Product Version 3.2.1
  Product Build
Summary 0002857: Can't compile class with magic set/get/call methods
Description <?php
class Test {
  function __call($function, $args) { }
  function __set($key, $value) { }
  function __get($key) { }
}

Fails to compile:

[21:18:22.452] {resin-4} com.caucho.java.JavaCompileException: .../_quercus/_test__php.java:45: cannot find symbol
[21:18:22.452] {resin-4} symbol : variable fun___get
[21:18:22.452] {resin-4} location: class _quercus._test__php.quercus_Test_0
[21:18:22.452] {resin-4} cl.setFieldGet(fun___get);
[21:18:22.452] {resin-4} ^
[21:18:22.452] {resin-4} .../_quercus/_test__php.java:47: cannot find symbol
[21:18:22.452] {resin-4} symbol : variable fun___set
[21:18:22.452] {resin-4} location: class _quercus._test__php.quercus_Test_0
[21:18:22.452] {resin-4} cl.setFieldSet(fun___set);
[21:18:22.452] {resin-4} ^
[21:18:22.452] {resin-4} .../_quercus/_test__php.java:49: cannot find symbol
[21:18:22.452] {resin-4} symbol : variable fun___call
[21:18:22.452] {resin-4} location: class _quercus._test__php.quercus_Test_0
[21:18:22.452] {resin-4} cl.setCall(fun___call);
[21:18:22.452] {resin-4} ^
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003346)
nam
08-21-08 06:55

php/39k0
php/39k1
php/39k2
 

- Issue History
Date Modified Username Field Change
08-20-08 21:21 koreth New Issue
08-20-08 23:21 nam Status new => assigned
08-20-08 23:21 nam Assigned To  => nam
08-21-08 06:55 nam Status assigned => closed
08-21-08 06:55 nam Note Added: 0003346
08-21-08 06:55 nam Resolution open => fixed
08-21-08 06:55 nam 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