From 2297a6d364f68da0d59a9de165f3fabf74788545 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 2 Jul 2020 02:29:47 +0200 Subject: [PATCH] Use dedicated function for illegal offset type error --- Zend/zend_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 852c9b35e1..f6ca285a60 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -2599,7 +2599,7 @@ num_key: str = ZSTR_EMPTY_ALLOC(); goto str_key; } else { - zend_type_error("Illegal offset type"); + zend_illegal_offset(); return 0; } } -- 2.40.0