Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3291 | major | always | 01-21-09 21:51 | 01-22-09 10:38 | |
|
|||||
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: | 0003291: Variable assignment in argument fails to compile | ||||
Description: |
<?php function foo() { $x = array(); array_chunk($x, $y = 2); } Fails to compile: [21:49:50.716] {resin-22} com.caucho.java.JavaCompileException: .../_array_0chunk_02__php.java:61: unexpected type [21:49:50.716] {resin-22} required: variable [21:49:50.716] {resin-22} found : value [21:49:50.716] {resin-22} _quercus_module_0.array_chunk(env, v_x.toValue().toArrayValue(env), (int) v_y = 2L, DefaultValue.DEFAULT.toBoolean()); |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|