<pre> 
<?php 
// 二维数组: 
$cars = array 
( 
    array("Volvo",100,96), 
    array("BMW",60,59), 
    array("Toyota",110,100) 
); 
print_r($cars); 
?> 
</pre> 

<?php 
$sites = array 
( 
    "runoob"=>array 
    ( 
        "菜鸟教程", 
        "http://www.runoob.com" 
    ), 
    "google"=>array 
    ( 
        "Google 搜索", 
        "http://www.google.com" 
    ), 
    "taobao"=>array 
    ( 
        "淘宝", 
        "http://www.taobao.com" 
    ) 
); 
print("<pre>"); // 格式化输出数组 
print_r($sites); 
print("</pre>"); 
?>