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

index 715b8e5da67e409c44a0da4c45e5e6dff5baf1e9..e310abd7c44428a0b9b4df1f3b93c80a40706b53 100644 (file)
@@ -659,11 +659,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_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC);