3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $testString = "http://beta.homespotter.com/signature?utm_something=fridayTest3"; $utmName; if (preg_match("/'?utm_'(.+)'='/", $testString, $matches)) { echo "Match was found <br />"; echo $matches[0]; } ?>
based on UFOWE
Output for 5.1.0 - 7.2.0
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: utmName in /in/Oij15 on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: utmName in /in/Oij15 on line 3