Re: [PHP-DEV] Adding the OpenSSF Scorecards GitHub Action

2022-10-24 Thread Dan Ackroyd
Hi Pedro, On Mon, 24 Oct 2022 at 19:06, Pedro Nacht via internals wrote: > > Hey Jordan, You seem to have responded to Jordan's tech questions, but I was really hoping for an answer to my more fundamental questions: Danack wrote: > What is the morality of open source? > What is the morality of

Re: [PHP-DEV] Proposal to incrementally improve timeout and signal handling

2022-10-24 Thread Levi Morrison via internals
This kind of thing requires careful thought. My first glance through it looks good and I definitely want PHP to stop abusing the SIGPROF signal because it prevents usage by actual profilers, which is annoying. Full disclosure: I write a profiler for my job. In addition, I think that there should p

Re: [PHP-DEV] Newcomer, PHP pre-processing, Magic Constants __FILE__ and __LINE__ override with #line like in C

2022-10-24 Thread Levi Morrison via internals
> I think you're also greatly over-estimating how large the startup cost is in > practice. It's real, certainly, but unless you have several nested > microservices a well-made framework should have a fairly small overhead. I want to share my experience that some users have very slow file I/O, a

Re: [PHP-DEV] Adding the OpenSSF Scorecards GitHub Action

2022-10-24 Thread Pedro Nacht via internals
Hey Jordan, The tool is only meant to be informative regarding the project's supply-chain security posture and gives actionable suggestions on how it can be improved. However, it doesn't create issues, bug maintainers and volunteers with notifications/emails, or make any assumptions regarding main

Re: [PHP-DEV] [RFC] [Discussion] SQLite3: remove warnings, move to exceptions

2022-10-24 Thread Larry Garfield
On Sun, Oct 23, 2022, at 9:56 PM, BohwaZ wrote: > Kia ora, > > I am proposing that the SQLite3 extension stops using warnings for > errors and instead throws exceptions by default: > > https://wiki.php.net/rfc/sqlite3_exceptions > > Whether we just deprecate warnings first and default to exceptions

Re: [PHP-DEV] [RFC] [Discussion] SQLite3: remove warnings, move to exceptions

2022-10-24 Thread Kamil Tekiela
Hi, I don't think we should be removing such large chunk of functionality in a minor version. If you want to change the default to throw exceptions, that's ok. But I wouldn't remove the method in 8.3 or 8.4 and only remove it in 9.0. What is the advantage to removing the Warning mode? Regards, Ka

Re: [PHP-DEV] [RFC] [Discussion] SQLite3: remove warnings, move to exceptions

2022-10-24 Thread Christian Schneider
Am 24.10.2022 um 04:56 schrieb BohwaZ : > I am proposing that the SQLite3 extension stops using warnings for > errors and instead throws exceptions by default: > > https://wiki.php.net/rfc/sqlite3_exceptions > > Whether we just deprecate warnings first and default to exceptions, and > then remove

Re: [PHP-DEV] Newcomer, PHP pre-processing, Magic Constants __FILE__ and __LINE__ override with #line like in C

2022-10-24 Thread Ludovic Pouzenc
Le 23/10/2022 à 18:02, Larry Garfield a écrit : On Sun, Oct 23, 2022, at 8:43 AM, Ludovic Pouzenc wrote: Hi, I'm a newcomer here. I came from https://wiki.php.net/rfc/howto. *TL;DR:* I want to know if a proposal of a #line parsing to alter __FILE__ and __LINE__ in PHP like it exists in C could