Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- More object junk

  • Loading branch information...
commit 51b92451d01fca89071b4fc46c1e5c36ea671186 1 parent c259cb7
@andigutmans andigutmans authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Zend/zend_execute.h
View
3  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;
Please sign in to comment.
Something went wrong with that request. Please try again.