Nikita Popov
695b9c6720
Fix bug #52719 : array_walk_recursive crashes if third param of the function is by reference
2012-03-02 18:05:38 +00:00
Xinchen Hui
af92365239
Improved fix for #61058 , and add test script
2012-02-12 05:32:24 +00:00
Xinchen Hui
3d898cfa3f
Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
2012-02-12 04:59:08 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
e43ff1359e
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Arpad Ray
4a6c2a8b44
add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
2011-08-29 20:23:34 +00:00
Adam Harvey
187eb235fe
Implement FR #54459 (Range function accuracy) by changing the way range()
...
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Pierrick Charron
1368364469
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Ilia Alshanetsky
9696faa790
Fixed bug 48484 (array_product() always returns 0 for an empty array).
2010-12-12 19:27:04 +00:00
Felipe Pena
897f0b4c27
- Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
...
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Felipe Pena
5d584d4737
- Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4)
2010-11-01 17:16:47 +00:00
Kalle Sommer Nielsen
cb50011016
Fixed compiler warnings in the standard library
2010-09-23 03:45:36 +00:00
Adam Harvey
f33837ff97
Implemented request #34857 (Change array_combine behaviour when called with
...
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
2010-08-27 03:54:10 +00:00
Dmitry Stogov
d42dbb3bed
Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
2010-06-11 08:53:31 +00:00
Rasmus Lerdorf
2ef8ef9029
typo
2010-05-15 15:37:57 +00:00
Dmitry Stogov
dd5c478be6
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
2010-04-20 11:05:54 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Antony Dovgal
0b8839cd4a
fix the fix for #47409
...
use correct comparison and add missing scope checks to trunk
2009-12-24 13:07:33 +00:00
Ilia Alshanetsky
12f82ee144
Fixed bug #47409 (extract() problem with array containing word "this").
2009-12-23 16:33:58 +00:00
Felipe Pena
a94558c855
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
2009-12-08 01:57:37 +00:00
Stanislav Malyshev
8b64f74baa
proper fix for bug #50006
...
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Dmitry Stogov
85560842c2
Fixed crash in usort() and uasort() in case user comparison function modifyes th
...
e array.
2009-08-14 06:20:21 +00:00
Felipe Pena
fb235dc07f
- MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one)
2009-07-08 18:23:08 +00:00
Moriyoshi Koizumi
fcede921b6
* MFH: Roll it back.
2009-05-15 17:03:03 +00:00
Christopher Jones
ad07803d23
MFH: New array_multisort() test and code comment fix (Simon Westcott)
2009-05-15 16:46:22 +00:00
Etienne Kneuss
7c41c86a02
MFB: Fix #48224 (Remove incorrect shuffle)
2009-05-10 16:45:21 +00:00
Andrei Zmievski
c2445f4122
Revert bogus fix for #47370 .
2009-02-13 22:34:15 +00:00
Moriyoshi Koizumi
018ba64ada
* MFH: Fix bug #47370 (BC breakage of array_unique())
2009-02-12 18:57:55 +00:00
Dmitry Stogov
4d8f18ce97
Fixed bug #47329 (Crash in garbage collector)
2009-02-09 10:47:09 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Arnaud Le Blanc
2dd8d6ff94
MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists)
2008-12-27 03:06:57 +00:00
Andrei Zmievski
dddbfccb9f
MFH
2008-12-12 19:20:49 +00:00
Arnaud Le Blanc
6a6289a90d
MFH: Fixed bugs #44181 & #44182 (extract() and references)
...
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:41 +00:00
Stanislav Malyshev
45572a498a
restore BC for arrays
...
[DOC] natsort, natcasesort, usort, uasort, uksort, array_flip, array_unique
still won't work with objects
2008-11-24 18:12:17 +00:00
Arnaud Le Blanc
d69dfa4b9f
MFH: initialize optional vars
2008-10-21 22:08:38 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Felipe Pena
42feeddd40
MFH:
...
- Removed the undocumented object support in the leftover array functions [DOC]
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 03:05:43 +00:00
Lars Strojny
080157870f
MFH: Allow mixed $initial (patch by Christian Seiler)
2008-08-20 20:35:40 +00:00
Felipe Pena
252d7d76a8
- MFH: New parameter parsing API
2008-08-17 22:14:14 +00:00
Felipe Pena
f2fc267e3a
- MFH: New parameter parsing API (for min() and max())
2008-08-10 17:50:44 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Johannes Schlüter
b9f7b21ec1
MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas)
2008-07-31 20:18:17 +00:00
Felipe Pena
a1ce847cd5
- MFH: Improved parameter handling
2008-07-24 03:07:22 +00:00
Felipe Pena
a2cc7ec96a
- MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
2008-07-23 16:28:46 +00:00
Etienne Kneuss
8ceb0b6fd3
MFH: Fix resolution rule of count vs. handler
2008-07-09 21:29:52 +00:00
Matt Wilmas
572adc05e4
MFH: Initialize with length instead of 0
2008-06-02 11:20:59 +00:00
Antony Dovgal
779769563c
fix uninitialized variable
2008-06-02 10:27:55 +00:00
Matt Wilmas
c1126cc5b6
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)
...
- Also, use new hash_quick_del function where possible
2008-05-30 10:55:14 +00:00
Matt Wilmas
7da75d81e7
MFH: Add array_init_size() and use it where array size is known at initialization
2008-05-27 10:29:33 +00:00