Anonymous | Login | Signup for a new account | 12-17-2024 08:35 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002948 | [Quercus] | minor | always | 09-18-08 11:58 | 09-18-08 12:37 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product 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) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |