PHP var_dumpfunction is to determine the type and length of a variable, and to output the value of the variable, if the variable has a value to lose is the values of the variable and return data type.
Let's take a look at Var_dump syntax:
Copy CodeThe code is as follows:
Var_dump (Var,var,bar);
Let's take a look at one of my examples just now.
Copy CodeThe code is as follows:
$ta = 1;
$TB = ' t ';
Echo Var_dump ($ta, $TB);
?>
Output to
Copy CodeThe code is as follows:
Int (1) string (1) "T"
The first is a number, which is int (1)
Simple, but note that the variables inside the var_dump must be present, and if the variable exists but the value is empty, it will return false;
What does the Php:var_dump () function do?
such as Var_dump ($get); What do you mean?
==========================================
This function displays structure information about one or more expressions, including the type and value of the expression.
http://www.bkjia.com/PHPjc/327318.html www.bkjia.com true http://www.bkjia.com/PHPjc/327318.html techarticle php var_dump function is to determine the type and length of a variable, and output the value of the variable, if the variable has a value to lose is the value of the variable and return data type. Take a look at Var_dump syntax: Copy ...