3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '123444 '; if (is_numeric($string)) { echo "Its Numeric"; } else { echo "Its NOT Numeric"; }

preferences:
43.84 ms | 402 KiB | 5 Q