3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name = 'foo'; if (strlen($name) > 49) { echo 'a'; } if (isset($name[49])) { echo 'a'; }
Output for 4.3.3 - 7.1.7, 7.2.0
Output for 7.1.10

Process exited with code 137.
Output for 4.3.0 - 4.3.2
Notice: Uninitialized string offset: 49 in /in/ENWFB on line 8