var_dump(PHP3>=3.0.5,PHP4,PHP5)var_dump -- PHP
var_dump
(PHP 3 >= 3.0.5,...PHP 4, PHP 5)
var_dump -- 打印变量的相关信息
描述
void
var_dump ( mixed expression [, mixed expression [, ...]...php
$a = array (1, 2, array ("a", "b", "c"));
var_dump ($a);
/* 输出:
array(3) {
[0]=>
int(1)...string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
}
*/
b = 3.1;c = TRUE; var_dump