Re: [PHP-DEV] function autoloading v4 RFC

2024-09-03 Thread Rob Landers
On Thu, Aug 15, 2024, at 17:22, Rob Landers wrote: > Hello internals, > > I've decided to attempt an RFC for function autoloading. After reading > hundreds of ancient (and recent) emails relating to the topic along with > several abandoned RFCs from the past, and after much review, I've decided

Re: [PHP-DEV] Pre-RFC Discussion: Support for String Literals as Object Properties and Named Parameters in PHP

2024-09-03 Thread Mike Schinkel
> On Sep 3, 2024, at 7:52 AM, Anton Smirnov wrote: > > On 03/09/2024 14:48, Anton Smirnov wrote: >> [new AAA, '123AnyChars%%!@#'](); > > Wrong example, sorry, should be > > (new AAA)->{'123AnyChars%%!@#'}(); Still, '123AnyChars%%!@#' is not included in the array returned by `get_class_meth

Re: [PHP-DEV] Pre-RFC Discussion: Support for String Literals as Object Properties and Named Parameters in PHP

2024-09-03 Thread Anton Smirnov
On 03/09/2024 14:48, Anton Smirnov wrote: [new AAA, '123AnyChars%%!@#'](); Wrong example, sorry, should be (new AAA)->{'123AnyChars%%!@#'}();

Re: [PHP-DEV] Pre-RFC Discussion: Support for String Literals as Object Properties and Named Parameters in PHP

2024-09-03 Thread Anton Smirnov
On 02/09/2024 19:42, Christoph M. Becker wrote: On 02.09.2024 at 16:51, Mike Schinkel wrote: Generally I am one who welcomes new feature ideas, but I fear that string literals as object properties would break a valuable assumption that all properties must be a valid identifier. Without tha

[PHP-DEV] RFC: Deprecate json_encode() on classes marked as non-serializable

2024-09-03 Thread Philip Hofstetter
Hello, As per my previous email to the list, I have now created the official RFC to deprecate calling json_serialize() on instances of classes marked with ZEND_ACC_NOT_SERIALIZABLE. https://wiki.php.net/rfc/deprecate-json_encode-nonserializable I have also created a PR with the implementation he

Re: [PHP-DEV] Debug Build Container Image for GitHub Packages

2024-09-03 Thread Go Kudo
2024年9月3日(火) 10:35 Ben Ramsey : > > On Sep 2, 2024, at 19:36, Bob Weinand wrote: > > > > On 3.9.2024 02:18:30, Ben Ramsey wrote: > >>> On Sep 2, 2024, at 18:53, Bob Weinand wrote: > >>> > >>> On 3.9.2024 01:44:21, Ben Ramsey wrote: > >>> > > On Sep 2, 2024, at 08:11, Go Kudo wrote: > >