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/\d+?/',$res); print_r($res);
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected 'preg_match' (T_STRING) in /in/npF6E on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected T_STRING in /in/npF6E on line 4
Process exited with code 255.