Hi,
Can someone please point me to a Win32 build which has a working NaN? The last few releases on php.net all share the same problems, which are leading to real-world bugs in userland code:
var_dump(NAN); // float(0), should be float(NAN)
$realNaN = sqrt(-1);
var_dump($realNaN); // float(NAN)
var_dump($realNaN == $realNaN); // true, should be false, NaN should never match NaN
Regards,
Stan Vassilev