Re: [RFC] Pipe Operator

From: Date: Sat, 30 Apr 2016 18:35:38 +0000
Subject: Re: [RFC] Pipe Operator
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-92997@lists.php.net to get a copy of this message
However, passing an array to array_filter() then passing the result to array_map() is always type safe (because array_filter still returns an array even if it filters down to 0 items), and array_map on an empty array is essentially a no-op, so I'm comfortable doing so, and wish I could do so more often with less fugly syntax. :-)

« previous php.internals (#92997) next »