3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str='abc';var_dump(isset($str['x'])); // false for PHP 5.4 or later, but true for 5.3 or less
based on ClBPj
Output for 5.0.0 - 5.0.2, 5.4.0 - 7.2.6
bool(false)
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5, 5.1.1 - 5.3.29
bool(true)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/oUl1q on line 2
Process exited with code 255.