3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $oi = "oioioioioi"; $oi2 = $oi; $oi[4] = '2'; var_dump($oi); var_dump($oi2);
Output for 5.6.38 - 7.3.0rc3
string(10) "oioi2ioioi" string(10) "oioioioioi"