3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'abc'; echo $str['sdfd'];
Output for 5.4.0 - 7.2.0
Warning: Illegal string offset 'sdfd' in /in/uU3lr on line 5 a
Output for 4.3.0 - 5.3.29
a