]> granicus.if.org Git - php/commitdiff
Fix typo
authorAnton Vasiliev <aionbase@gmail.com>
Wed, 17 Feb 2021 22:50:00 +0000 (22:50 +0000)
committerGeorge Peter Banyard <girgias@php.net>
Thu, 18 Feb 2021 18:04:51 +0000 (18:04 +0000)
Closes GH-6708

Signed-off-by: George Peter Banyard <girgias@php.net>
Zend/zend_exceptions.c

index 0026860ef8ca6db0c0b100fcbd28c3ad581f72af..af71ac7a6589b76681a99f5c7c6ef70f48d5050f 100644 (file)
@@ -100,7 +100,7 @@ void zend_exception_set_previous(zend_object *exception, zend_object *add_previo
        }
 
        ZEND_ASSERT(instanceof_function(add_previous->ce, zend_ce_throwable)
-               && "Previous execption must implement Throwable");
+               && "Previous exception must implement Throwable");
 
        ZVAL_OBJ(&pv, add_previous);
        ZVAL_OBJ(&zv, exception);