3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tags = array('utm_source', 'utm_medium', 'utm_campaign'); $results = array(); foreach ($tags as $tag){ $results[] = $tag; } print_r($result);
Output for 5.3.28 - 5.3.29, 5.4.20 - 7.1.0
Notice: Undefined variable: result in /in/5uUID on line 8
Output for 5.0.4 - 5.3.27, 5.4.0 - 5.4.19
Notice: Undefined variable: result in /in/Io9AB on line 8
Output for 4.3.1 - 5.0.3
Notice: Undefined variable: result in /in/Io9AB on line 8
Output for 4.3.0
Notice: Undefined variable: result in /in/5uUID on line 8