Skip to content

Commit 91b20b4

Browse files
committed
fix(type): fix cfg for 8.4
Refs: 331
1 parent 7908a55 commit 91b20b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zend/_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl ZendType {
8383
flags |= _ZEND_TYPE_NULLABLE_BIT
8484
}
8585
cfg_if::cfg_if! {
86-
if #[cfg(php83)] {
86+
if #[cfg(not(any(php80, php81, php82)))] {
8787
flags |= crate::ffi::_ZEND_TYPE_LITERAL_NAME_BIT
8888
} else {
8989
flags |= crate::ffi::_ZEND_TYPE_NAME_BIT

0 commit comments

Comments
 (0)