]> granicus.if.org Git - php/commitdiff
- Fixed bug #27391 (typo in Fatal Error message).
authorDerick Rethans <derick@php.net>
Wed, 25 Feb 2004 10:43:36 +0000 (10:43 +0000)
committerDerick Rethans <derick@php.net>
Wed, 25 Feb 2004 10:43:36 +0000 (10:43 +0000)
Zend/zend_exceptions.c

index cb87476a7546055ca16cfee4400bf61d130c4d5c..0ec4e0daf4114ae71a71889854ae5b0f9fb65afb 100644 (file)
@@ -563,7 +563,7 @@ ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC)
        exception_ce = Z_OBJCE_P(exception);
 
        if (!exception_ce || !instanceof_function(exception_ce, default_exception_ce TSRMLS_CC)) {
-               zend_error(E_ERROR, "Exceptions must valid objects that are derived from class Exception");
+               zend_error(E_ERROR, "Exceptions must be valid objects that are derived from class Exception");
        }
        zend_throw_exception_internal(exception TSRMLS_CC);
 }