Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2940 | major | always | 09-16-08 11:32 | 09-16-08 15:38 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|