summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2005-03-24 01:11:11 (GMT)
committerAndi Gutmans <andi@php.net>2005-03-24 01:11:11 (GMT)
commitb6554f5ad71abc4879bcb7f81f77e55c91c36deb (patch)
treee1db042db49079d9a5889d2c8db228a0c98dbfc2 /main
parent76e07faf8731cf8013724a64d53236b97c938714 (diff)
downloadphp-b6554f5ad71abc4879bcb7f81f77e55c91c36deb.tar.gz
- Fix typos
Diffstat (limited to 'main')
-rw-r--r--main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 715b8e5..e310abd 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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);