3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arg = array( 'auto_refresh' => '0', 'tags' => 'a,b,c'); $finalArg = ''; foreach($arg as $k=>$v){ $finalArg.= $k.'='.$v.'&'; } $finalArg = substr($finalArg,0,-1); echo $finalArg;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
auto_refresh=0&tags=a,b,c