Re: Any interest in a list type?

From: Date: Wed, 22 Apr 2020 22:53:10 +0000
Subject: Re: Any interest in a list type?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109794@lists.php.net to get a copy of this message
On Apr 21, 2020, at 12:49, Andrea Faulds <ajf@ajf.me> wrote: > I recall someone previously suggesting (not formally proposing IIRC) we could have a standard > library is_ function to check these, but it didn't go anywhere. That would be me, and I had a draft implementation for it: https://github.com/php/php-src/pull/4886 My proposal was more oriented towards adding a function to test whether an array was list-like (all keys are sequential integers), though, not adding it as a formal type.

« previous php.internals (#109794) next »