Re: [PHP-DEV] PR #1325 - array_column() for array of objects

2015-06-15 Thread Ben Ramsey
On Sat, Jun 13, 2015 at 11:46 AM, Rowan Collins wrote: > On 12 June 2015 02:31:18 BST, Tjerk Meesters > wrote: > >Hi, > > > >I've created a PR here: https://github.com/php/php-src/pull/1325 > > > >This enhancement allows for properties on objects to work in the same > >way > >as arrays for the i

Re: [PHP-DEV] PR #1325 - array_column() for array of objects

2015-06-13 Thread Rowan Collins
On 12 June 2015 02:31:18 BST, Tjerk Meesters wrote: >Hi, > >I've created a PR here: https://github.com/php/php-src/pull/1325 > >This enhancement allows for properties on objects to work in the same >way >as arrays for the inner elements of the main array. > >It also supports the __get() method, pr

Re: [PHP-DEV] PR #1325 - array_column() for array of objects

2015-06-11 Thread Tjerk Meesters
> On 12 Jun 2015, at 10:00 am, Xinchen Hui wrote: > > Hey: > > On Fri, Jun 12, 2015 at 9:31 AM, Tjerk Meesters > wrote: >> Hi, >> >> I've created a PR here: https://github.com/php/php-src/pull/1325 >> >> This enhancement allows for properties on objects to work in the same way >> as arrays f

Re: [PHP-DEV] PR #1325 - array_column() for array of objects

2015-06-11 Thread Xinchen Hui
Hey: On Fri, Jun 12, 2015 at 9:31 AM, Tjerk Meesters wrote: > Hi, > > I've created a PR here: https://github.com/php/php-src/pull/1325 > > This enhancement allows for properties on objects to work in the same way > as arrays for the inner elements of the main array. > IMO, it is called (array)_co

[PHP-DEV] PR #1325 - array_column() for array of objects

2015-06-11 Thread Tjerk Meesters
Hi, I've created a PR here: https://github.com/php/php-src/pull/1325 This enhancement allows for properties on objects to work in the same way as arrays for the inner elements of the main array. It also supports the __get() method, provided that also __isset() is implemented and returns true for