Re: [PHP-DEV] RFC proposal: worker mode primitives for SAPIs

2024-01-01 Thread Pierre Joye
On Mon, Jan 1, 2024, 6:18 PM Rowan Tommins wrote: > On 31 December 2023 16:31:31 GMT, Pierre Joye > wrote: > > >php handles this in threadsafe mode > > Depending on your exact definition of "php", this is either irrelevant or > just plain wrong. >

Re: [PHP-DEV] RFC proposal: worker mode primitives for SAPIs

2023-12-31 Thread Pierre Joye
hello, On Sun, Dec 31, 2023, 6:59 PM Rowan Tommins wrote: Then one of us is missing something very fundamental. As I understand it, > Swoole's model is similar to that popularised by node.js: a single thread > processes multiple incoming requests concurrently, using asynchronous I/O. The

Re: [PHP-DEV] RFC proposal: worker mode primitives for SAPIs

2023-12-25 Thread Pierre Joye
Hello, On Tue, Dec 26, 2023, 1:56 AM Jordan LeDoux wrote: > > So you want to introduce a SAPI that doesn't work with any of the existing > HTTP solutions people use that only supports HTTP requests? Or am I > misunderstanding something? > > This sounds a bit like you want to merge in a tool

Re: [PHP-DEV] New "PECL"

2023-12-11 Thread Pierre Joye
On Mon, Dec 11, 2023, 11:21 PM Larry Garfield wrote: > On Mon, Dec 11, 2023, at 9:46 AM, Derick Rethans wrote: > > > Yeah, I understand. And I feel the same. But if there is no registry (a > > goal), then there is no way to find out which of your extension version > > support a specific PHP

Re: [PHP-DEV] Filesystem path APIs

2023-12-08 Thread Pierre Joye
On Fri, Dec 8, 2023, 3:44 PM Max Semenik wrote: > On Wed, Dec 6, 2023 at 10:20 PM Niels Dossche > wrote: > > > Hi internals > > > > I'd like to start a pre-RFC discussion about filesystem path APIs in PHP. > > The reason I bring this up is because of this recent feature request: > >

Re: [PHP-DEV] New "PECL"

2023-12-07 Thread Pierre Joye
Hello Tim, On Wed, Dec 6, 2023 at 9:05 AM Tim Starling wrote: > Have you considered keeping the support matrix in the registry > database, instead of in pecl.json? Then it can be updated with new > build/test information after release. We do it for windows, used by pickle, you can see one part

Re: [PHP-DEV] New "PECL"

2023-12-05 Thread Pierre Joye
On Tue, Dec 5, 2023, 10:13 PM Pierre Joye wrote: > > > You may mention https://github.com/FriendsOfPHP/pickle > > which supports pecl.php.net pear format, composer like support, and > conversion to composer format. > > I did a website as well as a test bed and we had

Re: [PHP-DEV] New "PECL"

2023-12-05 Thread Pierre Joye
Hi Derick, On Tue, Dec 5, 2023, 8:45 PM Derick Rethans wrote: > Hi there! > > Within the PHP Foundation, we have been talking for a while as what to > do with PECL, and its website. > > The code is old, and hard to maintain. And the database is full of > mojibake. It is also an outdated method

Re: [PHP-DEV] Make PHP JIT to generate AVX2/AVX3 for performance improvement?

2023-10-31 Thread Pierre Joye
On Tue, Oct 31, 2023, 3:57 PM tag Knife wrote: > > Hi Guys, > > > > A quick question: is it possible to enable AVX2/AVX3 in PHP JIT generated > > code, and hence can get some performance improvement? > > Just check the community first: if anyone has already tried that or got > > some

Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

2023-10-12 Thread Pierre Joye
On Fri, Oct 13, 2023, 2:01 AM Jordan LeDoux wrote: > > > > I believe MPFR is what is used by ext-decimal. The only thing that makes > ext-decimal a somewhat difficult replacement for BCMath is that one of them > uses precision and the other uses scale. (Total accurate digits versus > total

Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

2023-10-12 Thread Pierre Joye
Hi Jordan On Fri, Oct 13, 2023, 1:24 AM Jordan LeDoux wrote: > > > On Thu, Oct 5, 2023 at 5:27 AM Saki Takamachi wrote: > >> Hi, Pierre >> >> In fact, I predict that many use cases will be covered by GMP. >> >> Still, I think that there may be cases where calculation functions like >>

Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

2023-10-04 Thread Pierre Joye
Hi On Wed, Oct 4, 2023, 6:39 PM Saki Takamachi wrote: > Hi, Marc, Pierre > > Thank you for all the information. > > After all, I feel that BCMath and GMP have different roles. > > Arbitrary precision mathematics and very high precision mathematics are > similar but distinctly different. > I

Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

2023-10-03 Thread Pierre Joye
On Tue, Oct 3, 2023, 4:13 PM Saki Takamachi wrote: > yes, they do, as do almost all floating points implementation. > > Memory limited float values and their respective operations are still > useful in many areas, but financial values and the likes. Scaled integers > are the way for accuracy. >

Re: [PHP-DEV] [RFC] [Discussion] Adding bcround, bcfloor and bcceil to BCMath

2023-10-03 Thread Pierre Joye
On Tue, Oct 3, 2023, 12:25 PM Saki Takamachi wrote: > > I thought GMP was a function for integers, so I wasn't expecting that tbh. > > However, even if GMP supported floating point numbers, wouldn't it end up > having the inherent error problem of floating point numbers? > yes, they do, as do

[PHP-DEV] Re: Security Audit Priorities

2023-09-30 Thread Pierre Joye
Hello, On Mon, Sep 25, 2023, 3:49 PM Derick Rethans wrote: > . > > Typical areas would be where user input can be (automatically read) > remotely, such as > our RFC 1867 HTTP header parser. But we are sure there are other > important areas as well, and we would like your input. > > So, if you

Re: [PHP-DEV] A new JIT engine for PHP-8.4/9

2023-09-17 Thread Pierre Joye
Hello :) Posting again, I just realized I used "reply" not "reply all" On Mon, Sep 11, 2023 at 4:29 PM Dmitry Stogov wrote: > > Hi internals, > > I'm glad to present a new JIT engine that is going to be used in the next > major PHP version. Now it's a real optimizing compiler with Intermediate

