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.
…esent and its MINIT function has been called.
# Should the LICENSE and Zend/LICENSE dates be updated too?
…r DOM) # You need to completley rebuild PHP after this patch.
At the moment this function only converts strings of the form class::method to an array(class,method).