Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002986 [Quercus] major always 10-02-08 12:04 10-02-08 13:45
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 3.2.1 Product Version 3.2.1
  Product Build
Summary 0002986: Array expression fails to compile
Description <?php
$a = array('b' => array('c' => array()));
$a['b']['c']['d'] = 1;

Throws an exception:

[12:02:47.082] {resin-24} java.lang.UnsupportedOperationException: com.caucho.quercus.expr.ProArrayGetGetExpr$1
[12:02:47.082] {resin-24} at com.caucho.quercus.expr.GenerateExpr.generateAssignOpen(GenerateExpr.java:305)
[12:02:47.082] {resin-24} at com.caucho.quercus.expr.ProArrayGetGetExpr$1.generateAssign(ProArrayGetGetExpr.java:203)
[12:02:47.082] {resin-24} at com.caucho.quercus.expr.ProAssignExpr$1.generateTop(ProAssignExpr.java:90)
[12:02:47.082] {resin-24} at com.caucho.quercus.expr.GenerateExpr.generateStatement(GenerateExpr.java:360)
[12:02:47.082] {resin-24} at com.caucho.quercus.statement.ProExprStatement$1.generateImpl(ProExprStatement.java:92)
[12:02:47.082] {resin-24} at com.caucho.quercus.statement.StatementGenerator.generate(StatementGenerator.java:92)
[12:02:47.082] {resin-24} at com.caucho.quercus.statement.ProBlockStatement$1.generateImpl(ProBlockStatement.java:106)
[12:02:47.082] {resin-24} at com.caucho.quercus.statement.StatementGenerator.generate(StatementGenerator.java:92)
[12:02:47.082] {resin-24} at com.caucho.quercus.gen.QuercusMain.generate(QuercusMain.java:117)
[12:02:47.082] {resin-24} at com.caucho.java.gen.BaseClass.generateComponents(BaseClass.java:253)
[12:02:47.082] {resin-24} at com.caucho.java.gen.BaseClass.generateClassContent(BaseClass.java:240)
[12:02:47.082] {resin-24} at com.caucho.java.gen.BaseClass.generate(BaseClass.java:228)
[12:02:47.082] {resin-24} at com.caucho.java.gen.GenClass.generate(GenClass.java:123)
[12:02:47.082] {resin-24} at com.caucho.java.gen.JavaClassGenerator.generate(JavaClassGenerator.java:286)
[12:02:47.082] {resin-24} at com.caucho.quercus.gen.QuercusGenerator.generate(QuercusGenerator.java:117)
[12:02:47.082] {resin-24} at com.caucho.quercus.page.ProPageManager$CompileThread.run(ProPageManager.java:274)
[12:02:47.082] {resin-24} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
[12:02:47.082] {resin-24} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
[12:02:47.082] {resin-24} at java.lang.Thread.run(Thread.java:619)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003487)
nam
10-02-08 13:45

php/344z
 

- Issue History
Date Modified Username Field Change
10-02-08 12:04 koreth New Issue
10-02-08 13:36 nam Status new => assigned
10-02-08 13:36 nam Assigned To  => nam
10-02-08 13:45 nam Status assigned => closed
10-02-08 13:45 nam Note Added: 0003487
10-02-08 13:45 nam Resolution open => fixed
10-02-08 13:45 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