Re: [PHP-DEV] Future stability of PHP?

2023-04-12 Thread Pierre Joye
On Tue, Apr 11, 2023, 1:30 AM Deleu wrote: > > > I resent the sentiment of "if your code or development process was exactly > like mine you wouldn't be here complaining" and I believe nobody is asking > PHP to freeze. Not everyone has the ability to fix every deprecation within > a couple of

Re: [PHP-DEV] Future stability of PHP?

2023-04-10 Thread Pierre Joye
hello, On Sun, Apr 9, 2023, 1:37 AM Stephan Soller wrote: > Hello, > > I'm sorry if this isn't the correct mailing list for that discussion but I > couldn't find a more appropriate one where people actually know how the > wind is > blowing. > > A few days ago I migrated a project from PHP 7.1

Re: [PHP-DEV] Windows PECL build machine died

2023-02-18 Thread Pierre Joye
Hello, I wonder if we could not use on demand resources for the builds (like windows gh actions) and use the normal distribution mirrors setup? Pierre On Fri, Feb 17, 2023, 8:10 PM JEDI_BC / Bruno CHALOPIN wrote: > Hi > > On 11/07/2022 18:25, Christoph M. Becker wrote: > > On 11.07.2022 at

Re: [PHP-DEV] Methods which auto-return the class instance

2022-12-27 Thread Pierre Joye
On Fri, Dec 23, 2022, 7:46 PM joke2k wrote: > Thanks for the feedback! > > On Fri, 23 Dec 2022, 09:33 Claude Pache, wrote: > > > It is very common for fluent class methods to have a verbose `return > > $this;` ending in their body. > > But If you have declared `self` as return type into a

Re: [PHP-DEV] PHP Community to support Ukraine and help to stop Russian agression

2022-03-04 Thread Pierre Joye
On Sat, Mar 5, 2022, 10:31 AM Kris Craig wrote: > On Wed, Mar 2, 2022 at 4:51 AM Marco Pivetta wrote: > > > But that doesn't mean we should be using the PHP website to start taking > sides in military conflicts. > There is no side to take but the population in Ukraine, friends, family,

Re: [PHP-DEV] Github issues

2022-02-13 Thread Pierre Joye
On Mon, Feb 14, 2022 at 1:02 PM Marco Pivetta wrote: > > 1. You need to be part of https://github.com/orgs/php/people > 2. Your group must have issue triage rights Thanks Marco, I know what can be done in github, I do not know who I have to ping here to get that done as I cannot add myself to

[PHP-DEV] Github issues

2022-02-13 Thread Pierre Joye
Hi, What has to be done that the github issues can be handled by the same developers than in bugs.php.net? It is a bit weird that I cannot change status or anything else but add comments :) Best, -- Pierre @pierrejoye | http://www.libgd.org -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Multibyte strings

2022-02-11 Thread Pierre Joye
good morning, On Sat, Feb 12, 2022, 3:47 AM Rowan Tommins wrote: > On 11/02/2022 18:42, Michał wrote: > > Considering the given example, the description from the documentation > > of strlen function: "Returns the length of the given string". > > > Which is exactly what it does. Using Unicode

Re: [PHP-DEV] RFC [Discussion]: Redacting parameters in back traces

2022-01-11 Thread Pierre Joye
Hi Tim, On Tue, Jan 11, 2022 at 4:40 PM Tim Düsterhus, WoltLab GmbH wrote: > > Hi Pierre > > On 1/11/22 4:48 AM, Pierre Joye wrote: > > Also sensitive data goes way beyond arguments, GDPR brings a lot of > > issues here too. Userland packages like monolog provide filters

Re: [PHP-DEV] RFC [Discussion]: Redacting parameters in back traces

2022-01-10 Thread Pierre Joye
Good morning Tim, On Mon, Jan 10, 2022 at 9:06 PM Tim Düsterhus, WoltLab GmbH wrote: I am not sure it makes sense to make the code so verbose to prevent users from showing sensitive data as it never stops (next print_r/var_dump and userland version of them?). Also sensitive data goes way

Re: [PHP-DEV] (Planned) Straw poll: Naming pattern for `*Deque`

2022-01-10 Thread Pierre Joye
Hi Tyson, On Tue, Sep 21, 2021 at 9:19 AM tyson andre wrote: > > While there is considerable division in whether or not members of internals > want to adopt namespaces, > I hope that the final outcome of the poll will be accepted by members of > internals > as what the representative of the

Re: [PHP-DEV] [VOTE] User Defined Operator Overloads

2022-01-04 Thread Pierre Joye
Hi Nikita, On Tue, Jan 4, 2022 at 12:38 AM Nikita Popov wrote: > > On Mon, Jan 3, 2022 at 1:14 AM Jordan LeDoux > wrote: > > > Hello internals, > > > > I've opened voting on > > https://wiki.php.net/rfc/user_defined_operator_overloads. The voting will > > close on 2022-01-17. > > > > To review

Re: [PHP-DEV] Surveying interest regarding CMake

2022-01-03 Thread Pierre Joye
On Tue, Jan 4, 2022, 2:17 AM Pierre Joye wrote: > > > On Tue, Jan 4, 2022, 1:35 AM Horváth V. wrote: > >> On 2022. 01. 03. 18:17, Christoph M. Becker wrote: >> > Oh, that would be an issue. We can't use Cygwin builds; MinGW builds >> > might be okayish, t

Re: [PHP-DEV] Surveying interest regarding CMake

2022-01-03 Thread Pierre Joye
On Tue, Jan 4, 2022, 1:35 AM Horváth V. wrote: > On 2022. 01. 03. 18:17, Christoph M. Becker wrote: > > Oh, that would be an issue. We can't use Cygwin builds; MinGW builds > > might be okayish, though. ICU ships a VS solution file > > (source/allinone/allinone.sln) which works fine. I

Re: [PHP-DEV] Surveying interest regarding CMake

2021-12-31 Thread Pierre Joye
good evening Horváth, On Thu, Dec 30, 2021, 11:49 PM Horváth V. wrote: > Like I said in another e-mail, I wish to work on my host OS and this is > something that would need to be done either way. It won't take me long > either and PHP has been chugging along nicely so far without CMake. > >

Re: [PHP-DEV] Surveying interest regarding CMake

2021-12-30 Thread Pierre Joye
On Wed, Dec 29, 2021, 8:02 PM Christoph M. Becker wrote: > On 29.12.2021 at 13:38, Horváth V. wrote: > > > Just a quick update on this in between the holidays. > > > > There are indeed quite a few of the libraries provided in the php-src's > > Windows SDK that are missing from Conan Center

Re: [PHP-DEV] Drop support for libmysql with mysqli

2021-12-25 Thread Pierre Joye
On Sat, Dec 25, 2021, 10:29 PM Remi Collet wrote: > Le 24/12/2021 à 18:32, Kamil Tekiela a écrit : > > Hi Internals, > > > > I would like to propose dropping support for libmysql from mysqli and ask > > for opinions on how this could be best achieved. > > +1 to drop support for libmysql. > +1

Re: [PHP-DEV] Re: PHP-FPM process management woes

2021-12-22 Thread Pierre Joye
On Thu, Dec 23, 2021 at 5:32 AM Christoph M. Becker wrote: > > On 22.12.2021 at 22:44, Jakub Zelenka wrote: > > > After thinking about this a bit more I think we would still need some way > > to provide the current functionality of the MINIT if that's moved on child > > level. The problem with

Re: [PHP-DEV] Surveying interest regarding CMake

2021-12-21 Thread Pierre Joye
On Tue, Dec 21, 2021, 5:24 AM Christoph M. Becker wrote: > On 20.12.2021 at 23:01, Horváth V. wrote: > > > On 2021. 12. 20. 17:19, Pierre Joye wrote: > > > >> We may switch to vcpkg distributions, [...], or the current autoconf > >> php js port works too. >

Re: [PHP-DEV] Surveying interest regarding CMake

2021-12-21 Thread Pierre Joye
On Tue, Dec 21, 2021, 5:02 AM Horváth V. wrote: > On 2021. 12. 20. 17:19, Pierre Joye wrote: > > We may switch to vcpkg distributions, [...], or the current autoconf > > php js port works too. > > Could you elaborate on what you mean by these? > > The reason why I p

Re: [PHP-DEV] [RFC] User Defined Operator Overloads (v0.6)

2021-12-20 Thread Pierre Joye
On Tue, Dec 21, 2021, 6:37 AM Andreas Hennings wrote: > > In a class Matrix, you might want to implement three variations of the > * operator: > - Matrix * Matrix = Matrix. > - Matrix * float = Matrix. > - Matrix * Vector = Vector. > Same for other classes and operators: > - Money / float =

