初始化数组_PHP
- WBOYOriginal
- 2016-06-01 12:30:241122browse
初始化数组
$monthName = array(1=>"January", "February", "March",//初始化一个数组
"April", "May", "June", "July", "August",
"September", "October", "November", "December");
print(" 英语的“5月”是 $monthName[5] 。
\n");//打印数组中的第6个元素
?>
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