Skip to content

Commit 14bcabe

Browse files
committed
Adjusted comment and indentation
1 parent 06113c2 commit 14bcabe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8981,7 +8981,7 @@ ZEND_API bool zend_binary_op_produces_error(uint32_t opcode, const zval *op1, co
89818981
return 1;
89828982
}
89838983
if ((opcode == ZEND_POW) && zval_get_long(op1) == 0 && zval_get_long(op2) < 0) {
8984-
/* 0 ** (<=0) throws a division by zero error. */
8984+
/* 0 ** (<0) throws a division by zero error. */
89858985
return 1;
89868986
}
89878987
if ((opcode == ZEND_SL || opcode == ZEND_SR) && zval_get_long(op2) < 0) {

Zend/zend_operators.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *o
13991399
return SUCCESS;
14001400
}
14011401

1402-
ZEND_ASSERT(0 && "Operation must succeed");
1402+
ZEND_ASSERT(0 && "Operation must succeed");
14031403
return FAILURE;
14041404
}
14051405
/* }}} */

0 commit comments

Comments
 (0)