This commit is contained in:
Daniil Gentili 2023-11-21 20:18:47 +01:00
parent f621e60be6
commit 53d7249963
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,10 @@ use parking_lot::{const_rwlock, RwLock, RwLockReadGuard, RwLockWriteGuard};
use crate::boxed::ZBox;
#[cfg(php82)]
use crate::ffi::zend_atomic_bool_store;
use crate::ffi::{_zend_executor_globals, ext_php_rs_executor_globals, _sapi_globals_struct, ext_php_rs_sapi_globals, zend_ini_entry};
use crate::ffi::{
_sapi_globals_struct, _zend_executor_globals, ext_php_rs_executor_globals,
ext_php_rs_sapi_globals, zend_ini_entry,
};
use crate::types::{ZendHashTable, ZendObject};
/// Stores global variables used in the PHP executor.

View File

@ -238,7 +238,7 @@ impl ZendObjectHandlers {
let mut zv = Zval::new();
val.get(self_, &mut zv)?;
if zend_is_true(&mut zv) == 1 {
if zend_is_true(&zv) == 1 {
return Ok(1);
}
}