[PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
Hi. Recently the setters/getters rfc was declined. Other than the vote, was there any technical reasons? I've been sitting here and had a thought. Currently, if I use ... ?php class some_base_class {} ? I can, sort of, think of this as ... ?php class some_base_class extends \stdClass {} ?

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Nikita Popov
On Mon, Jun 3, 2013 at 6:49 PM, Richard Quadling rquadl...@gmail.comwrote: Hi. Recently the setters/getters rfc was declined. Other than the vote, was there any technical reasons? I've been sitting here and had a thought. Currently, if I use ... ?php class some_base_class {} ? I

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
On 3 June 2013 17:55, Nikita Popov nikita@gmail.com wrote: On Mon, Jun 3, 2013 at 6:49 PM, Richard Quadling rquadl...@gmail.comwrote: Hi. Recently the setters/getters rfc was declined. Other than the vote, was there any technical reasons? I've been sitting here and had a thought.

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Brandon Wamboldt
I think the point was that if somebody wants to extend one another class, maybe one of the SPL classes for example, they can't also extend the base class with getter/setter support so it's an incomplete solution that will frustrate many users. On Mon, Jun 3, 2013 at 2:20 PM, Richard Quadling

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Kalle Sommer Nielsen
Hi Nikita 2013/6/3 Nikita Popov nikita@gmail.com: PHP does not support multiple inheritance. So no, this doesn't solve really the issue. This is also why this makes a lot more sense to implement as an Interface as we can implement more than one per class, much like we do with ArrayAccess.

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
On 3 June 2013 18:22, Brandon Wamboldt bran...@brandonwamboldt.ca wrote: I think the point was that if somebody wants to extend one another class, maybe one of the SPL classes for example, they can't also extend the base class with getter/setter support so it's an incomplete solution that will

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Galen Wright-Watson
On Mon, Jun 3, 2013 at 10:30 AM, Richard Quadling rquadl...@gmail.comwrote: On 3 June 2013 18:22, Brandon Wamboldt bran...@brandonwamboldt.ca wrote: I think the point was that if somebody wants to extend one another class, maybe one of the SPL classes for example, they can't also extend the