3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = 'john'; echo substr_replace ($x, 'jenny', 0, 0);
based on I6Cjd
Output for 4.3.0 - 7.1.0
jennyjohn