3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id_seance="123211"; if (is_numeric((int)$id_seance)) { print "int"; }else{ print "not int"; }

preferences:
36.58 ms | 402 KiB | 5 Q