From daa3095e496eeb084b1028b8aeb7748fd8c4c755 Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Thu, 28 Nov 2024 20:21:55 +0100 Subject: [PATCH] fix(type): fix cfg for 8.4 Refs: 331 --- src/zend/_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zend/_type.rs b/src/zend/_type.rs index 771851449..825ee2bba 100644 --- a/src/zend/_type.rs +++ b/src/zend/_type.rs @@ -83,7 +83,7 @@ impl ZendType { flags |= _ZEND_TYPE_NULLABLE_BIT } cfg_if::cfg_if! { - if #[cfg(php83)] { + if #[cfg(not(any(php80, php81, php82)))] { flags |= crate::ffi::_ZEND_TYPE_LITERAL_NAME_BIT } else { flags |= crate::ffi::_ZEND_TYPE_NAME_BIT