3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 'ola mund'; str_replace('ola', 'ollaaa', $x); str_replace('mun', 'dodododo', $x); echo $x;
Output for 4.3.0 - 7.2.0
ola mund