Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3137 | minor | always | 12-07-08 23:56 | 12-11-08 13:14 | |
|
|||||
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: | 4.0.0 | ||
|
|||||
Summary: | 0003137: Chained assignment won't compile | ||||
Description: |
<?php function zero() { $foo = $bar = 0; } With the latest Resin Pro, this won't compile: [23:54:58.522] {resin-16} com.caucho.java.JavaCompileException: .../WEB-INF/work/_quercus/_html/_test/_chained_22dassignment__php.java:52: long cannot be dereferenced [23:54:58.522] {resin-16} v_foo = (v_bar = 0L).toLong(); [23:54:58.522] {resin-16} ^ [23:54:58.522] {resin-16} 1 error [23:54:58.522] {resin-16} at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java:243) [23:54:58.522] {resin-16} at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:96) [23:54:58.522] {resin-16} at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:102) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|