Re: [PHP-DEV] [RFC] [Discussion] Change the edge case of round()

2023-11-09 Thread Saki Takamachi
Hi Jordan, > I think this makes much more sense if PHP programmers had internal access > to the float type in PHP, but that's not the case. You cannot choose > between float representations, you cannot easily examine the mantissa bits > directly. In the absence of stuff like that, I think the

Re: [PHP-DEV] [STRAW POLL] [VOTE] Process resource to object migration

2023-11-09 Thread Máté Kocsis
Hi Internals, The vote was closed, and thanks to Derick's calculations, we have a winner: ProcessHandle. Thanks to everyone who participated in the vote! I think we should have a proper vote if this should go to 8.4 at all. I > would vote against this due to the BC break. I would be fine with

Re: [PHP-DEV] [RFC] [Discussion] Change the edge case of round()

2023-11-09 Thread Jordan LeDoux
On Mon, Oct 23, 2023 at 4:14 AM Saki Takamachi wrote: > Hi, internals > > I would like to start the discussion for my RFC "Change the edge case of > round()”. > https://wiki.php.net/rfc/change_the_edge_case_of_round < > https://wiki.php.net/rfc/adding_bcround_bcfloor_bcceil_to_bcmath> > >

Re: [PHP-DEV] Re: Passing null to parameter

2023-11-09 Thread Rowan Tommins
On 09/11/2023 14:58, Craig Francis wrote: We might as well make the PHP 9 upgrade as hard as possible, just to force a little bit of `strict_types=1` on everyone. Just to be clear, strict_types has nothing to do with this; changing it does not allow you to pass nulls to typed parameters,

[PHP-DEV] PHP 8.3.0RC6 available for testing

2023-11-09 Thread ericmann
PHP 8.3.0RC6 has just been released and may be downloaded from https://downloads.php.net/~eric/ Or use the git tag: php-8.3.0RC6 Windows binaries are available at: https://windows.php.net/qa/ Please test it carefully, and report any bugs at https://bugs.php.net/ The production-ready, general

Re: [PHP-DEV] Set register_argc_argv to Off by default

2023-11-09 Thread G. P. B.
On Wed, 8 Nov 2023 at 16:59, Thomas Chauchefoin < thomas.chauchef...@sonarsource.com> wrote: > Thank you for your early feedback on this suggestion. Without rushing > things, I assume that the next step for me would be to draft an RFC to > formalize this change? > The change seems to be

Re: [PHP-DEV] Re: Passing null to parameter

2023-11-09 Thread Kamil Tekiela
I don't think that would actually be wise. Automatic casting of null to other types is a handy feature and deprecating it brings no benefit to anyone. Instead, if you want, submit a proposal to reverse the direction. Make it so that null is cast to an appropriate type in params and return values.

[PHP-DEV] PHP 8.1.26RC1 Available for testing

2023-11-09 Thread Ben Ramsey
PHP 8.1.26RC1 has just been released and can be downloaded from: https://qa.php.net/ or https://downloads.php.net/~ramsey/ or use the git tag: php-8.1.26RC1 Windows binaries are available at https://windows.php.net/qa#php-8.1 Please test it carefully, and report any bugs to

[PHP-DEV] Re: Passing null to parameter

2023-11-09 Thread Craig Francis
On 29 Oct 2023, at 11:02, Craig Francis wrote: > I'm getting really annoyed at the "Passing null to parameter" problem, As I'm getting the usual negative response (-3), should I write an RFC to deprecate NULL coercion in all contexts? At the moment it's weird that `print($nullable)` isn't

[PHP-DEV] PHP 8.2.13RC1 available for testing

2023-11-09 Thread Sergey Panteleev
PHP 8.2.13RC1 has just been released and can be downloaded from: https://downloads.php.net/~sergey/ or https://qa.php.net/ or use the git tag: php-8.2.13RC1 Windows binaries are available at: https://windows.php.net/qa/#php-8.2 Please test it carefully, and report any bugs to