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