mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-12-02 09:37:51 +01:00
Fixup
This commit is contained in:
parent
f621e60be6
commit
53d7249963
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user