Skip to content

Commit e789183

Browse files
committed
ext/standard: Sync parameter names for fpow() to be identical to pow()
Closes phpGH-16751
1 parent 883d3c8 commit e789183

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ PHP NEWS
1717
- PDO:
1818
. Fixed memory leak of `setFetchMode()`. (SakiTakamachi)
1919

20+
- Standard:
21+
. Fixed parameter names of fpow() to be identical to pow(). (Girgias)
22+
2023
07 Nov 2024, PHP 8.4.0RC4
2124

2225
- BcMath:

ext/standard/basic_functions.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3276,7 +3276,7 @@ function fdiv(float $num1, float $num2): float {}
32763276
/**
32773277
* @compile-time-eval
32783278
*/
3279-
function fpow(float $num1, float $num2): float {}
3279+
function fpow(float $num, float $exponent): float {}
32803280

32813281
/* microtime.c */
32823282

ext/standard/basic_functions_arginfo.h

+5-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)