[PHP-DEV] [RFC] Property Accessors v1.2 Consensus Changes

2012-11-18 Thread Clint Priest
Can anyone who has an interest in this project please review over the Current Consensus Changes section of this document: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented/change-requests Lets hear if there are any other concerns, otherwise in the next couple of days I will

Re: [PHP-DEV] [RFC] Property Accessors v1.2 Consensus Changes

2012-11-18 Thread Levi Morrison
On Sun, Nov 18, 2012 at 5:19 PM, Clint Priest cpri...@zerocue.com wrote: Can anyone who has an interest in this project please review over the Current Consensus Changes section of this document: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented/change-requests Lets hear if there

Re: [PHP-DEV] Functions for getting long / double from zval with casts

2012-11-18 Thread Stas Malyshev
Hi! Hi internals! It happens quite often that you need to extract an integer from a zval and you also want it to work for integers in strings, etc. In order to do so you currently have to cast the zval to integer. This is always rather complicated because you often don't want to actually

Re: [PHP-DEV] questions about php structures

2012-11-18 Thread Stas Malyshev
Hi! 1) what's the difference between zend_object and zend_object_value? what is each for? Because i'm confused.. 2) What are zend_object_store_bucket; and zend_object_store used for? It may be easier to look at it this way: For the engine, the object is an abstraction, which has an ID and a