com php-src: Added TSRMLS_CC to zend_is_true() calls: ext/spl/spl_array.c
| From: | Tjerk Anne Meesters | Date: | Tue, 25 Mar 2014 11:05:43 +0000 |
| Subject: | com php-src: Added TSRMLS_CC to zend_is_true() calls: ext/spl/spl_array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76598@lists.php.net to get a copy of this message | ||
Commit: 4cb19f0a0f0e87adb492f8c0bbdc516928ab9afd
Author: Tjerk Meesters <datibbaw@php.net> Tue, 25 Mar 2014 19:05:43 +0800
Parents: 6018c47a28a3eedc2c4ee9b8b39412327880784c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4cb19f0a0f0e87adb492f8c0bbdc516928ab9afd
Log:
Added TSRMLS_CC to zend_is_true() calls
Changed paths:
M ext/spl/spl_array.c
Diff:
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
index 0611cfe..3e97e94 100644
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -601,7 +601,7 @@ static int spl_array_has_dimension_ex(int check_inherited, zval *object, zval *o
zend_call_method_with_1_params(&object, Z_OBJCE_P(object), &intern->fptr_offset_has,
"offsetExists", &rv, offset_tmp);
zval_ptr_dtor(&offset_tmp);
- if (rv && zend_is_true(rv)) {
+ if (rv && zend_is_true(rv TSRMLS_CC)) {
zval_ptr_dtor(&rv);
if (check_empty == 2) {
return 1;
@@ -664,7 +664,7 @@ static int spl_array_has_dimension_ex(int check_inherited, zval *object, zval *o
case 2:
return 1;
case 1:
- return zend_is_true(value);
+ return zend_is_true(value TSRMLS_CC);
}
return 0;