3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (float) (PHP_INT_MAX ); $foo *= 2; if ($foo == 1.844674407371E+19) { echo "true"; } else { echo "$foo != 1.844674407371E+19"; $string = (string)$foo; $expectedString = "1.844674407371E+19"; if (strcmp($expectedString, $string) === 0) { echo "\npresentation is the same."; } }

preferences:
42.8 ms | 402 KiB | 5 Q