3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = '10'; assert(is_int($var)); var_dump($var);
based on 2fHYO
Output for 7.0.0 - 7.2.0
Warning: assert(): assert(is_int($var)) failed in /in/C9JjI on line 5 string(2) "10"
Output for 5.3.19 - 5.6.28
Warning: assert(): Assertion failed in /in/C9JjI on line 5 string(2) "10"