Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3327 | minor | always | 02-06-09 23:11 | 02-07-09 07:16 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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()); |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|