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. :-)
- Re: [PHP-DEV] [RFC] Pipe Operator Marco Pivetta
- RE: [PHP-DEV] [RFC] Pipe Operator Thomas Punt
- Re: [PHP-DEV] [RFC] Pipe Operator Arvids Godjuks
- Re: [PHP-DEV] [RFC] Pipe Operator Fleshgrinder
- Re: [PHP-DEV] [RFC] Pipe Operator Marco Pivetta
- Re: [PHP-DEV] [RFC] Pipe Operator Fleshgrinder
- Re: [PHP-DEV] [RFC] Pipe Operator Fleshgrinder
- Re: [PHP-DEV] [RFC] Pipe Operator Dan Ackroyd
- Re: [PHP-DEV] [RFC] Pipe Operator Lester Caine
- Re: [PHP-DEV] [RFC] Pipe Operator Larry Garfield
- Re: [PHP-DEV] [RFC] Pipe Operator lester
- Re: [PHP-DEV] [RFC] Pipe Operator lester
- Re: [PHP-DEV] [RFC] Pipe Operator Sara Golemon
- Re: [PHP-DEV] [RFC] Pipe Operator Michael Wallner
- Re: [PHP-DEV] [RFC] Pipe Oper... Sara Golemon
- Re: [PHP-DEV] [RFC] Pipe Operator Stanislav Malyshev
- Re: [PHP-DEV] [RFC] Pipe Operator Stanislav Malyshev
- Re: [PHP-DEV] [RFC] Pipe Operator Stephen Coakley
- Re: [PHP-DEV] [RFC] Pipe Operator Jesse Schalken
- Re: [PHP-DEV] [RFC] Pipe Operator Lester Caine
- Re: [PHP-DEV] [RFC] Pipe Operator Marco Pivetta
