<?php $explicit = [-2 => true, true, true]; $fill = array_fill(-2, 3, true); $push = [-2 => true]; $push[] = true; $push[] = true; var_dump($explicit, $fill, $push);
You have javascript disabled. You will not be able to edit any code.