Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002940 [Quercus] major always 09-16-08 11:32 09-16-08 15:38
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0002940: String modifications leak across invocations in compiled mode
Description <?php
function modify(&$str) {
  $str[3] = 'x';
}
$foo = 'yyyyyy';
print $foo;
modify($foo);


In interpreted mode, this prints "yyyyyy" consistently. In compiled mode, after it's run once, it prints "yyyxyy" -- the modification from the previous run is being retained.
Additional Information
Attached Files

- Relationships

- Notes
(0003446)
ferg
09-16-08 15:38

php/33mg
 

- Issue History
Date Modified Username Field Change
09-16-08 11:32 koreth New Issue
09-16-08 15:38 ferg Note Added: 0003446
09-16-08 15:38 ferg Assigned To  => ferg
09-16-08 15:38 ferg Status new => closed
09-16-08 15:38 ferg Resolution open => fixed
09-16-08 15:38 ferg Fixed in Version  => 3.2.1


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