On Sat, 4 Apr 2026 at 20:15, AllenJB <[email protected]> wrote:
> On 04/04/2026 15:06, Barel wrote: > > Hi, > > > > I would like to open the discussion on my proposal to add two small, > > focused array functions for retrieving and checking nested array > > elements using dot notation. > > > > This is the link to the RFC: > > https://wiki.php.net/rfc/array_get_and_array_has > > > > This is the link to the proposed implementation: > > https://github.com/php/php-src/pull/21637 > > > > Thanks!! > > > > Carlos > > I echo others comments with regards to looking at / comparing to > existing implementations (particularly Laravel, given its popularity), > and escaping. > > I would also suggest that the function names should explicitly indicate > they use dot notation to reduce potential confusion over which array > functions accept dot notation and avoid potential conflicts should > similar non-dot-notation equivalents be desired (for these or any future > dot-notation supporting array_ functions) > > Hi, Thanks for your comments, I modified the RFC to include some references and to look into escaping Regarding function names, what would be your suggestion? Cheers Carlos
