Anonymous user / 3.16.83.150 Log In Register
?
Wallet: 3.00
Daily Credits:
1.20 / 1.20

PHP Functions Online


var_dump

(PHP 4, PHP 5)

var_dumpDumps information about a variable

void var_dump(mixed $expression[, mixed $...])

Checkout ? #

Item Description Item Price Your Price
Total

Preview #

${{ variable.param.name }} = {{ variable.param|getValue:variable.form:true }};
{{ call.result}} = ;

Description #

void var_dump ( mixed $expression [, mixed $... ] )

Parameters #

expression

The variable you want to dump.

...

Return Values #

No value is returned.

Examples #

Example #1 var_dump() example

<?php
$a 
= array(12, array("a""b""c"));
var_dump($a);
?>

The above example will output:

array(3) {
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  array(3) {
    [0]=>
    string(1) "a"
    [1]=>
    string(1) "b"
    [2]=>
    string(1) "c"
  }
}
<?php

$b 
3.1;
$c true;
var_dump($b$c);

?>

The above example will output:

float(3.1)
bool(true)

See Also #