Re: [PHP-DEV] [RFC][Discussion] Raising zero to the power of negative number

2024-01-12 Thread Jorg Sowa
Thank you for the suggestions. I agree that error message should be more
meaningful. I changed it.

The main driver of this change is to match the division by zero behavior
for both operators which can operate on both integers and floats. Would it
make sense to create a function `fpow` similarly to `fdiv` for the correct
IEEE 754 logic?

Kind regards,
Jorg


Re: [PHP-DEV] Re: [RFC] [VOTE] Improve callbacks in ext/dom and ext/xsl

2024-01-12 Thread Frederik Bosch

On 11-01-2024 19:38, Niels Dossche wrote:

On 21/12/2023 17:52, Niels Dossche wrote:

Hi internals

I'm opening the vote for my RFC "Improve callbacks in ext/dom and ext/xsl".
Link: https://wiki.php.net/rfc/improve_callbacks_dom_and_xsl

The voting will run for three weeks, i.e. until 2024-01-11 18:00 GMT+2.

Kind regards
Niels

Hi internals

The RFC was accepted.
Vote "Accept the proposed changes to registerPhpFunctions in ext/dom and 
ext/xsl?" was accepted with 15 yes 0 no.
Vote "Add registerPhpFunctionNS to ext/dom and ext/xsl? " was accepted with 13 
yes 0 no.

Thanks to everyone who participated.

Kind regards
Niels



Hi Niels,
Great work, thanks for embedding my suggestion!
Regards,
Frederik

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php