3v4l.org

run code in 300+ PHP versions simultaneously
<?php $refundDelays = ['66', 66, '0', 0, '', null]; foreach($refundDelays as $value) { $b = ctype_digit($value); $c = is_int($value) || ctype_digit($value); var_dump($value); var_dump($b); var_dump($c); }

preferences:
46.91 ms | 402 KiB | 5 Q