3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $varText = "\\teststring\test \/somestring\string/string"; $varText = str_replace("//", '/', str_replace("\\", '/', $varText)); echo $varText;
Output for 5.3.18 - 7.3.0rc4
/teststring est /somestring/string/string