| Anonymous | Login | Signup for a new account | 10-26-2025 15:15 PDT |
| 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 | ||||
| 0003371 | [Quercus] | minor | always | 03-05-09 11:05 | 03-06-09 13:12 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product 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())); |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |