[PHP] round behavior changed

2006-05-19 Thread Sébastien Guay
Hi, I searched the archives but did not found anything. It seem that the round function behavior has changed in php 4.4.x (I don't have 4.4.1 handy for testing). In 4.3.11, the output of round(23.005,2) is 23.01 which is mathematically correct. In 4.4.2, the output is 23 which is not correct.

[PHP] fscanf and memory

2004-02-26 Thread Sébastien Guay
= fscanf($fp, %d %d); list ($var1, $var2) = $line; // some treatment } fclose($fp); It work just fine. Seems a problem with fscanf. Has someone ever experienced this? Any advises? Oh btw I'm using php 4.3.4 with Apache 1.3.29 Thanks in advance Sébastien Guay