File tree 2 files changed +5
-5
lines changed
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 @@ -349,13 +349,13 @@ static zend_always_inline bool try_convert_to_string(zval *op) {
349
349
#define convert_to_string (op ) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }
350
350
351
351
352
- ZEND_API int ZEND_FASTCALL zend_is_true (zval * op );
353
- ZEND_API bool ZEND_FASTCALL zend_object_is_true (zval * op );
352
+ ZEND_API int ZEND_FASTCALL zend_is_true (const zval * op );
353
+ ZEND_API bool ZEND_FASTCALL zend_object_is_true (const zval * op );
354
354
355
355
#define zval_is_true (op ) \
356
356
zend_is_true(op)
357
357
358
- static zend_always_inline bool i_zend_is_true (zval * op )
358
+ static zend_always_inline bool i_zend_is_true (const zval * op )
359
359
{
360
360
bool result = 0 ;
361
361
You can’t perform that action at this time.
0 commit comments