@@ -1592,7 +1592,7 @@ static inline bool class_name_refers_to_active_ce(zend_string *class_name, uint3
1592
1592
}
1593
1593
/* }}} */
1594
1594
1595
- uint32_t zend_get_class_fetch_type (zend_string * name ) /* {{{ */
1595
+ uint32_t zend_get_class_fetch_type (const zend_string * name ) /* {{{ */
1596
1596
{
1597
1597
if (zend_string_equals_literal_ci (name , "self" )) {
1598
1598
return ZEND_FETCH_CLASS_SELF ;
@@ -8500,7 +8500,7 @@ static bool zend_try_ct_eval_magic_const(zval *zv, zend_ast *ast) /* {{{ */
8500
8500
}
8501
8501
/* }}} */
8502
8502
8503
- ZEND_API bool zend_is_op_long_compatible (zval * op )
8503
+ ZEND_API bool zend_is_op_long_compatible (const zval * op )
8504
8504
{
8505
8505
if (Z_TYPE_P (op ) == IS_ARRAY ) {
8506
8506
return false;
@@ -8522,7 +8522,7 @@ ZEND_API bool zend_is_op_long_compatible(zval *op)
8522
8522
return true;
8523
8523
}
8524
8524
8525
- ZEND_API bool zend_binary_op_produces_error (uint32_t opcode , zval * op1 , zval * op2 ) /* {{{ */
8525
+ ZEND_API bool zend_binary_op_produces_error (uint32_t opcode , const zval * op1 , const zval * op2 ) /* {{{ */
8526
8526
{
8527
8527
if ((opcode == ZEND_CONCAT || opcode == ZEND_FAST_CONCAT )) {
8528
8528
/* Array to string warning. */
@@ -8595,7 +8595,7 @@ static inline bool zend_try_ct_eval_binary_op(zval *result, uint32_t opcode, zva
8595
8595
}
8596
8596
/* }}} */
8597
8597
8598
- ZEND_API bool zend_unary_op_produces_error (uint32_t opcode , zval * op )
8598
+ ZEND_API bool zend_unary_op_produces_error (uint32_t opcode , const zval * op )
8599
8599
{
8600
8600
if (opcode == ZEND_BW_NOT ) {
8601
8601
/* BW_NOT on string does not convert the string into an integer. */
0 commit comments