diff options
author | Dmitry Stogov <dmitry@php.net> | 2005-09-19 17:50:24 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2005-09-19 17:50:24 +0000 |
commit | 9d3ac927299ce9b36c641c4bfe30c6b5fe65d1bb (patch) | |
tree | ce0b2d918be190f152242bbc76072f01f6ff4fcb /Zend/zend_execute.h | |
parent | 0ce74871107d833c708a6fa5e964d26c8a1d6472 (diff) | |
download | php-git-9d3ac927299ce9b36c641c4bfe30c6b5fe65d1bb.tar.gz |
MFH (removed unnecesary call to zval_ptr_dtor)
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r-- | Zend/zend_execute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index 9aa0ea4398..c388e37e17 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -102,7 +102,7 @@ static inline int i_zend_is_true(zval *op) if (Z_OBJ_HT_P(op)->cast_object) { zval tmp; - if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL, 1 TSRMLS_CC) == SUCCESS) { + if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL, 0 TSRMLS_CC) == SUCCESS) { result = Z_LVAL(tmp); break; } |