Mantis - Quercus
Viewing Issue Advanced Details
1093 major always 05-10-06 20:10 05-15-06 15:52
koreth  
ferg  
normal  
closed 3.0.19  
fixed  
none    
none 3.0.20  
0001093: Quercus floating point expressions lose fractional parts in interpreted mode
If I have the following PHP script:

<?php
print 10.5 - 1;
print " ";
print 9.5;
?>

I get "9 9.5" the first time I load the page (when it's being interpreted; I'm using the default lazy compilation mode) and "9.5 9.5" on subsequent runs.

Notes
(0001132)
ferg   
05-15-06 15:52   
php/3325