3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "meno go you to from"; $regex = array("to","go"); $url = preg_replace($regex, '', $url); echo $url;
based on IOFsK
Output for 5.2.5 - 7.2.0
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/iMeBS on line 5
Output for 4.3.11 - 5.2.4
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/iMeBS on line 5 Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/iMeBS on line 5 meno go you to from
Output for 4.3.0 - 4.3.10
Warning: Delimiter must not be alphanumeric or backslash in /in/iMeBS on line 5 Warning: Delimiter must not be alphanumeric or backslash in /in/iMeBS on line 5 meno go you to from