3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = "12345"; if( is_numeric($t ) ) { echo $t . " is an int!"; } else { echo $t . " is not an int!"; }

preferences:
38.93 ms | 402 KiB | 5 Q