3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tmp = "abcd"; var_dump($tmp['a']);
based on EgLtr
Output for 5.6.0 - 7.2.6
Warning: Illegal string offset 'a' in /in/0tBBE on line 3 string(1) "a"