?php$array = array("a", "b","c");//定义数组$array[] = "Simon";//增加一个新的数组元素print_r($array);//输出数组? ?php$array = array("a", "b","c");//定义数组$array[9] = "Simon";//增加一个新的数组元素print_r($array);//输出数组? ?php//创建一个
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