Anonymous | Login | Signup for a new account | 09-07-2024 16:49 PDT |
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 | ||||
0003137 | [Quercus] | minor | always | 12-07-08 23:56 | 12-11-08 13:14 | ||||
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 | 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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |