Skip to content

Commit 16cf1b9

Browse files
committed
compare_function() returns zend_result
1 parent 058756b commit 16cf1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_operators.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static zend_always_inline bool i_zend_is_true(zval *op)
405405

406406
ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2);
407407

408-
ZEND_API int ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
408+
ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
409409

410410
ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2);
411411
ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, zend_bool case_insensitive);

0 commit comments

Comments
 (0)