3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = 'abc'; echo str_replace(array('a', 'c'), '_', $s);
Output for 4.3.0 - 7.1.0
_b_