diff options
author | Nikita Popov <nikic@php.net> | 2016-01-12 16:31:58 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-03-30 22:49:27 +0200 |
commit | b1e854f7762b2e0648ddc240835cb446ee4d20a7 (patch) | |
tree | d1c5812010a92972869fc74828235dda260d937d /NEWS | |
parent | 1866ab2d1e1dfb8ada2414fea373c32b8a195eec (diff) | |
download | php-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-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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). |