We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495de3c commit b822996Copy full SHA for b822996
ext/standard/math.c
@@ -1392,14 +1392,14 @@ PHP_FUNCTION(fdiv)
1392
/* {{{ Perform floating-point exponentiation with IEEE-754 semantics. */
1393
PHP_FUNCTION(fpow)
1394
{
1395
- double dividend, divisor;
+ double base, exponent;
1396
1397
ZEND_PARSE_PARAMETERS_START(2, 2)
1398
- Z_PARAM_DOUBLE(dividend)
1399
- Z_PARAM_DOUBLE(divisor)
+ Z_PARAM_DOUBLE(base)
+ Z_PARAM_DOUBLE(exponent)
1400
ZEND_PARSE_PARAMETERS_END();
1401
1402
- RETURN_DOUBLE(pow(dividend, divisor));
+ RETURN_DOUBLE(pow(base, exponent));
1403
}
1404
/* }}} */
1405
0 commit comments