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

2022-10-23 Thread Ludovic Pouzenc
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 be a good idea. I've searched about __LINE__ and __FILE__ in mailing archives and wiki, I don't really

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

2022-10-23 Thread Stephen Reay
> On 23 Oct 2022, at 20:43, 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 be a good idea. > > I've searched ab

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

2022-10-23 Thread Larry Garfield
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 be a good idea. > > I've searched about

[PHP-DEV] SQLite3: implement session extension

2022-10-23 Thread BohwaZ
Hi folks! 2 years ago I implemented some missing APIs in the SQLite3 extension, and I still want to get SQLite3 support in PHP to get better. Today I'll be talking about something that can become very useful: The SQLite3 session extension allows to create changesets from a database, that is to st

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

2022-10-23 Thread BohwaZ
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, and then remove warnings altogether in a later version, or

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

2022-10-23 Thread Tim Starling
On 21/10/22 01:11, Kévin Dunglas wrote: Here is the plan: 1. Switch to timer_create() for timeouts, but only on Linux (it's not supported on other platforms yet), when ZTS is enabled and Zend Signals is disabled. As the feature is currently entirely broken when ZTS is on, this can be considered