Re: [PHP-DEV] Surveying interest regarding CMake

2021-12-20 Thread Pierre Joye
On Fri, Dec 17, 2021, 10:23 PM Kalle Sommer Nielsen wrote: > Hi > > Den fre. 17. dec. 2021 kl. 01.09 skrev Horváth V. < > friendlyan...@hotmail.com>: > > Yes, gradually phasing the current build system out is the most > > pragmatic choice, although it will incur some extra maintenance cost for >

Re: [PHP-DEV] Re: Finishing AVIF support in getimagesize()

2021-12-08 Thread Pierre Joye
Good evening, On Wed, Dec 8, 2021, 6:40 PM Christoph M. Becker wrote: > On 01.12.2021 at 00:52, Ben Morss via internals wrote: > > l > > Thanks for your and your colleague's work! It's highly appreciated. > > Anyhow, a respective PR[1] has been submitted now, and I'm in favor of > bundling

Re: [PHP-DEV] Allowing NULL for some internal functions

2021-12-02 Thread Pierre Joye
On Thu, Dec 2, 2021, 10:20 PM Sara Golemon wrote: I'm not hard against this idea. The interpretation of null in these > contexts as being equivalent to empty string isn't unreasonable. I guess > the only objection I could have would be an academic one and I can't really > defend that. So

Re: [PHP-DEV] Fork microsoft/php-sdk-binary-tools to PHP org on GH

2021-12-01 Thread Pierre Joye
Hi Christoph, On Wed, Dec 1, 2021, 5:48 PM Christoph M. Becker wrote: > Hi all, > > since Microsoft won't support PHP 8 and beyond, it appears to be > reasonable to fork the microsoft/php-sdk-binary-tools[1] to the PHP org > account on Github. The PHP-SDK is required to build PHP on

Re: [PHP-DEV] Need Update regarding PHP Travis CI Execution

