3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name= array("1", "2", "3"); $say= array("one", "two", "three"); foreach ($name as $v) { $nm= $v; $show = array(); foreach($say as $value) $show[] = $nm.'='.$value; $show = implode("<br>",$show); echo $show; }
Output for 4.3.0 - 7.1.0
1=one<br>1=two<br>1=three2=one<br>2=two<br>2=three3=one<br>3=two<br>3=three