<?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) );
You have javascript disabled. You will not be able to edit any code.