Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API

2024-07-22 Thread ignace nyamagana butera
> Hi Máté > > Something that I thought about lately is how the existing URL parser in PHP is used in various different places. > So for example, in the http fopen wrapper or in the filter extension we rely on the built-in URL parser. > I think it would be beneficial if a URL parser was "pluggable"

[PHP-DEV] Re: bcmod() behavior is different from what I expected

2024-07-22 Thread Saki Takamachi
>> Hi internals, >> >> I noticed that `bcmod()` behavior is a little different from what I expected. >> >> First, look at the following code for `bcdiv()`: >> ``` >> bcdiv('99', '100', 2); // '0.99' >> ``` >> >> So what should the following code be? >> ``` >> bcmod('99', '100', 2); >> ``` >> >

[PHP-DEV] Re: bcmod() behavior is different from what I expected

2024-07-22 Thread Saki Takamachi
> Hi internals, > > I noticed that `bcmod()` behavior is a little different from what I expected. > > First, look at the following code for `bcdiv()`: > ``` > bcdiv('99', '100', 2); // '0.99' > ``` > > So what should the following code be? > ``` > bcmod('99', '100', 2); > ``` > > The result is

[PHP-DEV] bcmod() behavior is different from what I expected

2024-07-22 Thread Saki Takamachi
Hi internals, I noticed that `bcmod()` behavior is a little different from what I expected. First, look at the following code for `bcdiv()`: ``` bcdiv('99', '100', 2); // '0.99' ``` So what should the following code be? ``` bcmod('99', '100', 2); ``` The result is `'99.00'`. I was expecting `'0

Re: [PHP-DEV] [RFC] Asymmetric Visibility, v2

2024-07-22 Thread Tim Düsterhus
Hi On 7/20/24 03:14, Larry Garfield wrote: Baring any new developments, we plan to start the vote early next week. I've went through the RFC once more. I have the following remarks: For that reason, a private(set) property is automatically final and may not be redeclared at all. I assume

Re: [PHP-DEV] [RFC] Asymmetric Visibility, v2

2024-07-22 Thread Larry Garfield
On Sun, Jul 21, 2024, at 2:45 PM, Tim Düsterhus wrote: > Hi > > On 7/20/24 03:14, Larry Garfield wrote: >> We've made one change since we last discussed it: Specifically, Ilija >> realized that __set's behavior is already inconsistent, so supporting it for >> aviz properties with invisible set w

Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4

2024-07-22 Thread Derick Rethans
On Fri, 19 Jul 2024, Gina P. Banyard wrote: > Hello internals, > > I have opened the vote for the mega deprecation RFC: > https://wiki.php.net/rfc/deprecations_php_8_4 > > Reminder, each vote must be submitted individually. I have voted no for a few, as they had no impact assesment at all: - D

[PHP-DEV] Re: Json error - better message

2024-07-22 Thread juan carlos morales
El El mar, 16 jul 2024 a la(s) 1:51 p. m., juan carlos morales < dev.juan.mora...@gmail.com> escribió: > Hello Internals again: > > I created this pull request: > > https://github.com/php/php-src/pull/14672 > > To have better error messages when decoding a JSON in php using the > json_last_error_m

Re: [PHP-DEV] [RFC] Lazy Objects

2024-07-22 Thread Benjamin Außenhofer
Am 17.07.2024, 20:31:02 schrieb Nicolas Grekas : > Dear all, > > Le mar. 16 juil. 2024 à 17:51, Nicolas Grekas < > nicolas.grekas+...@gmail.com> a écrit : > >> Hi there, >> >> Le mar. 16 juil. 2024 à 10:13, Nicolas Grekas < >> nicolas.grekas+...@gmail.com> a écrit : >> >>> >>> >>> Le lun. 15 juil.

Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4

2024-07-22 Thread Jakub Zelenka
On Mon, Jul 22, 2024 at 11:59 AM Jakub Zelenka wrote: > I think we should also keep file_put_contents array argument as it might > actually be used with iovec in the future which could be a significant > optimization - need to check details if that would work but if it does, it > could be a prett

Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4

2024-07-22 Thread Jakub Zelenka
Hi, On Fri, Jul 19, 2024 at 6:42 PM Gina P. Banyard wrote: > Hello internals, > > I have opened the vote for the mega deprecation RFC: > https://wiki.php.net/rfc/deprecations_php_8_4 > > Reminder, each vote must be submitted individually. > > > Just wanted to send some reasoning of my no votes.

Re: [PHP-DEV] Website php.net updates and coordination

2024-07-22 Thread Derick Rethans
(Follow ups to this should probably go to php-webmas...@lists.php.net only, and no longer internals@) On Thu, 11 Jul 2024, Jim Winstead wrote: > On Thu, Jul 11, 2024, at 6:54 AM, Derick Rethans wrote: > > > > It is the RMs: https://github.com/orgs/php/teams/release-managers > > and web-team: ht