Annotation of embedaddon/php/scripts/dev/generate-phpt/src/codeSnippets/array.txt, revision 1.1

1.1     ! misho       1: $index_array = array(1, 2, 3);
        !             2: $assoc_array = array(1 => 'one', 2 => 'two');
        !             3: 
        !             4: $variation_array = array(
        !             5:   'empty array' => array(),
        !             6:   'int indexed array' => $index_array,
        !             7:   'associative array' => $assoc_array,
        !             8:   'nested arrays' => array('foo', $index_array, $assoc_array),
        !             9:   );

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>