3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php check_input_data('wello', 'int'); function check_input_data($data, $type) { if (preg_match('/^[0-9]{1,10}$/D', $data) && $data < 2147483647) return true; }
based on clpSd
Output for 4.3.0 - 7.1.7