2021-11-25 Thread Pierre Joye
Hi Nikita, On Thu, Nov 25, 2021 at 3:47 PM Nikita Popov wrote: > Travis is working again. In the meantime, I asked AWS if it is ok to share GD's graviton box with php, all good. If we don't have one, happy to add you there. GH Actions already in place, only need to set up two accounts (I

Re: [PHP-DEV] Need Update regarding PHP Travis CI Execution

2021-11-24 Thread Pierre Joye
Hi Nikita, On Wed, Nov 24, 2021, 6:55 PM Nikita Popov wrote: > On Wed, Nov 24, 2021 at 12:42 PM Chandranana Naik < > chandranana.n...@ibm.com> > wrote: > > > > > Hi Team, > > > > Recently Travis builds have stopped running for PHP. > > We only see Cirrus and appveyor CI builds, however

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-16 Thread Pierre Joye
On Tue, Nov 16, 2021 at 4:11 PM Lynn wrote: > > > > On Tue, Nov 16, 2021 at 4:52 AM Pierre Joye wrote: >> >> >> My vote will change to yes as soon as the change is an opt-in instead of an >> opt-out for the 8.x lifetime. >> > > What is the

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-15 Thread Pierre Joye
Hi, On Tue, Nov 16, 2021, 4:40 AM Matthew Brown wrote: > On Fri, 12 Nov 2021 at 08:08, Nikita Popov wrote: > > > Hi internals, > > > > I've opened the vote on > > https://wiki.php.net/rfc/deprecate_dynamic_properties. Voting will close > > 2021-11-26. > > > > Regards, > > Nikita > > > > > I

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-14 Thread Pierre Joye
On Sun, Nov 14, 2021, 11:42 PM Rowan Tommins wrote: > On 14/11/2021 11:48, Pierre Joye wrote: > > Also I do see it as a kind of strict mode addition and the depreciation > as > > well could be strict mode only. > > > A quick reminder that PHP has no "stri

Re: [PHP-DEV] [VOTE] Deprecate dynamic properties

2021-11-14 Thread Pierre Joye
Hi Nikita, On Fri, Nov 12, 2021, 11:34 PM Nikita Popov wrote: FWIW I think we should always deprecate things as soon as possible, to give > people the maximum amount of awareness and time to address the issue before > the actual removal occurs. I voted no however I agree on this part, with a

[PHP-DEV] Re: Bugsnet

2021-10-21 Thread Pierre Joye
Hi Joe, On Sun, May 9, 2021, 1:49 PM Joe Watkins wrote: > Morning internals, > > > Having moved our workflow to github, now seems to be the time to seriously > consider retiring bugsnet for general use, and using the tools that are > waiting for us - Github Issues. > yes! yes! yes! and we

Re: [PHP-DEV] BC breaking changes in PHP 8.1

2021-09-26 Thread Pierre Joye
On Sun, Sep 26, 2021, 7:42 PM Jordi Boggiano wrote: > > > I'm surprised that is_resource() returns false for resource objects, > > does anyone knows why it wouldn't return true in such case ? > > > > This is a very weird behavior, I'd expect it to return true, moreover > > this is the most

Re: [PHP-DEV] [RFC] Locale-independent case conversion

2021-09-23 Thread Pierre Joye
Hi Tim, On Thu, Sep 23, 2021 at 1:32 PM Tim Starling wrote: > > Please consider my RFC for locale-independent case conversion. > > https://wiki.php.net/rfc/strtolower-ascii very good one, thanks :) > https://github.com/php/php-src/pull/7506 > The RFC and associated PR ended up going some way

Re: [PHP-DEV] Adding `final class Deque` to PHP

2021-09-21 Thread Pierre Joye
On Tue, Sep 21, 2021, 11:56 PM Mike Schinkel wrote: > > On Sep 21, 2021, at 3:45 AM, Pierre Joye wrote: > > > > On Tue, Sep 21, 2021 at 11:21 AM Mike Schinkel > wrote: > > > >> Honestly, at first I confused `Deque` with `Dequeue` and was wondering >

Re: [PHP-DEV] Adding `final class Deque` to PHP

2021-09-21 Thread Pierre Joye
On Tue, Sep 21, 2021 at 11:21 AM Mike Schinkel wrote: > Honestly, at first I confused `Deque` with `Dequeue` and was wondering why we > would name a class with a verb? It wasn't until Rowan's comment that I > realized `Deque` is an abbreviation. > > Which begs the question: how many other PHP

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-18 Thread Pierre Joye
Hi Tyson, On Sat, Sep 18, 2021, 10:46 PM tyson andre wrote: > Hi Peter Bowyer, > > > Many of php's names are based on the naming choices in libraries made in > C/C++. > So using https://cplusplus.com/reference/vector/vector/ for my RFC > https://wiki.php.net/rfc/vector > seems like the most

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-17 Thread Pierre Joye
Hi Tyson, On Sat, Sep 18, 2021, 10:21 AM tyson andre wrote: > > This proposal already has a fixed-sized type - that type is `mixed` (or > `zval` internally), like ArrayObject, WeakMap, etc. already have in their > values. > (Similar to how basic Java collections (e.g. ArrayList​) are all >

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-17 Thread Pierre Joye
Good morning, Not sure you care or read my reply but I had to jump in one more time here :) On Sat, Sep 18, 2021 at 8:49 AM tyson andre wrote: > setSize is useful in allocating exactly the variable amount of memory needed > while using less memory than a PHP array. > `setSize($newSize, 0)`

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-17 Thread Pierre Joye
Hi Tyson, Back on my laptop so I will answer my question myself as I read the source code. Please, really, that should be part of the RFC content. Half of the questions here are about APIs, goals, etc. RFC should be specifications as much as possible. On Fri, Sep 17, 2021 at 12:43 PM Pierre Joye

Re: [PHP-DEV] Make strtolower/strtoupper just do ASCII

2021-09-17 Thread Pierre Joye
Hi Tim, hope you are well :) On Fri, Sep 17, 2021, 5:07 PM Tim Starling wrote: > > We could add a global mode, although that would prevent constant > propagation, if that's what you mean by adding them to the optimizer. > Or we could add variant functions like locale_strtolower() and >

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-17 Thread Pierre Joye
Good afternoon Christian, On Fri, Sep 17, 2021 at 3:07 PM Christian Schneider wrote: > > Am 17.09.2021 um 04:09 schrieb tyson andre : > > I've created a new RFC https://wiki.php.net/rfc/vector proposing to add > > `final class Vector` to PHP. > > > First of all: I don't have a strong opinion on

Re: [PHP-DEV] RFC: Add `final class Vector` to PHP

2021-09-16 Thread Pierre Joye
Hello Tyson, Vector support would be very good. JIT can do a lot with them if we have a clean Vector implementation, or even without JIT. What is your base inspiration for Vector? I do like the pretty standard C++ Vector implementation: https://www.cplusplus.com/reference/vector/vector/ Where

Re: [PHP-DEV] Adding a way to disable the stat cache

2021-09-07 Thread Pierre Joye
Hi, On Tue, Sep 7, 2021, 5:49 PM Kamil Tekiela wrote: > It's WSL2 > uname -r > 5.4.72-microsoft-standard-WSL2 > no need to test on wsl2, that's a dockerized linux. best, Pierre >

Re: [PHP-DEV] [RFC] Move RNG functions ext/random

2021-09-06 Thread Pierre Joye
Hi Go, Awesome, excellent work and will make the whole thing easier :) +1 already! best, On Tue, Sep 7, 2021 at 3:29 AM Go Kudo wrote: > > Hi internals. > > As a result of the exchange in the following thread, it seems appropriate > to separate the proposals. > > In line with this, we have

Re: [PHP-DEV] Adding a way to disable the stat cache

2021-09-06 Thread Pierre Joye
On Mon, Sep 6, 2021, 10:50 PM Christian Schneider wrote: > Am 06.09.2021 um 16:46 schrieb Pierre Joye : > > Also as someone mentioned here afterwards, instead of removing it > > straight away, I would go with the flag first, less risky :) > > Out of curiosity: Do you thi

Re: [PHP-DEV] Adding a way to disable the stat cache

