<?php $a = [1,2,3]; $x = []; foreach($a as $x[0] => $y) { var_dump($x); }
You have javascript disabled. You will not be able to edit any code.