]> granicus.if.org Git - php/commitdiff
- Fix typos
authorAndi Gutmans <andi@php.net>
Thu, 24 Mar 2005 01:11:35 +0000 (01:11 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 24 Mar 2005 01:11:35 +0000 (01:11 +0000)
main/main.c

index 28dbdc265a4e63eb28650442d57a6b26d70ddfac..8e491251bc5a2765c849da69e93173037ae3d34e 100644 (file)
@@ -662,11 +662,11 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
                                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);