2021-09-06 Thread Pierre Joye
On Mon, Sep 6, 2021 at 7:05 PM Christoph M. Becker wrote: > > On 06.09.2021 at 14:00, Pierre Joye wrote: > > > On Mon, Sep 6, 2021, 6:14 PM Benjamin Eberlei wrote: > > > >> On Fri, Sep 3, 2021 at 11:51 PM Hans Henrik Bergan > >> wrote: > >>

Re: [PHP-DEV] Adding a way to disable the stat cache

2021-09-06 Thread Pierre Joye
On Mon, Sep 6, 2021, 6:14 PM Benjamin Eberlei wrote: > On Fri, Sep 3, 2021 at 11:51 PM Hans Henrik Bergan > wrote: > > > The stat cache does not necessarily solve this issues though, only in very > limited cases where you work with the *same* file over and over again. The > stat cache only ever

Re: [PHP-DEV] Re: [RFC] Random Extension 3.0

2021-09-05 Thread Pierre Joye
Hi Ben, On Mon, Sep 6, 2021, 12:40 AM Ben Ramsey wrote: > Go Kudo wrote on 9/4/21 23:00: > > Indeed, it may be true that these suggestions should not be made all at > > once. If necessary, I would like to propose to organize the RNG > > implementation first. > > > > > The OOP API appears to be

Re: [PHP-DEV] Adding a way to disable the stat cache

2021-09-03 Thread Pierre Joye
Good morning, On Sat, Sep 4, 2021 at 4:51 AM Hans Henrik Bergan wrote: > > PS i've seen *HORRIBLE* fs performance for php-running-on-windows, > where the same filesystem operations on the same files took like 5 seconds > on linux-running-on-vmware-on-laptop-running-windows-10, versus several >

Re: [PHP-DEV] timelib performance fix

2021-08-31 Thread Pierre Joye
Hi Dmitry, On Mon, Aug 30, 2021 at 8:54 PM Dmitry Stogov wrote: > Please, let me know you decision according > https://github.com/derickr/timelib/pull/99 > > This workaround fix makes ~170 times improvement on "new DateTimeZone()" > and as result visible improvement on some real-life apps (e.g

Re: [PHP-DEV] Guidelines for RFC post feature-freeze

2021-08-28 Thread Pierre Joye
On Sat, Aug 28, 2021, 12:39 AM Dan Ackroyd wrote: > On Tue, 24 Aug 2021 at 20:02, Pierre Joye wrote: > > > > good evening Dan, > > > > First of all, could you please not merge many different mails in one > single reply? Thanks. > > No. This is a mailing

Re: [PHP-DEV] [RFC] Deprecate dynamic properties

2021-08-26 Thread Pierre Joye
Hi Stan, On Fri, Aug 27, 2021 at 5:10 AM Stanislav Malyshev wrote: > > Hi! > > > The crux of the issue is what our end goal is: > > > > 1. Require users to explicitly annotate classes that use dynamic > > properties, but otherwise keep dynamic properties as a fully supported part > > of the core

Re: [PHP-DEV] Guidelines for RFC post feature-freeze

2021-08-25 Thread Pierre Joye
Hi, On Thu, Aug 26, 2021, 1:09 AM Derick Rethans wrote: > On 25 August 2021 18:34:18 BST, Nicolas Grekas < > nicolas.grekas+...@gmail.com> wrote: > >Le mer. 25 août 2021 à 19:32, Marco Pivetta a écrit > : > , > > > >> On Wed, Aug 25, 2021 at 7:30 PM Nicolas Grekas < > >>

Re: [PHP-DEV] Guidelines for RFC post feature-freeze

2021-08-24 Thread Pierre Joye
good evening Dan, First of all, could you please not merge many different mails in one single reply? Thanks. On Wed, Aug 25, 2021, 1:43 AM Dan Ackroyd wrote: > Pierre Joye wrote: > > Many additions went through while being incomplete. > > > For almost all recent RFCS >

Re: [PHP-DEV] Guidelines for RFC post feature-freeze

2021-08-24 Thread Pierre Joye
Hi Jordan, On Tue, Aug 24, 2021 at 4:55 PM Jordan LeDoux wrote: > 1. Are too large or complex for voters to make an informed decision about. This is the real problem. Also you are correct on the cause (complexity of a topic), I don't think we are not able to understand complex RFCs. > 2.

Re: [PHP-DEV] Guidelines for RFC post feature-freeze

2021-08-24 Thread Pierre Joye
Hi Marco, On Tue, Aug 24, 2021 at 3:49 AM Deleu wrote: > > Hello everyone! > > We recently had the Nullable Intersection Types RFC process in an > unconventional way starting a new RFC post feature freeze. If memory serves > me right, another similar incident happened with the Attributes RFC

Re: [PHP-DEV] [RFC] Nullable intersection types

2021-07-27 Thread Pierre Joye
Hi Jordan, On Wed, Jul 28, 2021, 10:02 AM Jordan LeDoux wrote: > Intersection types are very useful if you use composition over > inheritance. That is, in PHP, they are most useful when you are using > multiple interfaces and/or traits to represent different aspects of an > object which might

