[PHP-DEV] [RFC idea introduce] The issue where the __callStatic magic method is not called when statically calling a public method.

2024-03-27 Thread 하늘아부지
Hi. I would like to register an RFC on the following issue. https://github.com/php/php-src/issues/13813 To summarize briefly, users expect that the `__callStatic` magic method will be called in all cases when a method is not static while using the `__callStatic`. However, in reality, if the metho

Re: [PHP-DEV][RFC] grapheme cluster for str_split, grapheme_str_split function

2024-03-27 Thread Rowan Tommins [IMSoP]
On 26/03/2024 21:14, Casper Langemeijer wrote: If you need someone to help for the grapheme_ marketing team, let me know. I think a big part of the problem is that very few people dig into the complexities of text encoding, and so don't know that a "grapheme" is what they're looking for. Un

Re: [PHP-DEV] GitHub milestones

2024-03-27 Thread Ilija Tovilo
Hi Jakub On Wed, Mar 27, 2024 at 4:55 PM Jakub Zelenka wrote: > > We actually decided not to do it for 8.3 because it would be just waste of > time to set all PR's with that milestone. The thing is that PR should just > get merged when it's ready and we won't be delaying release because some PR

Re: [PHP-DEV] Request for RFC karma

2024-03-27 Thread Ilija Tovilo
Hi! On Wed, Mar 27, 2024 at 12:59 PM 하늘아부지 wrote: > > I request RFC karma to discuss the issue at this link. > https://github.com/php/php-src/issues/13813 > > Wiki account : daddyofsky Either somebody beat me to it, or you already had RFC privileges. Note that step 1 in the RFC process suggests

Re: [PHP-DEV] GitHub milestones

2024-03-27 Thread Jakub Zelenka
Hi, On Wed, Mar 27, 2024 at 3:26 PM Ilija Tovilo wrote: > Hi Peter > > On Wed, Mar 27, 2024 at 9:44 AM Peter Kokot wrote: > > > > I was wondering if it would be useful to add GitHub milestones for the > PHP-8.4 and PHP-9.0 (or PHP-next or something like this)? > > https://github.com/php/php-src

Re: [PHP-DEV] GitHub milestones

2024-03-27 Thread Ilija Tovilo
Hi Peter On Wed, Mar 27, 2024 at 9:44 AM Peter Kokot wrote: > > I was wondering if it would be useful to add GitHub milestones for the > PHP-8.4 and PHP-9.0 (or PHP-next or something like this)? > https://github.com/php/php-src/milestones > > Because some pull requests might target versions afte

[PHP-DEV] Request for RFC karma

2024-03-27 Thread 하늘아부지
Hi. I request RFC karma to discuss the issue at this link. https://github.com/php/php-src/issues/13813 Wiki account : daddyofsky Regards.

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-27 Thread Saki Takamachi
Hi Aleksander, > If you write it as: > > $result = $num->withScale(4)->add($num2); > > it's not an extra line anymore. I also think that withScale() use will be > rare, as we have the scale in constructor. > > I think the intention is more clear here, and I think it applies to all cases > you

[PHP-DEV] GitHub milestones

2024-03-27 Thread Peter Kokot
Hello, I was wondering if it would be useful to add GitHub milestones for the PHP-8.4 and PHP-9.0 (or PHP-next or something like this)? https://github.com/php/php-src/milestones Because some pull requests might target versions after the PHP-8.4 and it might be useful to have them additionally sor

Re: [PHP-DEV] base64_encode without padding

2024-03-27 Thread Remi Collet
Le 13/03/2024 à 17:06, Remi Collet a écrit :   PHPAPI extern zend_string *php_base64_encode_ex     (const unsigned char *, size_t, zend_long flags); This is done in master No change in user-land and no plan from me. Remi

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-27 Thread Aleksander Machniak
On 27.03.2024 01:03, Saki Takamachi wrote: $num = new BcNum('1.23', 2); $result = $num + '1.23456'; $result->value; // '2.46456' $result->scale; // ?? In this case, `$result->scale` will be `'5'`. I added this to the RFC. I'm not sure I like this. Maybe we should be more strict here and treat