Home > Backend Development > PHP Tutorial > 一个简单的数组_PHP

一个简单的数组_PHP

WBOY
Release: 2016-06-01 12:30:25
Original
871 people have browsed it



一个简单的数组



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



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template