3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arg = array( 'auto_refresh' => '0', 'tags' => 'a,b,c'); foreach($arg as $k=>$v){ $finalArg.= $k.'='.$v.'&'; } $finalArg = substr($finalArg,0,-1); echo $finalArg;
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: finalArg in /in/d7r8Z on line 5 auto_refresh=0&tags=a,b,c
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: finalArg in /in/d7r8Z on line 5 auto_refresh=0&tags=a,b,c