Mantis Bugtracker
  

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

- Relationships

- Notes
(0003864)
nam
03-05-09 12:06

php/313v
 
(0003866)
nam
03-06-09 13:12

php/013v
 

- Issue History
Date Modified Username Field Change
03-05-09 11:05 koreth New Issue
03-05-09 11:44 nam Status new => assigned
03-05-09 11:44 nam Assigned To  => nam
03-05-09 12:06 nam Status assigned => closed
03-05-09 12:06 nam Note Added: 0003864
03-05-09 12:06 nam Resolution open => fixed
03-05-09 12:06 nam Fixed in Version  => 4.0.0
03-06-09 13:12 nam Note Added: 0003866


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker