Anonymous | Login | Signup for a new account | 12-17-2024 08:30 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 | ||||
0003159 | [Quercus] | minor | always | 12-12-08 09:13 | 12-13-08 00:06 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003159: Chained assignment of string expression won't compile | ||||||||
Description |
<?php function messup() { $foo = $bar = 'a' . str_replace('x', 'q', 'xyz'); } Fails to compile under the latest Resin Pro: [09:12:17.032] {resin-14} com.caucho.java.JavaCompileException: .../_chained_22dassignment__php.java:53: incompatible types [09:12:17.032] {resin-14} found : com.caucho.quercus.env.Value [09:12:17.032] {resin-14} required: com.caucho.quercus.env.StringValue [09:12:17.032] {resin-14} v_foo = (v_bar = new StringBuilderValue(_qc_a, com.caucho.quercus.lib.string.StringModule.str_replace(env, qv_x_1, qv_q_2, qv_xyz_3, Env.toRef(DefaultValue.DEFAULT)))).copy(); |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |