<?php // RAY_temp_navax.php
error_reporting(E_ALL);
echo "<pre>" . PHP_EOL;
// CREATE AND DISPLAY A TWO DIMENSIONAL ARRAY
$arr = array
( 'Dogs' => array
( 'Pomeranian' => 'Small'
, 'Chihuahua' => 'Small'
, 'Terrier' => 'Medium'
, 'Great Dane' => 'Large'
)
, 'Cats' => array
( 'Siamese' => 'Annoying'
, 'Persian' => 'Hairy'
, 'Cougar' => 'Invisible'
, 'Tiger' => NULL
, 'Lion' => FALSE
)
)
;
var_dump($arr);
|