Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1179 | major | always | 06-05-06 17:55 | 06-09-06 14:27 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.20 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001179: Conversion of strings to integers leaves numbers in bad state in compiled code | ||||
Description: |
PHP: <?php $y = "" + 1; print $y . " " . ($y + 1); ?> In interpreted mode, this prints "1 2" (as it does in Zend PHP). Once it's compiled, the output is "1 1". This also happens if the first line is "$y = $x + 1;" (where $x is undefined). If you change the first line to "$y = 1;" or "$y = '1';" then it works fine in both modes. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|