Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003327 [Quercus] minor always 02-06-09 23:11 02-07-09 07:16
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003327: Integer variable assignment in argument list won't compile
Description <?php
function foo() {
  $x = array_chunk(array(1, 2, 3), $y = 3);
}

Fails to compile:

[23:09:41.991] {resin-12} com.caucho.java.JavaCompileException: .../_array_0chunk__php.java:58: unexpected type
[23:09:41.991] {resin-12} required: variable
[23:09:41.991] {resin-12} found : value
[23:09:41.991] {resin-12} v_x = _quercus_module_0.array_chunk(env, new ArrayValueImpl().append(qv_1_1).append(qv_2_2).append(qv_3_3).toArrayValue(env), (int) v_y = 3L, DefaultValue.DEFAULT.toBoolean());
Additional Information
Attached Files

- Relationships

- Notes
(0003811)
nam
02-07-09 07:16

php/33da
 

- Issue History
Date Modified Username Field Change
02-06-09 23:11 koreth New Issue
02-07-09 07:15 nam Status new => assigned
02-07-09 07:15 nam Assigned To  => nam
02-07-09 07:16 nam Status assigned => closed
02-07-09 07:16 nam Note Added: 0003811
02-07-09 07:16 nam Resolution open => fixed
02-07-09 07:16 nam 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