File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2524,13 +2524,13 @@ ZEND_API ZEND_RESULT_CODE ZEND_FASTCALL decrement_function(zval *op1) /* {{{ */
2524
2524
}
2525
2525
/* }}} */
2526
2526
2527
- ZEND_API bool ZEND_FASTCALL zend_is_true (zval * op ) /* {{{ */
2527
+ ZEND_API int ZEND_FASTCALL zend_is_true (zval * op ) /* {{{ */
2528
2528
{
2529
2529
return i_zend_is_true (op );
2530
2530
}
2531
2531
/* }}} */
2532
2532
2533
- ZEND_API bool ZEND_FASTCALL zend_object_is_true (zval * op ) /* {{{ */
2533
+ ZEND_API int ZEND_FASTCALL zend_object_is_true (zval * op ) /* {{{ */
2534
2534
{
2535
2535
zend_object * zobj = Z_OBJ_P (op );
2536
2536
zval tmp ;
Original file line number Diff line number Diff line change @@ -341,15 +341,15 @@ static zend_always_inline zend_bool try_convert_to_string(zval *op) {
341
341
#define convert_to_string (op ) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
342
342
343
343
344
- ZEND_API bool ZEND_FASTCALL zend_is_true (zval * op );
345
- ZEND_API bool ZEND_FASTCALL zend_object_is_true (zval * op );
344
+ ZEND_API int ZEND_FASTCALL zend_is_true (zval * op );
345
+ ZEND_API int ZEND_FASTCALL zend_object_is_true (zval * op );
346
346
347
347
#define zval_is_true (op ) \
348
348
zend_is_true(op)
349
349
350
- static zend_always_inline bool i_zend_is_true (zval * op )
350
+ static zend_always_inline int i_zend_is_true (zval * op )
351
351
{
352
- bool result = 0 ;
352
+ int result = 0 ;
353
353
354
354
again :
355
355
switch (Z_TYPE_P (op )) {
You can’t perform that action at this time.
0 commit comments