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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user