. Fixed bug #71617 (private properties lost when unserializing ArrayObject).
(Nikita)
+- Standard:
+ . Fixed bug #71660 (array_column behaves incorrectly after foreach by
+ reference). (Laruence)
+
- Zip:
. Update bundled libzip to 1.1.2. (Remi, Anatol)
--- /dev/null
+--TEST--
+Bug #71660 (array_column behaves incorrectly after foreach by reference)
+--FILE--
+<?php
+$arr = array('id' => 12345, 'name' => 'sam');
+foreach ($arr as &$v) {
+ $v = $v;
+}
+
+$arr = [$arr];
+
+var_dump(array_column($arr, 'name', 'id'));
+?>
+--EXPECT--
+array(1) {
+ [12345]=>
+ string(3) "sam"
+}