3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'banana'; echo $string[null];
Output for 5.4.5 - 7.1.0
Notice: String offset cast occurred in /in/MMrRs on line 4 b
Output for 5.4.0 - 5.4.4
Notice: String offset cast occured in /in/MMrRs on line 4 b
Output for 4.3.0 - 5.3.29
b