1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00

Use dedicated function for illegal offset type error

This commit is contained in:
George Peter Banyard
2020-07-02 02:29:47 +02:00
parent 5fc70243d7
commit 2297a6d364
+1 -1
View File
@@ -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;
}
}