php输出流
$a=array("a"=>'apple','b'=>'banana','c'=>array('x','y','z'));
echo或print输出结果:
Array
print_r输出结果:
Array
(
[a]=>apple
[b]=>banana
[c]=>Array
(
[0]=>x
[1]=>y
[2]=>z
)
)
var_dump输出结果:
array(3){
["a"]=>string(5) "apple"
["b"]=>string(6) "banana"
["c"]=>array(3){
[0]=>string(1) "x"
[1]=>string(1) "y"
[2]=>string(1) "z"
}
}