Re: [PHP-DEV] Switching max_execution_time from CPU time to wall-clock time and from SIGPROF to SIGALRM

2024-05-17 Thread Calvin Buckley
On May 17, 2024, at 10:47 AM, Arnaud Le Blanc wrote: > > Hi internals, > > There is an issue with max_execution_time on MacOS, probably only > MacOS 14 on Apple Silicon, that causes timeouts to fire too early [1]. > max_execution_time is implemented with setitimer(ITIMER_PROF) on this >

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Calvin Buckley
On Apr 30, 2024, at 8:07 AM, Arvids Godjuks wrote: > On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, > > > > If MariaDB wants to maintain a specific PDO Driver they can do so > > themselves and publish it on PECL, same as how CUBRID (and others) does > > currently. > > That is

Re: [PHP-DEV] [RFC][Discussion] PDO driver specific parsers

2024-04-17 Thread Calvin Buckley
On Apr 17, 2024, at 9:24 AM, Matteo Beccati wrote: > > Hello everybody, > > I'd like to start a discussion on a new RFC about fixing the default PDO SQL > parser and having (optional) driver-specific parsers. > > https://wiki.php.net/rfc/pdo_driver_specific_parsers > > Thanks GPB and Tom de

Re: [PHP-DEV] Requiring GPG Commit Signing

2024-04-02 Thread Calvin Buckley
On Apr 2, 2024, at 11:15 AM, Derick Rethans wrote: > > What do y'all think about requiring GPG signed commits for the php-src > repository? > > I had a look, and this is also something we can enforce through GitHub > as well (by using branch protections). Would this affect only direct pushes

Re: [PHP-DEV] Release Managers for PHP 8.4

2024-03-08 Thread Calvin Buckley
On Mar 5, 2024, at 11:37 AM, Jakub Zelenka wrote: > > Please put your name forward here if you wish to be considered a candidate. > An initial TODO page has been added to the wiki and contains provisional > dates for GA and pre-releases [2]. > I'm putting my hat in to the ring again for 8.4

[PHP-DEV] Re: Testing new list server

2024-02-17 Thread Calvin Buckley
On Feb 14, 2024, at 11:16 AM, Derick Rethans wrote: > > Please don't be alarmed, we're moving the lists over to a new machine. I've been getting a ton of spam from php-general@ recently. I suspect the changeover might be related.

Re: [PHP-DEV] Proposal: Binary type for PDO

2023-07-12 Thread Calvin Buckley
> On Jul 9, 2023, at 11:29 AM, Dan Ackroyd wrote: > > On Fri, 7 Jul 2023 at 18:39, Calvin Buckley wrote: >> >> I'd like to hear any oversights, and what could be done to take this >> further. > > I think someone needs to write some code and some tests

[PHP-DEV] Proposal: Binary type for PDO

2023-07-07 Thread Calvin Buckley
Hi internals@, I’m linking to a GH issue I filed a file back about extending PDO. It's intending to address common issues with dealing with bindary data that I've seen users deal with. In particular, I’d appreciate feedback from people with PDO internals, and any other DBMS' features/limitations

Re: [PHP-DEV] Proposal: native decimal scalar type support

2023-04-26 Thread Calvin Buckley
You’re going to likely have this with database as well - at least ODBC presents decimals as strings, because they can’t be represented as a C type (without turning it into a struct of some sort). > On Apr 26, 2023, at 9:23 AM, Alexander Pravdin wrote: > > On Wed, 26 Apr 2023 at 20:52,

Re: [PHP-DEV] [VOTE] PHP 8.3 Release Managers

2023-04-17 Thread Calvin Buckley
On Apr 17, 2023, at 6:01 PM, Sergey Panteleev wrote: > > Hi all, > > The polls have closed, and Derick’s scripts have tallied the votes [1], > > Our “rookie" PHP 8.3 release managers are: > - Jakub Zelenka > - Eric Mann > > Our "veteran” is the PHP 8.2 release manager Pierrick Charron. >

Re: [PHP-DEV] Release Managers for PHP 8.3

2023-03-01 Thread Calvin Buckley
On Wed, 2023-03-01 at 23:20 +0300, Sergey Panteleev wrote: > Please put your name forward here if you wish to be considered a > candidate. An initial TODO page has been added to the wiki and > contains provisional dates for GA and pre-releases [2]. I'll throw my hat into the ring, since I had

Re: [PHP-DEV] Re: [8.2] Release Manager Election

2022-05-18 Thread Calvin Buckley
On Wed, 2022-05-18 at 13:45 -0500, Ben Ramsey wrote: > > Our 8.2 “rookie” release managers are: > > * Sergey Panteleev > * Pierrick Charron > > Congratulations! > > Thank you to all the candidates! I hope you’ll consider putting in > your name for future release manager elections, and as

Re: [PHP-DEV] PHP 8.2 Release Manager Selection

2022-04-26 Thread Calvin Buckley
On Mon, 2022-04-25 at 13:51 +0200, Christoph M. Becker wrote: > > Please put your name forward here if you wish to be considered a > candidate.  An initial TODO page has been added to the wiki and > contains > provisional dates for GA and pre-releases[2]. > I'll put my name in the hat for

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

2022-04-08 Thread Calvin Buckley
This might be interesting. I've set up Actions builds for extensions, and the Windows part was pretty easy (thanks to Christoph's action for setting up a PHP build environment on Windows). If I could set up a workflow that when I tag a release, it pushes a full matrix to PECL, that would be great.

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

2021-09-22 Thread Calvin Buckley
On Sep 22, 2021, at 11:24 AM, Matthew Weier O'Phinney wrote: > As somebody who's been contributing to and maintaining OSS libraries > forever (since 2002), the pace of change of PHP is, frankly, ridiculous. I > can keep up with patches. I can keep up with new features. But BC breaks > EVERY YEAR

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

2021-09-22 Thread Calvin Buckley
I suspect this is true (I have not tested yet to be sure) for the Toolkit for IBM i, since it looks at resource types for the same purpose (determine database connection type). Minor fix, but it is a BC break. > On Sep 22, 2021, at 10:29 AM, Matthew Weier O'Phinney > wrote: > > Yesterday, I

Re: [PHP-DEV] Using clang-analyzer with PHP: experiences?

2021-05-25 Thread Calvin Buckley
Good point, but I'm still on GCC 10 in Fedora. I haven't tried its static analyzer yet either. That said, I don't know how GCC's analyzer handles PHP's ewhateveralloc functions - that is, if it'd do better than LLVM. On Tue, 2021-05-25 at 23:43 +0100, G. P. B. wrote: > Isn't this handled by the

Re: [PHP-DEV] Using clang-analyzer with PHP: experiences?

2021-05-25 Thread Calvin Buckley
PM, Calvin Buckley wrote: > > Hi internals@, > > I maintain an extension and I suspect there are some issues in the code. As > such, I’ve been trying various tools to try to make it easier to catch the > issues. (For the curious: I’ve tried *San, which I feel doesn’t work ve

Re: [PHP-DEV] Using clang-analyzer with PHP: experiences?

2021-05-21 Thread Calvin Buckley
> On May 21, 2021, at 4:48 PM, Levi Morrison > wrote: > > Just to check: are you setting the environment variable USE_ZEND_ALLOC > to 0? This causes the engine to use malloc: > https://heap.space/xref/PHP-7.4/Zend/zend_alloc.c?r=600402d9#2738. > > For what it's worth, I was recently annoyed

[PHP-DEV] Using clang-analyzer with PHP: experiences?

2021-05-21 Thread Calvin Buckley
Hi internals@, I maintain an extension and I suspect there are some issues in the code. As such, I’ve been trying various tools to try to make it easier to catch the issues. (For the curious: I’ve tried *San, which I feel doesn’t work very well unless you /totally control/ the entire stack,

Re: [PHP-DEV] Could we drop the bottom-posting rule?

2021-05-11 Thread Calvin Buckley
I'm just going to say... - almost all modern mail clients are threaded, it's trivial to view context, so I want to see replies "above the fold" - bottom posting goes against the grain of modern mail clients - overall, it just feels like arbitrary preferences set decades ago; worst case it feels

[PHP-DEV] Improvements to PDO_ODBC

2021-03-26 Thread Calvin Buckley
Hello internals@, I've been looking into improving PDO_ODBC; specifically, bringing it up to parity with other drivers, as well as dealing with its quirks. The company I work for supports PHP on IBM i, and while we maintain the native database drivers for the platform, we (and IBM) have been

Re: [PHP-DEV] RFC: PHP JIT/arm64 port

2021-03-17 Thread Calvin Buckley
This is great work! I assume you've only tested much on Linux, but I do have an M1 Mac here to test. I'm curious how much effort this took you, in terms of figuring out the CPU-specific parts of the JIT, and what needed untangling from machine- specific code and what didn't. I've been curious