Anonymous | Login | Signup for a new account | 12-17-2024 11:36 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.2.1 | Product Version | 3.2.1 | ||||
Product Build | |||||||||
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. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |