|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3371 | minor | always | 03-05-09 11:05 | 03-06-09 13:12 | |
|
|
|||||
| 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: | 0003371: Explicit string cast of indexed character assignment rvalue causes compile error | ||||
| Description: |
<?php $x = 'abc'; $x{1} = (string)'a'; Fails to compile: [11:03:32.516] {resin-20} com.caucho.java.JavaCompileException: .../_stringchar__php.java:45: setCharValueAt(long,com.caucho.quercus.env.Value) in com.caucho.quercus.env.Value cannot be applied to (long,java.lang.String) [11:03:32.516] {resin-20} v_x.set(v_x.get().setCharValueAt(1L,qv_a_1.toString(env).toString())); |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||