mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Added deprecation Division by zero when using power with zero as base and negative exponent
RFC: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number Closes GH-13128
This commit is contained in:
parent
92b9543ca9
commit
23afe57f01
14 changed files with 564 additions and 15 deletions
|
@ -3274,6 +3274,11 @@ function fmod(float $num1, float $num2): float {}
|
|||
*/
|
||||
function fdiv(float $num1, float $num2): float {}
|
||||
|
||||
/**
|
||||
* @compile-time-eval
|
||||
*/
|
||||
function fpow(float $num1, float $num2): float {}
|
||||
|
||||
/* microtime.c */
|
||||
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue