3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$s = $_SERVER["REQUEST_URI"]; $s = 'http://www.suredeal.com.au/all-deals/deal/3490?edm=10264&email=jo.f%40mpiremedia.com.au&utm_medium=email&utm_campaign=DUPLICATEDTWO+Pillows+Delivered+to+Your+Door+-+Choose+From+Three+Pillow+Types&utm_content=DUPLICATEDTWO+Pillows+Delivered+to+Your+Door+-+Choose+From+Three+Pillow+Types+CID_e497ad0eca52779f8185ed9f05062871&utm_source=Email%20marketing%20software'; preg_match($s,'/deal/',$res); print_r($res);
Output for 5.2.0 - 5.6.21, 7.0.0 - 7.1.0
Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /in/7WJF5 on line 4
Output for hhvm-3.12.0
Warning: Delimiter must not be alphanumeric or backslash in /in/7WJF5 on line 4
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.11 - 5.1.6
Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /in/7WJF5 on line 4 Array ( )
Output for 4.3.0 - 4.3.10
Warning: Delimiter must not be alphanumeric or backslash in /in/7WJF5 on line 4 Array ( )