3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = [343,353,353,646,757,8]; $arr2 = [35,353,646,75,23,23]; foreach($arr1 as $key => $val){ echo $val . "\n"; echo $arr2[$key] . "\n\n"; }
based on BMg76
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.23, 7.4.0 - 7.4.11, 8.0.0alpha1 - rc2
343 35 353 353 353 646 646 75 757 23 8 23