print_r('by php collection: '); $x = []; $x[10] = 10; $x[1] = 1; print_r($x); ?>
в консоле