Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2948 | minor | always | 09-18-08 11:58 | 09-18-08 12:37 | |
|
|||||
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: | 0002948: Can't mix key/value and nonkeyed array autoinitialization | ||||
Description: |
<?php $a = array(0 => 'x', 'y'); Fails to compile in Quercus: [11:21:11.688] {resin-19} com.caucho.java.JavaCompileException: .../WEB-INF/work/_quercus/_test__php.java:35: append(com.caucho.quercus.env.Value,com.caucho.quercus.env.Value) in com.caucho.quercus.env.Value cannot be applied to (com.caucho.quercus.env.StringBuilderValue) [11:21:11.688] {resin-19} (v_a = env.getVar("a")).set(new ArrayValueImpl().append(qv_0_0, qv_x_1).append(qv_y_2)); [11:21:11.688] {resin-19} ^ [11:21:11.688] {resin-19} 1 error [11:21:11.688] {resin-19} at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java:243) [11:21:11.688] {resin-19} at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:96) [11:21:11.688] {resin-19} at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:102) [11:21:11.688] {resin-19} at java.lang.Thread.run(Thread.java:619) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|