Re: [RFC][DISCUSSION] Collection Inspection

From: Date: Thu, 25 Jan 2018 18:56:39 +0000
Subject: Re: [RFC][DISCUSSION] Collection Inspection
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-101670@lists.php.net to get a copy of this message
On Thu, Jan 25, 2018 at 10:14 AM, Bishop Bettini <bishop@php.net> wrote: > > Agreed, and we can get *almost* there today with: > > $collection = collection_of('is_int', [ 1, 2 ]); > Ok, let's stay on topic please. This RFC discussion is about an operator or family of functions to verify that a given $var is a collection. Objects which enforce collection integrity is a tangential but whole other topic outside the scope of what I proposed in the first post.

« previous php.internals (#101670) next »