3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $stro = "Dve medzery"; $str = str_replace(" ", "-a-", $stro); echo $str;
based on g3GdT
Output for 4.3.0 - 7.2.0
Dve-a-medzery