. Fixed bug #70032 (make_http_soap_request calls
zend_hash_get_current_key_ex(,,,NULL). (Laruence)
+- SPL:
+ . Fixed bug #70053 (MutlitpleIterator array-keys incompatible change in
+ PHP 7). (Tjerk)
+
- Standard:
. Fixed bug #70018 (exec does not strip all whitespace). (Laruence)
add_index_zval(return_value, Z_LVAL(element->inf), &retval);
break;
case IS_STRING:
- zend_hash_update(Z_ARRVAL_P(return_value), Z_STR(element->inf), &retval);
+ zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR(element->inf), &retval);
break;
default:
zval_ptr_dtor(&retval);
--- /dev/null
+--TEST--
+SPL: ArrayObject
+--FILE--
+<?php
+
+echo "-- Two empty iterators attached with infos that are different but same array key --\n";
+$mit = new MultipleIterator(MultipleIterator::MIT_KEYS_ASSOC);
+$mit ->attachIterator(new EmptyIterator(), "2");
+$mit ->attachIterator(new EmptyIterator(), 2);
+var_dump($mit->countIterators());
+$mit->rewind();
+var_dump($mit->current());
+
+?>
+--EXPECT--
+-- Two empty iterators attached with infos that are different but same array key --
+int(2)
+array(1) {
+ [2]=>
+ NULL
+}