3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print is_int(-9223372036854775808)? "true\n\n" : "false\n\n"; $code = '<?php is_int(-9223372036854775808)'; foreach(token_get_all($code) as $c){ if(is_array($c)){ print(token_name($c[0]).": '".htmlentities($c[1])."'\n"); } else { print("$c\n"); } }
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
false T_OPEN_TAG: '&lt;?php ' T_STRING: 'is_int' ( - T_DNUMBER: '9223372036854775808' )
Output for hhvm-3.10.0 - 3.12.0
false T_OPEN_TAG: '&lt;?php ' T_STRING: 'is_int' ( - T_ONUMBER: '9223372036854775808' )