一个简单的数组_PHP
- WBOYOriginal
- 2016-06-01 12:30:25870browse
一个简单的数组
/*定义数组$Cities[]*/
$Cities[0] = "北京";
$Cities[1] = "天津";
$Cities[2] = "上海";
$Cities[3] = "深圳";
print("我住在$Cities[1]。
\n");//打印$Cities[1]
?>
Statement: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