I agree with this
php > var_dump(number_format(10000000000000000000000)); // 10^22
php shell code:1:
string(30) \"10,000,000,000,000,000,000,000\"
Change the precisiona in php.ini or use ini_set and apply cast in your var
ini_set('precision', 2048);
$number1 = (float) "0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001";
$number3 = (float) "0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001";
$test1 = (0 == $number1);
$test2 = (0 == $number3);