To reproduce. create the following file, open in your web browser, note the results, then refresh, 2nd and subsequent runs will produce the wrong result:-
<?php
$t1=12949599960.903;
$t2=$t1 - 11644473600;
echo "t1:$t1<br>t2:$t2";
?>
|
This is with php 5.3.1 and 5.3.2 and the nts version of phpexpress (3.0.1) on Ubuntu.
Have had to remove phpexpress from out configs and quickly ship unencoded code, not good!
On another point, I wonder whether a better way forward for phpexpress would be to develop and donate to the APC project a plugin architecture to allow encoders to hook into that, that way there need be no development on the caching side, we'd just use APC and when APC becomes part of the mainline php code it will already be supported?
Nusphere would then just need to maintain their plugin.