diff options
| author | Andi Gutmans <andi@php.net> | 2001-07-29 08:24:38 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2001-07-29 08:24:38 +0000 |
| commit | 51b92451d01fca89071b4fc46c1e5c36ea671186 (patch) | |
| tree | 0c0cce1b97eefcef390b5980c87c4189428ee80e | |
| parent | c259cb7c1a5b79e1770b9bf21d72f4f8e7d482ab (diff) | |
| download | php-git-51b92451d01fca89071b4fc46c1e5c36ea671186.tar.gz | |
- More object junk
| -rw-r--r-- | Zend/zend_execute.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index 5aebab318f..058b5d81e1 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -24,6 +24,7 @@ #include "zend_compile.h" #include "zend_hash.h" #include "zend_variables.h" +#include "zend_operators.h" typedef union _temp_variable { zval tmp_var; @@ -91,7 +92,7 @@ static inline int i_zend_is_true(zval *op) result = (zend_hash_num_elements(op->value.ht)?1:0); break; case IS_OBJECT: - result = (zend_hash_num_elements(op->value.obj.properties)?1:0); + result = (zend_hash_num_elements(Z_OBJPROP_P(op))?1:0); break; default: result = 0; |
