3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "ß"; echo "Not unicode safe:"; var_dump($a[0], $a[1]); echo "Select's 3th character"; $hey = ">>@<<"; var_dump($hey[2]);
based on Nb4Y4
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Not unicode safe:string(1) "�" string(1) "�" Select's 3th characterstring(1) "@"