<?php

// Array without keys.
$array = [1, 2];

// All items have keys.
$array = array(
    1 => 'a',
    2 => 'b',
    3 => 'c',
    4 => 'd',
);

// Mixed.
$array = [
    'value',
    12 => 'numeric key',
    'string' => 'string key',
    'value',
];

// Test handling of empty array item.
$array = [
    'value', /*comment*/,
    'another value',
];
