Re: [PHP-DEV] Filesystem path APIs

2023-12-10 Thread Erick de Azevedo Lima
I'm in favor for this. I think that, since you already have a built-in file API, adding useful functions is always good. I use *\str_starts_with* and *\str_ends_with* a lot in my code. In Laravel, which is the most used Framework these days, you have the \Illuminate\Supports\Str::startsWith and \Il

Re: [PHP-DEV] [RFC][Discussion] NotSerializable attribute

2023-12-10 Thread Max Semenik
On Sat, Dec 9, 2023 at 7:18 PM Niels Dossche wrote: > If you instead put #[NotSerializable] on the parent class MyClass, then > the child class won't be serializable even if you implement the > serialization methods in the child. > Is this intentional? If yes, this should probably be clarified in