3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr2 = [1, 3, 4]; var_dump(is_int(3));
based on mpAV8
Output for 5.4.0 - 7.2.0
bool(true)
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/MFnjM on line 4
Process exited with code 255.