Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003139 [Quercus] minor always 12-08-08 00:06 12-10-08 12:10
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0003139: Variable assignment in array constructor won't compile
Description <?php
function x() {
  $x = array($y = 1);
}

Fails to compile with the latest Resin Pro:

[00:05:13.543] {resin-10} com.caucho.java.JavaCompileException: .../WEB-INF/work/_quercus/_html/_test/_array_22dassignment__php.java:52: long cannot be dereferenced
[00:05:13.543] {resin-10} v_x = new ArrayValueImpl().append((v_y = 1L).copy());
[00:05:13.543] {resin-10} ^
Additional Information
Attached Files

- Relationships

- Notes
(0003596)
ferg
12-10-08 12:10

php/3aan
 

- Issue History
Date Modified Username Field Change
12-08-08 00:06 koreth New Issue
12-10-08 12:10 ferg Note Added: 0003596
12-10-08 12:10 ferg Assigned To  => ferg
12-10-08 12:10 ferg Status new => closed
12-10-08 12:10 ferg Resolution open => fixed
12-10-08 12:10 ferg Fixed in Version  => 4.0.0


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