3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "685484585478488466"; printf("Integer: %d\n", (integer) $text);printf("Float: %f\n", (float) $text); echo "\n"; echo gmp_strval((integer) $text); echo "\n"; echo gmp_strval((float) $text);

preferences:
57.34 ms | 402 KiB | 5 Q