Re: [PHP-DEV] [RFC] Nullable intersection types

2021-07-27 Thread Pierre Joye
Good morning, On Wed, Jul 28, 2021 at 5:52 AM Rowan Tommins wrote: > > On 27 July 2021 21:29:47 BST, "André Hänsel" wrote: > >> In fact, when 7.1 was released, none of the signatures changed in my > >code, they were just > >> updated to a different syntax. > > > >That by the way is only because

Re: [PHP-DEV] [RFC] [VOTE] is_literal

2021-07-18 Thread Pierre Joye
Good morning, On Mon, Jul 19, 2021 at 9:11 AM Jordan LeDoux wrote: > > > Are there documented SQL injection opportunities when using emulated > prepares? I'm not aware of any. > > This was from my reading of the actual source, which of course may be > flawed. It appeared that if emulated

[PHP-DEV] Re: Bundled Extension namespace(s)

2021-07-12 Thread Pierre Joye
On Mon, Jul 12, 2021, 6:31 PM Christoph M. Becker wrote: > On 12.07.2021 at 11:10, Pierre Joye wrote: > > > What is the status of the extension namespace RFC > > (https://wiki.php.net/rfc/namespaces_in_bundled_extensions)? > > > > In the near future, I plan t

[PHP-DEV] Bundled Extension namespace(s)

2021-07-12 Thread Pierre Joye
Good afternoon internals, What is the status of the extension namespace RFC (https://wiki.php.net/rfc/namespaces_in_bundled_extensions)? In the near future, I plan to work a bit on the ext/gd one. Adding quite a few things I have in my queue for too long. Check

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-01 Thread Pierre Joye
On Thu, Jul 1, 2021, 9:14 PM Christoph M. Becker wrote: > On 01.07.2021 at 14:15, Pierre Joye wrote: > > > Hi Nikita, > > > > On Wed, Jun 30, 2021, 4:32 PM Nikita Popov wrote: > > > >> Hi internals, > >> > >> I have opened voting on https

Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1

2021-07-01 Thread Pierre Joye
Hi Nikita, On Wed, Jun 30, 2021, 4:32 PM Nikita Popov wrote: > Hi internals, > > I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1. The > vote closes on 2021-07-14. > > This RFC is a collection of various deprecation suggestions from different > people. Each deprecation is

Re: [PHP-DEV] [RFC] Deprecations for PHP 8.1

2021-06-29 Thread Pierre Joye
Hi Nikita, Very good list, thank you. The only one I am totally not sure about is image(filled)polygon $numpoints. There are really tons of codes out there using it. There is little to no gain to remove it but create a load of 1st level support requests to many packages and applications. A

Re: [PHP-DEV] [RFC] is_trusted - was is_literal

2021-06-23 Thread Pierre Joye
Hello Craig, Very well written RFC, good job! Others have said it already, but here are my thoughts. Many moons ago, I was on this way as well and the filter extension came out. As it fits for some projects, the actual gains were very far, to say the least, from what I would have expected.

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-10 Thread Pierre Joye
On Thu, Jun 10, 2021, 2:32 PM Nikita Popov wrote: I'm not sure where you got the strange idea that "readonly" can refer to > asymmetric visibility. The two syntactic approaches to asymmetric > visibility that I'm aware of are "{ get; private set; }" in C# and "public > private(set)" in Swift.

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-10 Thread Pierre Joye
On Thu, Jun 10, 2021 at 11:08 AM Mike Schinkel wrote: > > Hi Larry, > > Thanks for the response. > > > On Jun 9, 2021, at 12:51 PM, Larry Garfield wrote: > > > > Pierre and Mike: > > > > "Asymmetric visibility" as we keep referring to it would mean the "implicit accessors only" version of this:

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-09 Thread Pierre Joye
Good morning Larry, Thank you. Very good summary, maybe worth adding to the RFC :) On Wed, Jun 9, 2021 at 11:52 PM Larry Garfield wrote: > readonly would be a separate, independent feature/syntax. Yes, my thought is about self explanatory syntax matching common usage of the same

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-09 Thread Pierre Joye
Hi Nikita, On Fri, Jun 4, 2021 at 10:19 PM Nikita Popov wrote: > > Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 Very good work, thank you :) > This proposal is similar to the >

Re: [PHP-DEV] PHP 8.1 and PECL ext builds for Windows

2021-06-07 Thread Pierre Joye
On Mon, Jun 7, 2021, 3:02 PM Nikita Popov Regarding dependencies, does this mean that extensions should also build > DLLs for dependency libraries themselves? Are there any concerns about > different extensions building different versions of the same library, or > similar? > This the very reason

Re: [PHP-DEV] Propagating AVIF support from libgd into PHP's bundled gd

2021-06-07 Thread Pierre Joye
Hj Remi! :) On Mon, Jun 7, 2021, 3:01 PM Remi Collet wrote: > Le 04/06/2021 à 16:36, Ben Morss via internals a écrit : > > > ... I created a PR to propagate libgd's AVIF > > support into PHP's bundled gd fork... > > Does it really make sense to keep maintaining this fork ? > > Having to

