| Anonymous | Login | Signup for a new account | 11-06-2025 04:31 PST |
| Main | My View | View Issues | Change Log | Docs |
| 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 | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |