. Allow array($this, 'parent::method') for function 'pointers' . Spit out E_STRICT in case of erroneous use of function 'pointers'
…es on 64-bit platforms)
…lable and zend_make_callable on it. This functions allows to check if a php variable is a callable function and returns its function pointer as well as object if possible. # Commit this now so we can use it in 5.1.* series as discussed with Andi.
… to complement the property get/set methods)
…essages when working with non-PHP objects. # Using Z_OBJCE(object)->name is usually bad idea unless you know it's # a pure PHP object
…ndencies and conflicts.
functions for bool, double and binary safe string data
…LSE() used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
extensions. The new hook will be run after the symbol table and destructors are run. (Derick)
zend_parse_method_parameters(). # Obviously its only place of use is in pdo just right now.
- Initial fix for foreach($o->mthd()->arr) crash (now leaks)
- Add infrastructure for built-in functions to hint whether they return by reference or not. It is NOT currently used for anything, except for interface prototypes (you can use it to request that the function that implements your prototype returns by reference or doesn't return by reference). For downwards compatibility - by default, interface prototypes are agnostic as to whether the function that implements them returns by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that. - Fix ArrayAccess::getOffset() to conduct additional checks. If your getOffset() should work with multidimensional arrays - it must return by reference.