Commit Graph

433 Commits

Author SHA1 Message Date
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Jani Taskinen
b6a2755df3 - Fixed bug #43541 (array_slice() length parameter messed up) 2007-12-11 08:30:46 +00:00
Ilia Alshanetsky
40226917ab MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 19:57:09 +00:00
Ilia Alshanetsky
678c532eee MFB: Fixed bug #43482 (array_pad() does not warn on very small pad
numbers).
2007-12-03 14:13:45 +00:00
Ilia Alshanetsky
a204180d64 MFB : Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:58 +00:00
Jani Taskinen
a27600b42a - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input)
# Note: Same problem was with array_diff_assoc()
2007-11-06 13:26:24 +00:00
Ilia Alshanetsky
4f539c9a28 MFB: Fixed bug #43197 (array_intersect_assoc() does not emit warning
messages for error inputs)
2007-11-05 23:55:21 +00:00
Jani Taskinen
6820ea643d - WS + CS and namespace protection 2007-11-02 16:19:31 +00:00
Antony Dovgal
02188d66c4 fix typo and silence compile warning 2007-11-02 12:03:25 +00:00
Jani Taskinen
1c47fc23df - Fix the fix for bug #41686 2007-11-02 11:48:35 +00:00
Jani Taskinen
231fcedd03 MFB52: Fixed bug #41686 2007-11-02 10:50:33 +00:00
Jani Taskinen
7bd01cbce2 - Fix typo (bug #43125) 2007-10-31 13:39:00 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Antony Dovgal
b50ed5df9c MF5_2: improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:06:15 +00:00
Jani Taskinen
30230074ba - ws+cs (prepare syncing some parts to PHP_5_3) 2007-09-30 05:15:35 +00:00
Antony Dovgal
cd519f058c plug leak on error (coverity issue #405) 2007-09-21 13:50:47 +00:00
Dmitry Stogov
f5ee0dc18e Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc(). 2007-09-21 13:11:16 +00:00
Dmitry Stogov
d5473d816e 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:23:11 +00:00
Antony Dovgal
a254d5c574 empty/invalid names are not allowed (empty prefixes are) 2007-08-10 13:20:22 +00:00
Antony Dovgal
c13e337f27 allow empty prefix (restore 5_2 behavior) 2007-08-10 12:54:38 +00:00
Jani Taskinen
28cf1788a9 MFB: Fixed the fix for bug #42233 and added test for it. 2007-08-10 12:23:16 +00:00
Johannes Schlüter
ab79c3dea9 - Fix build (patch by Ulf Wendel) 2007-08-08 14:52:40 +00:00
Jani Taskinen
f602af17b4 MFB: Fix bug #42233 2007-08-08 07:46:00 +00:00
Dmitry Stogov
53ad22aec3 wrong condition 2007-07-09 14:32:59 +00:00
Antony Dovgal
770215e0c7 synchronized range() behaviour in HEAD with 5_2 2007-06-28 16:06:23 +00:00
Antony Dovgal
6eb6de0fcf fix folding 2007-06-05 12:17:15 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Antony Dovgal
451d4858b3 fix #41432 (extract() does not accept empty prefix) 2007-05-18 14:11:12 +00:00
Wez Furlong
edf3fe4731 MFB, #40848 2007-03-18 20:23:51 +00:00
Stanislav Malyshev
023531f76c Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) 2007-03-16 20:16:05 +00:00
Antony Dovgal
d181d3a0b3 fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-22 08:16:36 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Hannes Magnusson
5ed5c10517 Fix ZTS build... 2006-12-22 01:07:28 +00:00
Andrei Zmievski
757fb1e01f Bite the bullet and port the natural comparison algorithm to support
UChar strings. Also, simplify the original code.

# Argggghh, post-incremented iteration sucks. That means you, U16_* stuff.
2006-12-21 21:47:56 +00:00
Andrei Zmievski
e722dce575 - Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Marcus Boerger
98dce57dd5 - Fix ZVAL_ZSTRL 2006-12-19 21:13:21 +00:00
Brian Shire
3b4c2e0458 -Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.
2006-12-19 08:02:48 +00:00
Antony Dovgal
6c8ce9805b fix import_request_variables() 2006-12-06 17:42:47 +00:00
Andrei Zmievski
a775c82161 extract() should convert keys using runtime encoding. 2006-12-05 23:17:06 +00:00
Antony Dovgal
5f29b8e40e fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:58:11 +00:00
Andrei Zmievski
b767e3cf9f Unicode support in import_request_variables(). 2006-11-21 22:21:38 +00:00
Antony Dovgal
0ca02684c1 fix array_key_exists() with NULL key in Unicode mode 2006-11-15 22:43:19 +00:00
Antony Dovgal
37754b437f fix memory leak and typo in zend_parse_parameters(), which caused segfault
add test
2006-11-15 22:09:25 +00:00
Ilia Alshanetsky
a65efab679 MFB: php_splice() optimization 2006-11-13 15:34:49 +00:00
Hannes Magnusson
6d22129d9b Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:11:58 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
25ac82bbb6 MFB: optimize zend_hash_init() with known hash table sizes. 2006-10-03 17:45:16 +00:00
Hannes Magnusson
0eaea000db compact() doesnt throw "wrong param count" 2006-10-03 16:36:57 +00:00
Andrei Zmievski
7ff8b9b090 Bug fixes for substr_replace(). 2006-09-20 20:30:19 +00:00
Antony Dovgal
591477b143 support objects in array_walk*()
add new tests, fix old ones
2006-09-19 09:33:02 +00:00