break;
case E_NOTICE:
case E_USER_NOTICE:
- /* notices are no errors and are not treated as such like E_WARNIGNS */
+ /* notices are no errors and are not treated as such like E_WARNINGS */
break;
default:
/* throw an exception if we are in EH_THROW mode
- * but DO NOT overwrite a pending excepption
+ * but DO NOT overwrite a pending exception
*/
if (PG(error_handling) == EH_THROW && !EG(exception)) {
zend_throw_exception(PG(exception_class), buffer, 0 TSRMLS_CC);