1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Commit Graph

395 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
9ebb304ed5 - MFH: Roll it back. 2009-05-15 17:03:43 +00:00
Etienne Kneuss
c94580895f Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:01 +00:00
Andrei Zmievski
c2d0db2a3a Revert bogus fix for #47370. 2009-02-13 22:26:46 +00:00
Moriyoshi Koizumi
d719c020e6 * MFH: Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:30:31 +00:00
Sebastian Bergmann
ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Arnaud Le Blanc
e27731f3db MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:07:46 +00:00
Felipe Pena
99e6a560dc - Fixed BC in array_unique (HASH_OF stuff), warning and CS in another part 2008-12-25 11:05:19 +00:00
Andrei Zmievski
844799cfd5 MFH 2008-12-13 00:38:29 +00:00
Arnaud Le Blanc
22f994ad4e MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 01:00:36 +00:00
Dmitry Stogov
764f6144d3 Fixed bug #45312 (Segmentation fault on second request for array functions). 2008-06-19 12:09:22 +00:00
Matt Wilmas
b3abcd8a34 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior) 2008-05-30 10:55:44 +00:00
Felipe Pena
0f3bde23fd - MFB: Making compatible with 64bit platform 2008-05-18 21:50:58 +00:00
Felipe Pena
69663666c1 Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:13:00 +00:00
Felipe Pena
5db9cbbc40 MFB: Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values) 2008-02-27 02:04:09 +00:00
Antony Dovgal
e3189410c4 MFH: recursion protection in count() 2008-02-15 09:33:26 +00:00
Felipe Pena
a69ea8773d Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:02:02 +00:00
Dmitry Stogov
8448591096 Fixed memory leak 2008-02-14 08:46:08 +00:00
Felipe Pena
d1f536595e MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 12:47:30 +00:00
Ilia Alshanetsky
5b0fbbefe1 MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 16:01:21 +00:00
Dmitry Stogov
e4782cddf4 Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:44:53 +00:00
Brian Shire
751b0807b1 MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:10:09 +00:00
Sebastian Bergmann
d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Ilia Alshanetsky
f6829cf90f MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 20:04:13 +00:00
Ilia Alshanetsky
32463e7af9 Fixed bug #43482 (array_pad() does not warn on very small pad numbers). 2007-12-03 14:11:09 +00:00
Ilia Alshanetsky
947cebee3c MFB: Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:47 +00:00
Jani Taskinen
df35a307cc MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:28:21 +00:00
Jani Taskinen
171184b64d MFH: fix typo 2007-10-31 13:39:14 +00:00
Scott MacVicar
3e47b3cb7b MFB53: Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) 2007-10-18 14:39:08 +00:00
Jani Taskinen
1be447eb95 MFH: Removed ending dots from error messages 2007-10-04 13:31:11 +00:00
Antony Dovgal
63b3528cb1 improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:04:13 +00:00
Ilia Alshanetsky
24c806c41b Fixed memory leak inside array_intersec (coverity issues #403,#404) 2007-09-22 15:38:00 +00:00
Ilia Alshanetsky
91e8740fe4 Fixed memory leak inside array_diff() (coverity issues #401,#402) 2007-09-22 15:32:11 +00:00
Antony Dovgal
43cc8937b2 MFH: plug leak on error (coverity issue #405) 2007-09-21 13:51:49 +00:00
Dmitry Stogov
9ee4848c3f Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc(). 2007-09-21 13:10:59 +00:00
Dmitry Stogov
8d377a698a Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements) 2007-09-20 09:22:59 +00:00
Jani Taskinen
c4be8ab831 - Fix the fix for bug #42233 2007-08-10 12:17:26 +00:00
Jani Taskinen
0d5dd8829b - Fixed bug #42233 (Problems with æøå in extract()). 2007-08-08 07:41:09 +00:00
Ilia Alshanetsky
67a2cca930 Fixed bug #41685 (array_push() fails to warn when next index is already
occupied).
2007-06-24 17:37:01 +00:00
Ilia Alshanetsky
24bdf0e368 Fixed bug #41686 (Omitting length param in array_slice not possible). 2007-06-18 16:53:09 +00:00
Antony Dovgal
03b0a479dd fix folding 2007-06-05 12:12:55 +00:00
Ilia Alshanetsky
c34806e145 Fixed bug #41121 (range() overflow handling for large numbers on 32bit
machines).
2007-04-19 23:21:22 +00:00
Wez Furlong
16fc958508 fixes #40848 2007-03-18 20:20:23 +00:00
Stanislav Malyshev
90eff54400 Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) 2007-03-16 19:38:58 +00:00
Ilia Alshanetsky
1ac71c4fe9 Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
2007-03-04 17:21:16 +00:00
Antony Dovgal
2c36778e47 MFH: fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-22 08:17:26 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Brian Shire
5bf3df531f Fixed bug #30074
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
  Added test
2006-12-17 20:09:48 +00:00
Ilia Alshanetsky
e64cb1ae4d Optimize extract()
# Patch by Brian Shire
2006-12-10 19:43:03 +00:00
Antony Dovgal
df1a1c8441 MFH: fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:42:41 +00:00
Antony Dovgal
eca1911b72 fix leak, add test 2006-11-15 22:10:19 +00:00