Mantis Bugtracker
  

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

- Relationships

- Notes
(0003460)
nam
09-18-08 12:37

php/3413
 

- Issue History
Date Modified Username Field Change
09-18-08 11:58 koreth New Issue
09-18-08 12:17 nam Status new => assigned
09-18-08 12:17 nam Assigned To  => nam
09-18-08 12:37 nam Status assigned => closed
09-18-08 12:37 nam Note Added: 0003460
09-18-08 12:37 nam Resolution open => fixed
09-18-08 12:37 nam Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker