Re: [PHP-DEV] Requiring DCO (Developer Certificate of Origin)

2025-04-18 Thread Pierre Joye
On Fri, Apr 18, 2025 at 11:41 PM Jakub Zelenka wrote: > > Hi, > > We just had some private discussions about the implication of contributing > under pseudonym. This is in general fine and we should not have problem with > it and we actually never verified the contributors so this is possibly >

Re: [PHP-DEV] [RFC] Policy on 3rd party code

2024-10-26 Thread Pierre Joye
Hello :) On Sun, Oct 27, 2024 at 3:28 AM Jim Winstead wrote: > > There were more existing 3rd-party dependencies that should probably be added > to the policy text: > > https://news-web.php.net/php.internals/125769 > > Two I missed were JpGraph and Parsedown which are used by web-doc. (Currently

Re: [PHP-DEV] Asymmetric visibility is a BC break

2024-10-14 Thread Pierre Joye
Hello, On Mon, Oct 14, 2024, 8:07 AM Bilge wrote: > On 14/10/2024 01:02, Valentin Udaltsov wrote: > > The problem is that in practice most of the PHP libraries consider > > themselves to be compatible with newer PHP versions. > > > > For instance, Symfony PropertyInfo uses `"php": ">=8.2"` const

Re: [PHP-DEV] Zephir, and other tangents

2024-09-20 Thread Pierre Joye
On Sat, Sep 21, 2024, 3:41 AM Dennis Snell wrote: > > On Sep 20, 2024, at 1:21 PM, Jakub Zelenka wrote: > > Hi, > > On Fri, Sep 20, 2024 at 6:32 PM Dennis Snell > wrote: > >> >> My goal in sharing here is to help better represent my own perspective of >> WordPress’ needs based on what I’ve seen

Re: [PHP-DEV] Re: [INTERNALS-WIN] ext/gd: drop XPM support on Windows

2024-09-12 Thread Pierre Joye
On Thu, Sep 12, 2024, 4:42 PM Christoph M. Becker wrote: > On 12.09.2024 at 06:46, Pierre Joye wrote: > > > I mentioned that long ago, but a maybe faster way to get windows ready > > sources is vcpkg: > > > > https://vcpkg.roundtrip.dev/ports/libxpm > > >

[PHP-DEV] Re: [INTERNALS-WIN] ext/gd: drop XPM support on Windows

2024-09-11 Thread Pierre Joye
hi, On Thu, Sep 12, 2024, 5:04 AM Christoph M. Becker wrote: > > > This should be fixed in winlibs/libxpm. The patch in winlib-builder > doesn't make sense; I think I did this to make it easier to update > libxpm, though in hindsight this was probably a bad idea. > I mentioned that long ago, b

[PHP-DEV] Re: [INTERNALS-WIN] ext/gd: drop XPM support on Windows

2024-09-11 Thread Pierre Joye
hi Christoph, On Wed, Sep 11, 2024, 7:56 PM Christoph M. Becker wrote: > Hi all, > > > Therefore I suggest dropping XPM support from ext/gd on Windows as soon > as possible (might be a bit late for PHP 8.4, but might still be a good > idea). > Given it is only useful on OSes relying on X/freede

[PHP-DEV] Re: [INTERNALS-WIN] Maintain Windows PHP dependency builds in a GH repo

2024-09-08 Thread Pierre Joye
Hi Christoph, On Sun, Sep 8, 2024 at 4:32 PM Christoph M. Becker wrote: > * the process is prone to error Originally, it was thought to do first this (painful) manual process to validate the flow. Then the plan was to use the releases in each dep's repository. Having one repository to define wh

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Pierre Joye
On Thu, Aug 15, 2024, 6:35 AM Lanre wrote: > Arvids wrote "I don't think C sees a lot of development any more, so it >> makes sense to move towards C++." > > > >> > Nah, I meant the specific conversation with Pierre Joye, it wasn't going > anyw

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Pierre Joye
On Wed, Aug 14, 2024, 11:07 AM Lanre wrote: > > On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel wrote: > >> >> On Aug 12, 2024 at 4:13 PM, > wrote: >> You’d have to be seriously naive to believe that “the entire industry is >> actively trying to move AWAY from C/C++.” >> >> >> Well, there is this:

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Pierre Joye
On Tue, Aug 13, 2024, 3:16 AM Lanre wrote: I'm sure the idea of enhancing C++ makes no sense to you, and would be a > waste of your time and energy, but not everyone is that stupid/incompetent > so even if i do get bored of maintaining it, literally any C++ dev can pick > it up, it really is that

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Pierre Joye
On Mon, Aug 12, 2024, 11:03 PM John Coggeshall wrote: > > > I’m considering adding some C++ enhancements to the Zend API. > > > I would definitely like to see an RFC for this if it was to be considered. > To me, adding a whole new way of doing things internally without completely > removing the o

Re: [PHP-DEV] PDO_Firebird: use C++?

2024-08-11 Thread Pierre Joye
On Sun, Aug 11, 2024, 8:32 PM Gina P. Banyard wrote: > On Sunday, 11 August 2024 at 15:26, Pierre Joye > wrote: > > > > On Sun, Aug 11, 2024, 6:53 PM Gina P. Banyard wrote: > >> On Saturday, 10 August 2024 at 15:13, Christoph M. Becker < >> cmbecke...@gmx

Re: [PHP-DEV] PDO_Firebird: use C++?

2024-08-11 Thread Pierre Joye
On Sun, Aug 11, 2024, 6:53 PM Gina P. Banyard wrote: > On Saturday, 10 August 2024 at 15:13, Christoph M. Becker < > cmbecke...@gmx.de> wrote: > > I think moving the PDO driver to use C++ is a more sensible choice. > what would be the advantages? given the OO part at the C level is perfectly fi

Re: [PHP-DEV] [Discussion] Sandbox API

2024-08-07 Thread Pierre Joye
On Wed, Aug 7, 2024, 7:13 PM Nick Lockheart wrote: > > > > So I was thinking about this a bit more and I thought, what if instead > of adding a sandbox as a feature of PHP, what if PHP *was* the sandbox. > > So consider this: > > What if the PHP engine added a C API that lets C/C++ programs not o

Re: [PHP-DEV] [Discussion] Sandbox API

2024-08-07 Thread Pierre Joye
On Wed, Aug 7, 2024, 2:11 AM Rob Landers wrote: > > I find this assertion kind of scary from a shared hosting perspective or > even from a 3v4l kind of perspective. How do these services protect > themselves if php is inherently insecure? > php is not inherently insecure. not even remotely and q

Re: [PHP-DEV] Require C11 in PHP 8.4

2024-08-06 Thread Pierre Joye
On Tue, Aug 6, 2024 at 12:10 AM Christoph M. Becker wrote: > > On 05.08.2024 at 17:42, Pierre Joye wrote: > > > On Mon, Aug 5, 2024, 10:03 PM Derick Rethans wrote: > > > >> Instead of having to deal with tickets, wouldn't be be easier if the > >> com

Re: [PHP-DEV] Require C11 in PHP 8.4

2024-08-05 Thread Pierre Joye
On Mon, Aug 5, 2024, 10:03 PM Derick Rethans wrote: > Instead of having to deal with tickets, wouldn't be be easier if the > compiler they used works with the features that we are using? That could > instantly provide a link to the documentation saving all of us time. > it is significantly easi

Re: [PHP-DEV] tsrm question

2024-07-24 Thread Pierre Joye
On Wed, Jul 24, 2024 at 7:06 PM Rob Landers wrote: > > On Wed, Jul 24, 2024, at 13:54, Pierre Joye wrote: > > Hi Rob, > > > On Wed, Jul 24, 2024 at 3:17 PM Rob Landers wrote: > > > > Hello internals, > > > > Last night I went down a rabbit hole wit

Re: [PHP-DEV] tsrm question

2024-07-24 Thread Pierre Joye
On Wed, Jul 24, 2024, 7:06 PM Rob Landers wrote: > > The number of threads are static (at least for now), so we should def do > this. > > Long story short, the TSRM API is very flexible, how and when you > alloc/free rsrc is basically up to you. It is possible to keep some > around in the root th

Re: [PHP-DEV] tsrm question

2024-07-24 Thread Pierre Joye
Hi Rob, On Wed, Jul 24, 2024 at 3:17 PM Rob Landers wrote: > > Hello internals, > > Last night I went down a rabbit hole with Frankenphp: > https://github.com/dunglas/frankenphp/pull/933 > > It isn't 100% clear to me what values `ts_resource(id)` holds and if it needs > to be freed/allocated p

Re: [PHP-DEV] ext/gd new imagematch function (was: adding imagecompare)

2024-07-11 Thread Pierre Joye
hi, as I mentioned in the PR, this is an old function which we did not touch for bc reasons. I also linked a better image comparison function used for the gd tests suite. It covers exaxf match which is what it seems you are aiming to get. Additionally that function also return an image with the

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 nodej

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 that

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 versi

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: > > https://gith

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 o

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 experiences

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 signif

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 >> mainframe

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 rep

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 al

[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 ca

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 hour

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 t

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 17:

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 non-st

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, colleagu

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 the

[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 Mailing

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 ter

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 beyond

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 maj

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 p

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 okayi

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 don'

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. > > vcpk

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 Index,

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 to

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 not

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 = Money

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 liba

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 yeah,

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 Windows[2],

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 never

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 travis.y

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 point

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 enc

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 s

[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 coul

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 annoyi

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

2021-09-22 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 > why

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 natu

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 > colle

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)` wou

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 > locale_

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 a

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 cre

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 a

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 > mi

Re: [PHP-DEV] timelib performance fix

2021-08-30 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 < > >> nicolas.grekas+...@gmai

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. Inclu

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

2021-08-23 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 whic

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 be

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 prepares

[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 https://github.com/libgd/libgd/issu

  1   2   3   4   5   6   7   8   9   10   >