This function called var_dump is basically used for displaying the value and type of one or more variables.
In my definition i simply define as "Var_dump=(value+type)"
Now,let see the syntax of var_dump.
Syntax-var_dump(variable1,variable2,.....nntimes);
For Example--In this i am using one float value and one boolean value ..
/* Float=2.5 & Boolean=True */
<?php
$a=2.5;
$b=true;
var_dump($a,$b);
?>
Output : float(2.5)
bool(true)
Second Example-
Posted by Amit Tiwari
@Facebook
In my definition i simply define as "Var_dump=(value+type)"
Now,let see the syntax of var_dump.
Syntax-var_dump(variable1,variable2,.....nntimes);
For Example--In this i am using one float value and one boolean value ..
/* Float=2.5 & Boolean=True */
<?php
$a=2.5;
$b=true;
var_dump($a,$b);
?>
Output : float(2.5)
bool(true)
Second Example-
Posted by Amit Tiwari
No comments:
Post a Comment