008-PHP定义数组

<?php
/*定义数组$Cities[]*/
$Cities[0] = "北京";
$Cities[1] = "天津";
$Cities[2] = "上海";
$Cities[3] = "深圳";
print("我住在$Cities[1]。<BR>\n");//打印$Cities[1]
?>

 

posted @ 2019-06-05 20:54  像一棵海草海草海草  阅读(98)  评论(0编辑  收藏  举报