php basics
PHP var_dump function
PHP var_dump function function is used to print variable associated message on the screen, for example, variable values, or of variable type, based on ships var_dump string variables and array variables , use is very simple, just to be printed Just fill in the var_dump function, and the function will output the result directly without return value.
Basic syntax of PHP var_dump function
void var_dump (mixed $expression [, mixed $...])
The $expression in var_dump syntax is the variable to be displayed. It is required. Fill in at least one variable at a time. If you fill in multiple variables, the var_dump function can still output the value and type of the variable smoothly.PHP var_dump function example
<?php
$EX_A = array(8,9,array('apple','orange'));
$EX_B = 6.8;
var_dump($EX_A,$EX_B);
?>
Sample output$EX_A = array(8,9,array('apple','orange'));
$EX_B = 6.8;
var_dump($EX_A,$EX_B);
?>

Post a Comment
0 Comments