3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = '2015'; assert(is_int($var));
based on oU1BU
Output for 7.0.0 - 7.2.0
Warning: assert(): assert(is_int($var)) failed in /in/CuajH on line 5
Output for 5.3.19 - 5.6.28
Warning: assert(): Assertion failed in /in/CuajH on line 5