Re: [PHP-DEV] Re: Bugsnet

2021-05-25 Thread Pierre Joye
Hi Stas, On Sun, May 9, 2021, 3:06 PM Stanislav Malyshev wrote: > Hi! > > > If at some time in the future, github becomes a less than suitable > > environment for us, we can just move, no problem. There's no sense in > > which we are locked into anything. > > I don't see how we could "just

Re: [PHP-DEV] [VOTE] Round two, PHP 8.0 RM

2020-04-25 Thread Pierre Joye
HI, On Thu, Apr 23, 2020 at 1:44 AM Derick Rethans wrote: > Hi, > > as I mentioned, the first STV round ran into a tie, so there is a > current run-off between the two candidates that tied, > Gabriel and Ben, at: https://wiki.php.net/todo/php80#round_two Is it Over? or edit error? I can vote

Re: [PHP-DEV] Proposal for a new basic function: str_contains

2020-02-17 Thread Pierre Joye
hello, On Fri, Feb 14, 2020, 6:54 PM Nikita Popov wrote: > On Fri, Feb 14, 2020 at 10:18 AM Philipp Tanlak > wrote: > > > Hello PHP Devs, > > > > I would like to propose the new basic function: str_contains. > > > > The goal of this proposal is to standardize on a function, to check > weather

Re: [PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-15 Thread Pierre Joye
On Wed, Jan 15, 2020 at 4:47 PM Joe Watkins wrote: > > I just want it to be noted that I requested that the decision is reconsidered > also. > > I think, plain and simple, a mistake has been made. I agree that a real discussion should happen. So whoever else feels this way as well, feel free to

Re: [PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-15 Thread Pierre Joye
On Tue, Jan 14, 2020, 8:08 PM Peter Cowburn wrote: > On Tue, 14 Jan 2020 at 12:27, Nicolas Grekas > > wrote: > > > Le mar. 14 janv. 2020 à 13:20, PHP Group a écrit : > > > > > VCS Account Rejected: nicolasgrekas rejected by salathe /o\ > > > > > > > So, what's the process to get a vote now? >

Re: [PHP-DEV] Re: VCS Account Request: nicolasgrekas

2020-01-14 Thread Pierre Joye
Good afternoon, What a bold rejection, a bit surprising. For one, there is a consensus on key community having a vote right since we introduced rfc. We have been more strict but the consensus remains. Secondly, yes, being an active contributor makes it amazingly easier to actually have a vote,

Re: [PHP-DEV] Bump required libcurl version to 7.17.1

2020-01-10 Thread Pierre Joye
Good morning Christoph, I would even bump it to a much more recent version for 8.x or we will have the same issue during 8.x lifetime (we may anyway but starting with a 10+ years old version makes it much more likely). Best, On Wed, Jan 8, 2020 at 9:50 PM Christoph M. Becker wrote: > > Hi all,

Re: [PHP-DEV] Using PECL without installing PEAR

2019-11-15 Thread Pierre Joye
On Fri, Nov 15, 2019, 5:58 PM Matthieu Napoli wrote: > > > Le 15 nov. 2019 à 16:03, Pierre Joye a écrit : > > > > On Fri, Nov 15, 2019, 3:41 PM Nikita Popov wrote: > > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli > wrote: > > > > > Hi all, >

Re: [PHP-DEV] Using PECL without installing PEAR

2019-11-15 Thread Pierre Joye
On Fri, Nov 15, 2019, 3:41 PM Nikita Popov wrote: > On Wed, Nov 13, 2019 at 5:44 PM Matthieu Napoli > wrote: > > > Hi all, > > > > Following a discussion with Nikita, I understood that [installing PEAR > > with PHP is deprecated]( > >

Re: [PHP-DEV] GitHub RFC workflow

2019-11-05 Thread Pierre Joye
On Wed, Nov 6, 2019, 10:00 AM Mike Schinkel wrote: > . > > So given all those concerns are currently hypothetical All are real problems, today. Spain's exams is the smallest one. Other cases affect many people already with Github (at large). best,

Re: [PHP-DEV] GitHub RFC workflow

2019-11-05 Thread Pierre Joye
sorry, bad roads and writing from my mobile. I am not driving but still ;-) On Mon, Nov 4, 2019, 7:33 PM Pierre Joye wrote: > > > On Mon, Nov 4, 2019, 7:25 PM Joe Watkins wrote: > >> Afternoon, >> >> It should be clear that if we were in receipt of the kind of n

Re: [PHP-DEV] GitHub RFC workflow

2019-11-05 Thread Pierre Joye
; about the project. > > Cheers > Joe > > On Mon, 4 Nov 2019 at 05:54, Pierre Joye wrote: > >> >> >> On Sun, Nov 3, 2019, 7:30 AM Benjamin Eberlei >> wrote: >> >>> >>> Outside pull requests don't live in php-src.git, because th

  1   2   3   4   5   6   7   8   9   10   >