- ini_set: documentation ( source)
- error_reporting: documentation ( source)
<?php
ini_set('display_errors', 'on');
error_reporting(-1);
function echoIsSet(&$var) {
if(isset($var)) { echo $var; }
}
$exist = "hi";
echoIsSet($exist);
echoIsSet($notexist);