diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-27 14:27:46 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-30 11:35:07 +0200 |
commit | 01fc1a3057aee89a581cb4fa8a49412f271ab818 (patch) | |
tree | 850879b36894e3e79a282ca8893f26369cf937e9 /Zend/zend_type_info.h | |
parent | 7e776175337432ce04d24a8474ff45bc3a3c9453 (diff) | |
download | php-git-01fc1a3057aee89a581cb4fa8a49412f271ab818.tar.gz |
Remove most uses of the ERROR type
It is now only used to signal exceptions for property reads. ERROR
zvals are never returned back to the VM anymore, so there's no
need to check for them when receiving a VAR.
Also return MAY_BE_ERROR, as ERROR is now no longer relevant for
inference.
Diffstat (limited to 'Zend/zend_type_info.h')
-rw-r--r-- | Zend/zend_type_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_type_info.h b/Zend/zend_type_info.h index c991fd5db5..9479d5aad2 100644 --- a/Zend/zend_type_info.h +++ b/Zend/zend_type_info.h @@ -57,7 +57,7 @@ #define MAY_BE_ARRAY_KEY_STRING (1<<26) #define MAY_BE_ARRAY_KEY_ANY (MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_KEY_STRING) -#define MAY_BE_ERROR (1<<27) +/* Bit 27 unused */ #define MAY_BE_CLASS (1<<28) #endif /* ZEND_TYPE_INFO_H */ |