summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-01-12 16:31:58 +0100
committerNikita Popov <nikic@php.net>2016-03-30 22:49:27 +0200
commitb1e854f7762b2e0648ddc240835cb446ee4d20a7 (patch)
treed1c5812010a92972869fc74828235dda260d937d /NEWS
parent1866ab2d1e1dfb8ada2414fea373c32b8a195eec (diff)
downloadphp-git-b1e854f7762b2e0648ddc240835cb446ee4d20a7.tar.gz
Fix bug #71334
Always duplicate the array before doing a sort with user-defined comparison function, to avoid access to the intermediate inconsistent state. I've also dropped the "array modification" warning, as protection against modifications is no longer relevant if we're always working on a copy anyway. This also required some changes to how SplArray forwards calls to sorting functions.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index abf70d04c1..b8e4eefe09 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ PHP NEWS
. Fixed bug #62059 (ArrayObject and isset are not friends). (Nikita)
. Fixed bug #71871 (Interfaces allow final and abstract functions). (Nikita)
. Fixed bug #71922 (Crash on assert(new class{})). (Nikita)
+ . Fixed bug #71334 (Cannot access array keys while uksort()). (Nikita)
- Curl:
. Fixed bug #71831 (CURLOPT_NOPROXY applied as long instead of string).