PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-?? ??? 2018, PHP 7.2.11
+?? ??? ????, PHP 7.3.0RC2
+
+- CURL:
+ . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
+ (Pierrick)
- Core:
+ . Fixed bug #76869 (Incorrect bypassing protected method accessibilty check).
+ (Dmitry)
. Fixed bug #76800 (foreach inconsistent if array modified during loop).
(Dmitry)
+ . Fixed bug #76901 (method_exists on SPL iterator passthrough method corrupts
+ memory). (Nikita)
-- CURL:
- . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected).
- (Pierrick)
+- Standard:
+ . Fixed bug #75533 (array_reduce is slow when $carry is large array).
+ (Manabu Matsui)
+
+- XMLRPC:
+ . Fixed bug #76886 (Can't build xmlrpc with expat). (Thomas Petazzoni, cmb)
+
+13 Sep 2018, PHP 7.3.0RC1
+
+- Core:
+ . Fixed bug #76825 (Undefined symbols ___cpuid_count). (Laruence)
+ . Fixed bug #76820 (Z_COPYABLE invalid definition). (mvdwerve, cmb)
+ . Fixed bug #76510 (file_exists() stopped working for phar://). (cmb)
+
+- intl:
+ . Fixed bug #76829 (Incorrect validation of domain on idn_to_utf8()
+ function). (Anatol)
+
+- MBString:
+ . Updated to Oniguruma 6.9.0. (cmb)
- Opcache:
. Fixed bug #76832 (ZendOPcache.MemoryBase periodically deleted by the OS).
lcname = zend_string_tolower(method_name);
if (zend_hash_exists(&ce->function_table, lcname)) {
- zend_string_release(lcname);
+ zend_string_release_ex(lcname, 0);
RETURN_TRUE;
- } else {
- union _zend_function *func = NULL;
-
- if (Z_TYPE_P(klass) == IS_OBJECT
- && Z_OBJ_HT_P(klass)->get_method != NULL
- && (func = Z_OBJ_HT_P(klass)->get_method(&Z_OBJ_P(klass), method_name, NULL)) != NULL
- ) {
+ } else if (Z_TYPE_P(klass) == IS_OBJECT && Z_OBJ_HT_P(klass)->get_method != NULL) {
+ zend_object *obj = Z_OBJ_P(klass);
+ zend_function *func = Z_OBJ_HT_P(klass)->get_method(&obj, method_name, NULL);
+ if (func != NULL) {
if (func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) {
/* Returns true to the fake Closure's __invoke */
RETVAL_BOOL(func->common.scope == zend_ce_closure