3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_cart_url = "hello"; str_replace("hello","goodbye", $current_cart_url); echo $current_cart_url; ?>
based on 81SmE
Output for 4.3.0 - 7.1.0
hello