|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2857 | major | always | 08-20-08 21:21 | 08-21-08 06:55 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.1 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.2.1 | ||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||