<?php
$a
=
array
(
"a"
=>
"Cat"
,
"b"
=>
"Dog"
,
"c"
=>
"Horse"
);
// 输出:
// Array ( [0] => Cat [1] => Dog [2] => Horse )
?>
<?php
$a
=
array
(
"a"
=>
"Cat"
,
"b"
=>
"Dog"
,
"c"
=>
"Horse"
);
// 输出:
// Array ( [0] => Cat [1] => Dog [2] => Horse )
?>
转载于:https://www.cnblogs.com/pansidong/p/8933788.html