|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3153 | minor | always | 12-11-08 21:32 | 12-12-08 08:59 | |
|
|
|||||
| 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: | 0003153: Character index fails to compile | ||||
| Description: |
<?php function foo() { $x = 'test'; $y = $x{0}; } Fails to compile under latest Resin Pro: [21:31:20.679] {resin-8} com.caucho.java.JavaCompileException: ...__php.java:56: incompatible types [21:31:20.679] {resin-8} found : com.caucho.quercus.env.Value [21:31:20.679] {resin-8} required: com.caucho.quercus.env.StringValue [21:31:20.679] {resin-8} v_y = v_x.charValueAt(0L); |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||