3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'hello_world_again'; $str = preg_replace('/\_(.)/', '$0a', $str); echo $str;
Output for 4.3.0 - 7.1.0
hello_waorld_aagain