<?php $array = []; for ($x = 0; $x <= 10; $x++) { $array[] = [$x => $x]; } var_dump($array);
You have javascript disabled. You will not be able to edit any code.