3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Associative Array $stopIDS["to"][0] = "1002554"; $stopIDS["to"][1] = "2000023"; $stopIDS["from"][0] = "1002757"; $stopIDS["from"][1] = "1002718"; foreach($stopIDS as $key => $stopSet) { echo $key; echo " "; foreach ($stopSet as $stop) { echo $stop; echo " "; } echo "\n"; }
Output for 4.3.0 - 7.1.0
to 1002554 2000023 from 1002757 1002718