File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2614,13 +2614,13 @@ ZEND_API zend_result ZEND_FASTCALL decrement_function(zval *op1) /* {{{ */
2614
2614
}
2615
2615
/* }}} */
2616
2616
2617
- ZEND_API int ZEND_FASTCALL zend_is_true (zval * op ) /* {{{ */
2617
+ ZEND_API int ZEND_FASTCALL zend_is_true (const zval * op ) /* {{{ */
2618
2618
{
2619
2619
return (int ) i_zend_is_true (op );
2620
2620
}
2621
2621
/* }}} */
2622
2622
2623
- ZEND_API bool ZEND_FASTCALL zend_object_is_true (zval * op ) /* {{{ */
2623
+ ZEND_API bool ZEND_FASTCALL zend_object_is_true (const zval * op ) /* {{{ */
2624
2624
{
2625
2625
zend_object * zobj = Z_OBJ_P (op );
2626
2626
zval tmp ;
Original file line number Diff line number Diff line change @@ -362,13 +362,13 @@ static zend_always_inline bool try_convert_to_string(zval *op) {
362
362
#define convert_to_string (op ) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
363
363
364
364
365
- ZEND_API int ZEND_FASTCALL zend_is_true (zval * op );
366
- ZEND_API bool ZEND_FASTCALL zend_object_is_true (zval * op );
365
+ ZEND_API int ZEND_FASTCALL zend_is_true (const zval * op );
366
+ ZEND_API bool ZEND_FASTCALL zend_object_is_true (const zval * op );
367
367
368
368
#define zval_is_true (op ) \
369
369
zend_is_true(op)
370
370
371
- static zend_always_inline bool i_zend_is_true (zval * op )
371
+ static zend_always_inline bool i_zend_is_true (const zval * op )
372
372
{
373
373
bool result = 0 ;
374
374
You can’t perform that action at this time.
0 commit comments