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
Felipe Pena
d90f689d73
- Making compatible with 64bit plataform
2008-05-18 15:42:09 +00:00
Antony Dovgal
7633511047
fix compile warnings
2008-05-04 11:26:50 +00:00
Dmitry Stogov
2ecf4bb0a7
Lazy EG(active_symbol_table) initialization
2008-04-29 08:15:20 +00:00
Felipe Pena
eea093b47c
MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...)
2008-03-12 19:18:42 +00:00
Felipe Pena
f7078d469c
Fixed Bug #44212 (array_diff_assoc not reporting missing arguments)
2008-02-22 13:28:40 +00:00
Antony Dovgal
0970b9f5e9
MFH: recursion protection in count()
2008-02-15 09:33:09 +00:00
Felipe Pena
aefe056911
MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc)
2008-02-14 14:08:22 +00:00
Dmitry Stogov
4de1e20fbb
Fixed memory leak
2008-02-14 08:46:25 +00:00
Felipe Pena
ea3a6ed11f
array_slice() - Fixed behavior when NULL is given in third parameter (BC)
2008-02-12 01:31:12 +00:00
Antony Dovgal
038696fed1
MFH
2008-02-11 13:34:41 +00:00
Ilia Alshanetsky
6e9ef8e316
Fixed bug #44046 (crash inside array_slice() function with an invalid
...
by-ref offset).
2008-02-05 15:58:27 +00:00
Dmitry Stogov
382f1dddfa
Fixed bug #43505 (Assign by reference bug)
2008-01-29 10:45:07 +00:00
Antony Dovgal
183ed5b686
MFH: fix #43596 (array_slice(): $length arg ignored when it is 0)
2008-01-29 00:39:46 +00:00
Rob Richards
90f168deae
MFH: fix zts build
2008-01-25 15:52:48 +00:00
Antony Dovgal
2907ae9d73
MFH: endless loop (and stack overflow) protection in compact()
2008-01-25 13:42:36 +00:00
Antony Dovgal
67c8d8d95e
MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
...
patch by Felipe
2008-01-23 12:09:52 +00:00