public getErrorMessages ( ) : string | ||
Результат | string |
public function getErrorMessages()
{
$retval = '';
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
$retval .= $GLOBALS['error_handler']->getDispErrors();
}
/**
* Report php errors
*/
$GLOBALS['error_handler']->reportErrors();
return $retval;
}