- var_dump: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(-1);
$null = null;
$arr = array();
$str = '';
$int = 0;
$dbl = 0.0;
$bool = false;
$obj = new stdClass();
var_dump(
empty($null),
empty($arr),
empty($str),
empty($int),
empty($dbl),
empty($bool),
empty($obj)
);