tryphp_func_var_var_dump.php:
"; $b = "Hello world!"; echo var_dump($b) . "
"; $c = 32.5; echo var_dump($c) . "
"; $d = array("red", "green", "blue"); echo var_dump($d) . "
"; $e = array(32, "Hello world!", 32.5, array("red", "green", "blue")); echo var_dump($e) . "
"; // Dump two variables echo var_dump($a, $b) . "
"; ?>
int(32)
string(12) "Hello world!"
float(32.5)
array(3) { [0]=> string(3) "red" [1]=> string(5) "green" [2]=> string(4) "blue" }
array(4) { [0]=> int(32) [1]=> string(12) "Hello world!" [2]=> float(32.5) [3]=> array(3) { [0]=> string(3) "red" [1]=> string(5) "green" [2]=> string(4) "blue" } }
int(32) string(12) "Hello world!"