Anonymous | Login | Signup for a new account | 12-17-2024 08:38 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 | ||||
0003361 | [Quercus] | major | always | 02-26-09 18:14 | 02-26-09 21:56 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003361: String "[]" operator fails to compile | ||||||||
Description |
<?php function foo() { $x = ' '; $x[0] = 'x'; } Doesn't compile: [18:12:12.722] {resin-29} com.caucho.java.JavaCompileException: .../_string_22darray__php.java:60: incompatible types [18:12:12.722] {resin-29} found : com.caucho.quercus.env.Value [18:12:12.722] {resin-29} required: com.caucho.quercus.env.StringValue [18:12:12.722] {resin-29} (v_x = v_x.toAutoArray()).put(qv_0_1, qv_x_2); |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003848) koreth 02-26-09 18:24 |
Changing the "[]" to "{}" seems to make it work. |
(0003849) nam 02-26-09 21:56 |
php/3492 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |