mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-26 20:15:22 +01:00
parent
705be68882
commit
910400a1b2
@ -259,7 +259,7 @@ impl Zval {
|
||||
|
||||
/// Returns true if the zval is true, false otherwise.
|
||||
pub fn is_true(&self) -> bool {
|
||||
self.get_type() == DataType::False
|
||||
self.get_type() == DataType::True
|
||||
}
|
||||
|
||||
/// Returns true if the zval is false, false otherwise.
|
||||
|
Loading…
Reference in New Issue
Block a user