- var_dump: documentation ( source)
- ini_set: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
$input = array();
if ( empty( $input['foo'] ) ) {
var_dump( "empty" );
} else {
var_dump( "error" );
}