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:
Jorg Sowa 2023-12-23 14:19:41 +01:00 committed by Ilija Tovilo
parent 92b9543ca9
commit 23afe57f01
No known key found for this signature in database
GPG key ID: A4F5D403F118200A
14 changed files with 564 additions and 15 deletions

View file

@ -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