Skip to content

Commit

Permalink
fix(type): fix cfg for 8.4
Browse files Browse the repository at this point in the history
Refs: 331
  • Loading branch information
Xenira committed Jan 9, 2025
1 parent f0e446b commit daa3095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zend/_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit daa3095

Please sign in to comment.