3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $addr = "http://www.example.com/?pk_lol=VAgin&utm_campaign=printemps&utm_medium=e-mail&utm_source=newsletter1&utm_content=lien-en-haut"; $pattern ="/(utm_campaign=.[^&]+)*(utm_medium=.[^&]+) preg_match($pattern, $addr, $result); print_r($result);
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected end of file in /in/tGOnm on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/tGOnm on line 8
Process exited with code 255.