Anonymous | Login | Signup for a new account | 12-17-2024 10:33 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003291 | [Quercus] | major | always | 01-21-09 21:51 | 01-22-09 10:38 | ||||
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 | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |