Revision 148 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
Smarty::muteExpectedErrors()mutes expected warnings and notices deliberately generated by SmartyDescription===========stringmuteExpectedErrorsmuteExpectedErrors() registers a custom error handler using[set\_error\_handler()](https://www.php.net/set_error_handler). The errorhandler merely inspects `$errno` and `$errfile` to determine if thegiven error was produced deliberately and must be ignored, or should bepassed on to the next error handler.`Smarty::unmuteExpectedErrors()` removes the current error handler.Please note, that if you\'ve registered any custom error handlers afterthe muteExpectedErrors() call, the unmute will not remove Smarty\'smuting error handler, but the one registered last.