Home > Backend Development > PHP Tutorial > 为啥数组不会替换

为啥数组不会替换

WBOY
Release: 2016-06-13 12:47:13
Original
874 people have browsed it

为什么数组不会替换?

本帖最后由 KL998877321 于 2013-05-31 10:23:30 编辑 这样写简单好多。
$arr=array(3,4,5);
print_r($arr);
//输出345
echo "
";
$arr=array(3);
print_r($arr);
//输出3
?>
不是应该第二个结果应该也是3,4,5?
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