History log of /PHP_TRUNK/ext/standard/array.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b95353 19-Nov-2014 Veres Lajos <vlajos@gmail.com> typo fixes - https://github.com/vlajos/misspell_fixer
/php-src/ext/standard/array.c
53560ca 23-Oct-2014 Anatol Belski <ab@php.net> rework the previous fix for var names with size_t, no ugly casts anymore
/php-src/ext/standard/array.c
09a01a8 22-Oct-2014 Anatol Belski <ab@php.net> this should be uint32
/php-src/ext/standard/array.c
36ce467 22-Oct-2014 Anatol Belski <ab@php.net> fix datatype mismatches
/php-src/ext/standard/array.c
1ea5982 22-Oct-2014 Anatol Belski <ab@php.net> fixing datatype mismatches
/php-src/ext/standard/array.c
35dc0a2 16-Oct-2014 Dmitry Stogov <dmitry@zend.com> array_pop/array_shift optimization
/php-src/ext/standard/array.c
fc6ce7d 16-Oct-2014 Nikita Popov <nikic@php.net> Fix array_keys() on $GLOBALS
/php-src/ext/standard/array.c
ee5b30f 09-Oct-2014 Nikita Popov <nikic@php.net> Remove support for classes without class entries

get_class_entry must be non-NULL and return non-NULL.
/php-src/ext/standard/array.c
e33f3d3 20-Sep-2014 Nikita Popov <nikic@php.net> Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
/php-src/ext/standard/array.c
d0cb715 19-Sep-2014 Johannes Schlüter <johannes@php.net> s/PHP 5/PHP 7/
/php-src/ext/standard/array.c
bccc653 19-Sep-2014 Dmitry Stogov <dmitry@zend.com> Avoid double IS_INTERNED() check
/php-src/ext/standard/array.c
3bc8a95 19-Sep-2014 Dmitry Stogov <dmitry@zend.com> Fixed useless or duplicated IS_INTERNED() checks
/php-src/ext/standard/array.c
8c4ab0d 16-Sep-2014 Anatol Belski <ab@php.net> fix signed/unsigned mismatch
/php-src/ext/standard/array.c
c8ff342 28-Aug-2014 Dmitry Stogov <dmitry@zend.com> Duplicate array only if neccessary
/php-src/ext/standard/array.c
af59e92 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 7
/php-src/ext/standard/array.c
b9514bb 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 6
/php-src/ext/standard/array.c
4d997f6 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 3
/php-src/ext/standard/array.c
6f9f0bf 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 2
/php-src/ext/standard/array.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/ext/standard/array.c
9d76049 21-Aug-2014 Anatol Belski <ab@php.net> fixed array_pad()
/php-src/ext/standard/array.c
6d54e89 20-Aug-2014 Anatol Belski <ab@php.net> Merge remote-tracking branch 'php/master'
cf09bc7 20-Aug-2014 Dmitry Stogov <dmitry@zend.com> Fixed bug #67874 (Crash in array_map())
/php-src/ext/standard/array.c
97c5172 19-Aug-2014 Anatol Belski <ab@php.net> Merge remote-tracking branch 'php/master'

Conflicts:
ext/date/lib/parse_date.c
0f5bad9 18-Aug-2014 Dmitry Stogov <dmitry@zend.com> Fixed bug #67856 (Leak when using array_reduce with by-ref function)
/php-src/ext/standard/array.c
b8324e6 18-Aug-2014 Anatol Belski <ab@php.net> further fixes to ext/standard
/php-src/ext/standard/array.c
c586133 18-Aug-2014 Anatol Belski <ab@php.net> rename zval_get_long and fixes to some string functions
/php-src/ext/standard/array.c
f2182ab 17-Aug-2014 Anatol Belski <ab@php.net> some more pure naming replacements
/php-src/ext/standard/array.c
7534bf1 16-Aug-2014 Anatol Belski <ab@php.net> fix set_time_limit, substr and some more
/php-src/ext/standard/array.c
1169de3 16-Aug-2014 Anatol Belski <ab@php.net> fix some cases with fast zpp
/php-src/ext/standard/array.c
b7e7a89 15-Aug-2014 Anatol Belski <ab@php.net> several fixes -

- param parsing Z_PARAM_STR vs Z_PARAM_STRING
- some functions for new params
- etc
/php-src/ext/standard/array.c
cb25136 16-Aug-2014 Anatol Belski <ab@php.net> fix macros in the 5 basic extensions
/php-src/ext/standard/array.c
7301994 04-Aug-2014 Dmitry Stogov <dmitry@zend.com> Merge branch 'master' into phpng

* master: (46 commits)
PHP_INT_MIN and _MAX tests
NEWS and UPGRADING
Added PHP_INT_MIN
Fix wrong lenght size
Bug #51096 - Remove unnecessary ? for first/last day of
Moved streams related functions to xp_ssl.c
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
We need to turn off any strict mode here for this warning to show up
Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Revert "Fix bug #67064 in a BC safe way"
Updated NEWS for #67693
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
add missing entry to NEWS
...

Conflicts:
Zend/tests/errmsg_040.phpt
Zend/tests/ns_059.phpt
Zend/zend_language_parser.y
Zend/zend_vm_def.h
ext/openssl/openssl.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_directory.c
ext/spl/spl_iterators.c
ext/sqlite3/sqlite3.c
ext/standard/array.c
3c0adf2 30-Jul-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.6'
d5ddd2d 30-Jul-2014 Bob Weinand <bobwei9@hotmail.com> Disable restrictions regarding arrays in constants at run-time.
For the discussion around it, see the thread on the mailing list:
http://www.mail-archive.com/internals@lists.php.net/msg68245.html
/php-src/ext/standard/array.c
354ee12 30-Jul-2014 Bob Weinand <bobwei9@hotmail.com> Revert "Fix bug #67064 in a BC safe way"

This reverts commit 1a4a9eede59b853f11e8e8b965e5f715f53da8f7.

Conflicts:
ext/standard/array.c
ext/standard/tests/array/bug67064.phpt
/php-src/ext/standard/array.c
0dc88c4 30-Jul-2014 Tjerk Meesters <datibbaw@php.net> Merge branch 'PHP-5.6'

* PHP-5.6:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
f925892 30-Jul-2014 Tjerk Meesters <datibbaw@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
e996729 30-Jul-2014 Tjerk Meesters <datibbaw@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
da3add2 30-Jul-2014 Tjerk Meesters <datibbaw@php.net> Fixed bug #67693 - incorrect push to the empty array
/php-src/ext/standard/array.c
dda7e84 29-Jul-2014 Dmitry Stogov <dmitry@zend.com> Fixed ext/standard/tests/array/unexpected_array_mod_bug.phpt
/php-src/ext/standard/array.c
27f3879 11-Jul-2014 Dmitry Stogov <dmitry@zend.com> Fast parameter parsing API

This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
/php-src/ext/standard/array.c
8f229b2 10-Jul-2014 Dmitry Stogov <dmitry@zend.com> Optimized array_map() and array_combine()
/php-src/ext/standard/array.c
6bf24f4 04-Jul-2014 Dmitry Stogov <dmitry@zend.com> Removed EG(active_symbol_table) and use corresponding value from EG(current_execute_data)
/php-src/ext/standard/array.c
b108267 18-Jun-2014 Dmitry Stogov <dmitry@zend.com> Merge branch 'master' into phpng

* master: (41 commits)
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
NEWS
Fix Request #67453 Allow to unserialize empty data.
Update copyright year to 2014
Update copyright year for re2c generated files
Update copyright year to 2014
Update copyright year for re2c files as well
Fix patch for bug #67436
fix failed test
Fix test on modern distro where old unsecure algo are disabled in openssl config. Testing recent algo should be enough to check this function.
Added tests for bug 67436
Fixed wrong XFAIL test - already fixed
Fix typo in Bug #67406 NEWS entry
Fix typo in Bug #67406 NEWS entry
...

Conflicts:
Zend/zend_compile.c
ext/session/session.c
ext/standard/array.c
ext/standard/http_fopen_wrapper.c
tests/classes/bug63462.phpt
7d2bcbe 13-Jun-2014 Matteo Beccati <mbeccati@php.net> Merge branch 'PHP-5.6'

* PHP-5.6:
Fix bug #67433 SIGSEGV when using count() on an object implementing Countable
df5551b 13-Jun-2014 Matteo Beccati <mbeccati@php.net> Fix bug #67433 SIGSEGV when using count() on an object implementing Countable
/php-src/ext/standard/array.c
7c045c6 09-Jun-2014 Dmitry Stogov <dmitry@zend.com> Optimized for fast path
/php-src/ext/standard/array.c
1593d94 05-Jun-2014 Dmitry Stogov <dmitry@zend.com> Fixed compilation warnings
/php-src/ext/standard/array.c
c1965f5 05-Jun-2014 Dmitry Stogov <dmitry@zend.com> Use reference counting instead of zval duplication
/php-src/ext/standard/array.c
30c0557 02-Jun-2014 Dmitry Stogov <dmitry@zend.com> Optimized conditions order
/php-src/ext/standard/array.c
b3b616c 29-May-2014 Dmitry Stogov <dmitry@zend.com> Introduced immutable arrays. They don't need to be copyed and may be used directly from SHM.
/php-src/ext/standard/array.c
40256e0 26-May-2014 Dmitry Stogov <dmitry@zend.com> Use specialized functions instead of macros
/php-src/ext/standard/array.c
43cf92e 25-May-2014 Nikita Popov <nikic@php.net> Fix in_array (strict) with references
/php-src/ext/standard/array.c
9eb89dd 23-May-2014 Dmitry Stogov <dmitry@zend.com> Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.
/php-src/ext/standard/array.c
d8651fb 03-May-2014 Xinchen Hui <laruence@gmail.com> Make they are in the same style of Z_ISREF
/php-src/ext/standard/array.c
17d027e 30-Apr-2014 Dmitry Stogov <dmitry@zend.com> Split IS_BOOL into IS_FALSE and IS_TRUE
/php-src/ext/standard/array.c
dd419d2 25-Apr-2014 Nikita Popov <nikic@php.net> Replace more convert_to_* calls
/php-src/ext/standard/array.c
b1b7939 25-Apr-2014 Nikita Popov <nikic@php.net> Move more code to use zval_get_string
/php-src/ext/standard/array.c
f9927a6 25-Apr-2014 Dmitry Stogov <dmitry@zend.com> Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)

Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
5864ce8 22-Apr-2014 Dmitry Stogov <dmitry@zend.com> Fixed compilation warnings
/php-src/ext/standard/array.c
b886d9c 21-Apr-2014 Dmitry Stogov <dmitry@zend.com> Use fast comparison function
/php-src/ext/standard/array.c
72c287b 21-Apr-2014 Dmitry Stogov <dmitry@zend.com> Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
/php-src/ext/standard/array.c
54d9ad5 18-Apr-2014 Dmitry Stogov <dmitry@zend.com> More ZEND_HASH_FOREACH_* related changes
/php-src/ext/standard/array.c
277f8f6 18-Apr-2014 Dmitry Stogov <dmitry@zend.com> ZEND_HASH_FOREACH_* usage
/php-src/ext/standard/array.c
7652a97 18-Apr-2014 Dmitry Stogov <dmitry@zend.com> Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.
/php-src/ext/standard/array.c
153e549 15-Apr-2014 Dmitry Stogov <dmitry@zend.com> Fixed zend_string/char mess
/php-src/ext/standard/array.c
050d7e3 15-Apr-2014 Dmitry Stogov <dmitry@zend.com> Cleanup (1-st round)
/php-src/ext/standard/array.c
703c1bc 14-Apr-2014 Dmitry Stogov <dmitry@zend.com> Fixed passing arguments by reference into array_walk() callbacks.
/php-src/ext/standard/array.c
1284429 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.6'
a93e734 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.5' into PHP-5.6
bf3edba 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.4' into PHP-5.5
beda509 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Reverted to 5a0da281e5a9fa02db18b4822d8b103c65849fa9
Discussion: http://news.php.net/php.cvs/76836
/php-src/ext/standard/array.c
ef214aa 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.6'
fb99409 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.5' into PHP-5.6
eca0644 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Merge branch 'PHP-5.4' into PHP-5.5
1a4a9ee 13-Apr-2014 Bob Weinand <bobwei9@hotmail.com> Fix bug #67064 in a BC safe way
You can use an optional parameter now when implementing the Countable interface
to get the $mode passed to count().
/php-src/ext/standard/array.c
21e01f2 08-Apr-2014 Nikita Popov <nikic@php.net> Merge branch 'PHP-5.6'
ad2ef3d 09-Apr-2014 Nikita Popov <nikic@php.net> Add only_integer_keys option to zend_hash_reindex

This allows to either do a full reindex, or only reindex the integer
keys.
/php-src/ext/standard/array.c
f485c84 09-Apr-2014 Nikita Popov <nikic@php.net> Don't always separate splice replacement array

Only perform separation when a typecast is done. Avoids doing a
full hash copy in many cases.
/php-src/ext/standard/array.c
22d3eb3 08-Apr-2014 Nikita Popov <nikic@php.net> Add zend_hash_splice

This implements the original functionality of php_splice, but
as an in-place operation, thus avoiding copying the HT.

This is much faster (~10x) if the splice removes a small portion
of the array and doesn't insert many elements.
/php-src/ext/standard/array.c
1aa8719 08-Apr-2014 Nikita Popov <nikic@php.net> Add zend_hash_reindex

The implementation differs from the original in array.c in that it
rehashes the hashtable in the same loop. This is approximately two
times faster (not counting the rare case of a purely associative
array).
/php-src/ext/standard/array.c
3d17219 07-Apr-2014 Dmitry Stogov <dmitry@zend.com> Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
/php-src/ext/standard/array.c
58f0f25 03-Apr-2014 Dmitry Stogov <dmitry@zend.com> Various VM optimizations
/php-src/ext/standard/array.c
76cc99f 03-Apr-2014 Dmitry Stogov <dmitry@zend.com> Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
/php-src/ext/standard/array.c
6b2ed57 01-Apr-2014 Dmitry Stogov <dmitry@zend.com> Avoid unnecessry reallocations
/php-src/ext/standard/array.c
a25a1ba 01-Apr-2014 Dmitry Stogov <dmitry@zend.com> STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.
/php-src/ext/standard/array.c
ea85451 27-Mar-2014 Dmitry Stogov <dmitry@zend.com> Refactored data structures to keep zend_object* instead of a whole zval in some places
/php-src/ext/standard/array.c
c6cba55 27-Mar-2014 Dmitry Stogov <dmitry@zend.com> Use ZVAL_DEREF() macro
/php-src/ext/standard/array.c
54d559d 27-Mar-2014 Dmitry Stogov <dmitry@zend.com> Replaced (Z_TYPE(x) == IS_REFERENCE) with (Z_ISREF(x))
/php-src/ext/standard/array.c
f3272bf 26-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed extract() support IS_INDIRECT
/php-src/ext/standard/array.c
887189c 26-Mar-2014 Dmitry Stogov <dmitry@zend.com> Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
/php-src/ext/standard/array.c
a6f09e4 19-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed memory leak
/php-src/ext/standard/array.c
b7938ab 19-Mar-2014 Dmitry Stogov <dmitry@zend.com> Refactored GC (incomplete)
/php-src/ext/standard/array.c
6b6e903 18-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed support for references
/php-src/ext/standard/array.c
aa5f553 17-Mar-2014 Dmitry Stogov <dmitry@zend.com> Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*
/php-src/ext/standard/array.c
3203c65 17-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed COUNT_RECURSIVE reference handling
/php-src/ext/standard/array.c
734db60 13-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed reference support
/php-src/ext/standard/array.c
5f613c0 13-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed support for references
/php-src/ext/standard/array.c
dd1bd54 13-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed support for references
/php-src/ext/standard/array.c
d708d3c 11-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed passing arguments by reference from internal functions
/php-src/ext/standard/array.c
b2b457a 09-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed wrong addref usage in extract
/php-src/ext/standard/array.c
47f9014 05-Mar-2014 Dmitry Stogov <dmitry@zend.com> Fixed array_nultisort() to support IS_REFERENCE
/php-src/ext/standard/array.c
7320abb 05-Mar-2014 Dmitry Stogov <dmitry@zend.com> Reverted "efree(args);" removed by mistake
/php-src/ext/standard/array.c
70b7887 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed refcounted handling
/php-src/ext/standard/array.c
74c2dee 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed refcounted
/php-src/ext/standard/array.c
581fa58 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

Conflicts:
ext/standard/array.c
bfaa966 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed refcounted
/php-src/ext/standard/array.c
3733737 05-Mar-2014 Dmitry Stogov <dmitry@zend.com> Handle interned strings as non-refcounted scalars
/php-src/ext/standard/array.c
0791bdb 05-Mar-2014 Xinchen Hui <laruence@gmail.com> retval might be IS_UNDEF even the call is successed
/php-src/ext/standard/array.c
75d567e 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Fixed NULL pointer def in ext/standard/tests/array/array_fill_keys_variation2.php
/php-src/ext/standard/array.c
2ee6bc1 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Remove "efree(args")
/php-src/ext/standard/array.c
57ae19a 05-Mar-2014 Xinchen Hui <laruence@gmail.com> Checkout refcounted before doing addref
/php-src/ext/standard/array.c
040dea8 05-Mar-2014 Dmitry Stogov <dmitry@zend.com> Arguments taken by internal functions using zend_parse_parameters() with "+" and "*" specifications must not be deallocated anymore.
/php-src/ext/standard/array.c
2bf3018 28-Feb-2014 Dmitry Stogov <dmitry@zend.com> Fixed array_push()
/php-src/ext/standard/array.c
71dac3d 25-Feb-2014 Xinchen Hui <laruence@gmail.com> Don't add_ref in add_*_str functions
/php-src/ext/standard/array.c
69a93d2 23-Feb-2014 Xinchen Hui <laruence@gmail.com> Fixed segfault in ext/standard/tests/strings/bug49785.phpt
/php-src/ext/standard/array.c
d0eccde 21-Feb-2014 Dmitry Stogov <dmitry@zend.com> Fixed array_unshift()
/php-src/ext/standard/array.c
2161103 10-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete)
/php-src/ext/standard/array.c
f4cfaf3 10-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete)
/php-src/ext/standard/array.c
0f53e37 03-Jan-2014 Xinchen Hui <laruence@php.net> Merge branch 'PHP-5.6'
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/standard/array.c
47c9027 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/standard/array.c
c0d060f 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/standard/array.c
d14670c 18-Dec-2013 Kalle Sommer Nielsen <kalle@php.net> Eliminate another TSRMLS_FETCH() in i_zend_is_true()

# Affected extensions have all been updated, ext/opcache and ext/zip
# both have macros for cross version compatibility
/php-src/ext/standard/array.c
dc4bf92 12-Nov-2013 Nikita Popov <nikic@php.net> Allow $num=0 in array_fill()

Implemented request #49824.
/php-src/ext/standard/array.c
98c9e56 30-Oct-2013 Sherif Ramadan <googleguy@php.net> Merge branch 'pull-request/287'

Add ability to use array keys with array_filter().
This adds a third (optional) argument to array_filter() that will determine
what gets passed to the callback, the array key, value or both.
The third argument can be one of two constants: ARRAY_FILTER_USE_BOTH or,
ARRAY_FILTER_USE_KEY.
b0f9768 28-Oct-2013 Dmitry Stogov <dmitry@zend.com> Merge branch 'PHP-5.5'

* PHP-5.5:
Improved performance of array_merge() by eliminating useless copying

Conflicts:
NEWS
5c0890b 28-Oct-2013 Dmitry Stogov <dmitry@zend.com> Improved performance of array_merge() by eliminating useless copying
/php-src/ext/standard/array.c
75ba75e 26-Sep-2013 Tjerk Meesters <datibbaw@php.net> Using only two constants to signal use type intent.
/php-src/ext/standard/array.c
0492145 26-Sep-2013 datibbaw <datibbaw@php.net> added bitmask variation
/php-src/ext/standard/array.c
a88c7be 21-Feb-2013 datibbaw <datibbaw@php.net> added use_keys argument to array_filter()
/php-src/ext/standard/array.c
47ee470 26-Aug-2013 Nikita Popov <nikic@php.net> Make use of direct returns in some places
/php-src/ext/standard/array.c
39612af 15-Aug-2013 Christopher Jones <sixd@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

Conflicts:
ext/dba/libinifile/inifile.c
9ad97cd 15-Aug-2013 Christopher Jones <sixd@php.net> Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
/php-src/ext/standard/array.c
4749457 08-Jul-2013 Veres Lajos <vlajos@gmail.com> HASH_KEY_NON_EXISTANT fix
/php-src/ext/standard/array.c
c7b58e4 21-Jul-2013 Xinchen Hui <laruence@php.net> Merge branch 'PHP-5.4' into PHP-5.5
3380de9 21-Jul-2013 Xinchen Hui <laruence@php.net> Fixed bug #65304 (Use of max int in array_sum)
/php-src/ext/standard/array.c
e9a95d7 13-Jul-2013 Veres Lajos <vlajos@gmail.com> typo fixes
/php-src/ext/standard/array.c
72085b0 13-Jul-2013 Veres Lajos <vlajos@gmail.com> typo fixes
/php-src/ext/standard/array.c
168a5bb 14-Jul-2013 Anatol Belski <ab@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
fix uninitialized memory usage
add0833 14-Jul-2013 Anatol Belski <ab@php.net> fix uninitialized memory usage
/php-src/ext/standard/array.c
139e982 15-May-2013 David Soria Parra <dsp@php.net> Fix array_colum segfault

Separate zval to avoid gc from freeing
/php-src/ext/standard/array.c
734e165 22-Apr-2013 Sara Golemon <pollita@php.net> array_column() - Use entire subject array when NULL passed for second param.

This starts to look like array_values(), except that you can reindex the arrays
using the third parameter.
/php-src/ext/standard/array.c
1a03bd5 22-Apr-2013 Sara Golemon <pollita@php.net> Allow array_column() to take -1 as a valid value in third param

Also do some cleanup and simplification to make this code more
readable in the long term.
/php-src/ext/standard/array.c
7b34324 22-Apr-2013 Sara Golemon <pollita@php.net> Fix handling of double keys in array_column

Also fix resource test to not localize __FILE__ to cwd.
/php-src/ext/standard/array.c
d8a5f41 01-Apr-2013 Xinchen Hui <laruence@php.net> Fixed bug parameter is casted to string of array_column
/php-src/ext/standard/array.c
0173c4b 20-Mar-2013 David Soria Parra <dsp@php.net> Merge branch 'pull-request/257' into PHP-5.5

* pull-request/257:
array_column: Fix compile-time warnings
array_column: Removed array_pluck() alias
array_column: Set array_pluck as an alias for array_column
array_column: Implement ability to specify an index column
Cleaning up a memory leak.
array_column: Adding test for IS_OBJECT and converting object to string
array_column: Using add_next_index_zval() at nikic's recommendation.
array_column: Improved tests
array_column: Cleaning up, as recommended in pull request #56 comments
Fixing typo in test for array_column()
Simplify the code and use zend_hash_next_index_insert()
Adding test for columns not present in all rows for array_column().
Adding tests for the negative results of array_column()
Implement new array function array_column()
f5bf1ba 20-Mar-2013 Ben Ramsey <ramsey@php.net> array_column: Fix compile-time warnings
/php-src/ext/standard/array.c
28634bf 12-Mar-2013 Nikita Popov <nikic@php.net> Forgot to remove some now unused variables
/php-src/ext/standard/array.c
fcc6611 16-Feb-2013 Nikita Popov <nikic@php.net> Add support for non-scalar Iterator keys in foreach

RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
/php-src/ext/standard/array.c
5bc2854 11-Jan-2013 Ben Ramsey <ramsey@php.net> array_column: Implement ability to specify an index column
/php-src/ext/standard/array.c
94d5b25 21-Jun-2012 Ben Ramsey <ramsey@php.net> Cleaning up a memory leak.
/php-src/ext/standard/array.c
20ab303 16-Apr-2012 Ben Ramsey <ramsey@php.net> array_column: Adding test for IS_OBJECT and converting object to string
/php-src/ext/standard/array.c
66a02eb 14-Apr-2012 Ben Ramsey <ramsey@php.net> array_column: Using add_next_index_zval() at nikic's recommendation.
/php-src/ext/standard/array.c
e921d28 14-Apr-2012 Ben Ramsey <ramsey@php.net> array_column: Cleaning up, as recommended in pull request #56 comments
/php-src/ext/standard/array.c
6a27b89 14-Apr-2012 Ben Ramsey <ramsey@php.net> Simplify the code and use zend_hash_next_index_insert()
/php-src/ext/standard/array.c
9035a1e 14-Apr-2012 Ben Ramsey <ramsey@php.net> Implement new array function array_column()

array_column() returns the values of the specified column from a
multi-dimensional array.
/php-src/ext/standard/array.c
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/standard/array.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/standard/array.c
a2045ff 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year~
/php-src/ext/standard/array.c
4cceeb2 06-May-2012 Xinchen Hui <laruence@php.net> Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference)
7ccd594 06-May-2012 Xinchen Hui <laruence@php.net> Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference)
/php-src/ext/standard/array.c
37d7df7 02-Mar-2012 Nikita Popov <nikic@php.net> Fix bug #52719: array_walk_recursive crashes if third param of the function is by reference
/php-src/ext/standard/array.c
e7810c1 02-Mar-2012 Nikita Popov <nikic@php.net> Fix bug #52719: array_walk_recursive crashes if third param of the function is by reference
/php-src/ext/standard/array.c
fda8d2f 02-Mar-2012 Xinchen Hui <laruence@php.net> MFH: Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
/php-src/ext/standard/array.c
33125e2 12-Feb-2012 Xinchen Hui <laruence@php.net> Improved fix for #61058, and add test script
/php-src/ext/standard/array.c
c578917 12-Feb-2012 Xinchen Hui <laruence@php.net> Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
/php-src/ext/standard/array.c
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/array.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/array.c
4a25a77 13-Sep-2011 Dmitry Stogov <dmitry@php.net> Fixed ZE specific compile warnings (Bug #55629)
/php-src/ext/standard/array.c
b52256c 29-Aug-2011 Arpad Ray <arpad@php.net> add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
/php-src/ext/standard/array.c
840308c 06-Apr-2011 Adam Harvey <aharvey@php.net> Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
/php-src/ext/standard/array.c
187eb23 06-Apr-2011 Adam Harvey <aharvey@php.net> Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
/php-src/ext/standard/array.c
1368364 03-Apr-2011 Pierrick Charron <pierrick@php.net> 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 :)
/php-src/ext/standard/array.c
e8486cc 03-Apr-2011 Pierrick Charron <pierrick@php.net> 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 :)
/php-src/ext/standard/array.c
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/array.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/array.c
9696faa 12-Dec-2010 Ilia Alshanetsky <iliaa@php.net> Fixed bug 48484 (array_product() always returns 0 for an empty array).
/php-src/ext/standard/array.c
8228751 12-Dec-2010 Ilia Alshanetsky <iliaa@php.net> Fixed bug 48484 (array_product() always returns 0 for an empty array).
/php-src/ext/standard/array.c
897f0b4 19-Nov-2010 Felipe Pena <felipe@php.net> - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
/php-src/ext/standard/array.c
93a4e0d 19-Nov-2010 Felipe Pena <felipe@php.net> - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
/php-src/ext/standard/array.c
f4d15d8 01-Nov-2010 Felipe Pena <felipe@php.net> - Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4)
/php-src/ext/standard/array.c
5d584d4 01-Nov-2010 Felipe Pena <felipe@php.net> - Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4)
/php-src/ext/standard/array.c
cb50011 23-Sep-2010 Kalle Sommer Nielsen <kalle@php.net> Fixed compiler warnings in the standard library
/php-src/ext/standard/array.c
f33837f 27-Aug-2010 Adam Harvey <aharvey@php.net> Implemented request #34857 (Change array_combine behaviour when called with
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
/php-src/ext/standard/array.c
d24c14c 11-Jun-2010 Dmitry Stogov <dmitry@php.net> Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
/php-src/ext/standard/array.c
d42dbb3 11-Jun-2010 Dmitry Stogov <dmitry@php.net> Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
/php-src/ext/standard/array.c
2ef8ef9 15-May-2010 Rasmus Lerdorf <rasmus@php.net> typo
/php-src/ext/standard/array.c
9db78b5 15-May-2010 Rasmus Lerdorf <rasmus@php.net> typo
/php-src/ext/standard/array.c
dd5c478 20-Apr-2010 Dmitry Stogov <dmitry@php.net> Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
/php-src/ext/standard/array.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/ext/standard/array.c
0b8839c 24-Dec-2009 Antony Dovgal <tony2001@php.net> fix the fix for #47409
use correct comparison and add missing scope checks to trunk
/php-src/ext/standard/array.c
12f82ee 23-Dec-2009 Ilia Alshanetsky <iliaa@php.net> Fixed bug #47409 (extract() problem with array containing word "this").
/php-src/ext/standard/array.c
a94558c 08-Dec-2009 Felipe Pena <felipe@php.net> - Added MAKE_COPY_ZVAL(ppzv, pzv) macro
/php-src/ext/standard/array.c
8b64f74 29-Nov-2009 Stanislav Malyshev <stas@php.net> proper fix for bug #50006
add modify protection to all user array sorts
/php-src/ext/standard/array.c
8556084 14-Aug-2009 Dmitry Stogov <dmitry@php.net> Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
/php-src/ext/standard/array.c
fb235dc 08-Jul-2009 Felipe Pena <felipe@php.net> - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one)
/php-src/ext/standard/array.c
fcede92 15-May-2009 Moriyoshi Koizumi <moriyoshi@php.net> * MFH: Roll it back.
/php-src/ext/standard/array.c
ad07803 15-May-2009 Christopher Jones <sixd@php.net> MFH: New array_multisort() test and code comment fix (Simon Westcott)
/php-src/ext/standard/array.c
7c41c86 10-May-2009 Etienne Kneuss <colder@php.net> MFB: Fix #48224 (Remove incorrect shuffle)
/php-src/ext/standard/array.c
c2445f4 13-Feb-2009 Andrei Zmievski <andrei@php.net> Revert bogus fix for #47370.
/php-src/ext/standard/array.c
018ba64 12-Feb-2009 Moriyoshi Koizumi <moriyoshi@php.net> * MFH: Fix bug #47370 (BC breakage of array_unique())
/php-src/ext/standard/array.c
4d8f18c 09-Feb-2009 Dmitry Stogov <dmitry@php.net> Fixed bug #47329 (Crash in garbage collector)
/php-src/ext/standard/array.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/ext/standard/array.c
2dd8d6f 27-Dec-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists)
/php-src/ext/standard/array.c
dddbfcc 12-Dec-2008 Andrei Zmievski <andrei@php.net> MFH
/php-src/ext/standard/array.c
6a6289a 26-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
/php-src/ext/standard/array.c
45572a4 24-Nov-2008 Stanislav Malyshev <stas@php.net> restore BC for arrays
[DOC] natsort, natcasesort, usort, uasort, uksort, array_flip, array_unique
still won't work with objects
/php-src/ext/standard/array.c
d69dfa4 21-Oct-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: initialize optional vars
/php-src/ext/standard/array.c
8a77e55 23-Sep-2008 Nuno Lopes <nlopess@php.net> clean some dead code (with static analysis help)
/php-src/ext/standard/array.c
42feedd 29-Aug-2008 Felipe Pena <felipe@php.net> 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)
/php-src/ext/standard/array.c
0801578 20-Aug-2008 Lars Strojny <lstrojny@php.net> MFH: Allow mixed $initial (patch by Christian Seiler)
/php-src/ext/standard/array.c
252d7d7 17-Aug-2008 Felipe Pena <felipe@php.net> - MFH: New parameter parsing API
/php-src/ext/standard/array.c
f2fc267 10-Aug-2008 Felipe Pena <felipe@php.net> - MFH: New parameter parsing API (for min() and max())
/php-src/ext/standard/array.c
e304515 02-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Added parameter TSRMLS_DC in zend_is_callable()
/php-src/ext/standard/array.c
b9f7b21 31-Jul-2008 Johannes Schlüter <johannes@php.net> MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas)
/php-src/ext/standard/array.c
a1ce847 24-Jul-2008 Felipe Pena <felipe@php.net> - MFH: Improved parameter handling
/php-src/ext/standard/array.c
a2cc7ec 23-Jul-2008 Felipe Pena <felipe@php.net> - MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
/php-src/ext/standard/array.c
8ceb0b6 09-Jul-2008 Etienne Kneuss <colder@php.net> MFH: Fix resolution rule of count vs. handler
/php-src/ext/standard/array.c
572adc0 02-Jun-2008 Matt Wilmas <mattwil@php.net> MFH: Initialize with length instead of 0
/php-src/ext/standard/array.c
7797695 02-Jun-2008 Antony Dovgal <tony2001@php.net> fix uninitialized variable
/php-src/ext/standard/array.c
c1126cc 30-May-2008 Matt Wilmas <mattwil@php.net> 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
/php-src/ext/standard/array.c
7da75d8 27-May-2008 Matt Wilmas <mattwil@php.net> MFH: Add array_init_size() and use it where array size is known at initialization
/php-src/ext/standard/array.c
d90f689 18-May-2008 Felipe Pena <felipe@php.net> - Making compatible with 64bit plataform
/php-src/ext/standard/array.c
7633511 04-May-2008 Antony Dovgal <tony2001@php.net> fix compile warnings
/php-src/ext/standard/array.c
2ecf4bb 29-Apr-2008 Dmitry Stogov <dmitry@php.net> Lazy EG(active_symbol_table) initialization
/php-src/ext/standard/array.c
eea093b 12-Mar-2008 Felipe Pena <felipe@php.net> MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...)
/php-src/ext/standard/array.c
f7078d4 22-Feb-2008 Felipe Pena <felipe@php.net> Fixed Bug #44212 (array_diff_assoc not reporting missing arguments)
/php-src/ext/standard/array.c
0970b9f 15-Feb-2008 Antony Dovgal <tony2001@php.net> MFH: recursion protection in count()
/php-src/ext/standard/array.c
aefe056 14-Feb-2008 Felipe Pena <felipe@php.net> MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc)
/php-src/ext/standard/array.c
4de1e20 14-Feb-2008 Dmitry Stogov <dmitry@php.net> Fixed memory leak
/php-src/ext/standard/array.c
ea3a6ed 12-Feb-2008 Felipe Pena <felipe@php.net> array_slice() - Fixed behavior when NULL is given in third parameter (BC)
/php-src/ext/standard/array.c
038696f 11-Feb-2008 Antony Dovgal <tony2001@php.net> MFH
/php-src/ext/standard/array.c
6e9ef8e 05-Feb-2008 Ilia Alshanetsky <iliaa@php.net> Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
/php-src/ext/standard/array.c
382f1dd 29-Jan-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #43505 (Assign by reference bug)
/php-src/ext/standard/array.c
183ed5b 29-Jan-2008 Antony Dovgal <tony2001@php.net> MFH: fix #43596 (array_slice(): $length arg ignored when it is 0)
/php-src/ext/standard/array.c
90f168d 25-Jan-2008 Rob Richards <rrichards@php.net> MFH: fix zts build
/php-src/ext/standard/array.c
2907ae9 25-Jan-2008 Antony Dovgal <tony2001@php.net> MFH: endless loop (and stack overflow) protection in compact()
/php-src/ext/standard/array.c
67c8d8d 23-Jan-2008 Antony Dovgal <tony2001@php.net> MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
/php-src/ext/standard/array.c
82874e0 14-Jan-2008 Brian Shire <shire@php.net> MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982
/php-src/ext/standard/array.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/ext/standard/array.c
9a4de08 11-Dec-2007 Jani Taskinen <jani@php.net> MFH: - Fixed bug #43541
/php-src/ext/standard/array.c
98bfa2a 05-Dec-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays)
/php-src/ext/standard/array.c
7192e8a 03-Dec-2007 Ilia Alshanetsky <iliaa@php.net> MFB: Fixed bug #43482 (array_pad() does not warn on very small pad
numbers).
/php-src/ext/standard/array.c
7cf9dcc 25-Nov-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #43386 (array_globals not reset to 0 properly on init)
/php-src/ext/standard/array.c
7f0ad5c 06-Nov-2007 Jani Taskinen <jani@php.net> MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input)
/php-src/ext/standard/array.c
35ab31e 05-Nov-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #43197 (array_intersect_assoc() does not emit warning messages for
error inputs)
/php-src/ext/standard/array.c
b489251 02-Nov-2007 Jani Taskinen <jani@php.net> - MFH from HEAD:
. Folding tags
. Parameter parsing
. SPL debug info
. array function improvements (not all yet)
. Improvements to function calling with call_user_* functions
. Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
/php-src/ext/standard/array.c
2d8dc07 31-Oct-2007 Jani Taskinen <jani@php.net> MFH: fix typo
/php-src/ext/standard/array.c
3fa7ec8 18-Oct-2007 Scott MacVicar <scottmac@php.net> Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument)
/php-src/ext/standard/array.c
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/php-src/ext/standard/array.c
1297fa1 02-Oct-2007 Antony Dovgal <tony2001@php.net> MF5_2: improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
/php-src/ext/standard/array.c
27e8fa0 01-Oct-2007 Jani Taskinen <jani@php.net> MFH: sync (adds php_prefix_varname() API function)
/php-src/ext/standard/array.c
24c806c 22-Sep-2007 Ilia Alshanetsky <iliaa@php.net> Fixed memory leak inside array_intersec (coverity issues #403,#404)
/php-src/ext/standard/array.c
91e8740 22-Sep-2007 Ilia Alshanetsky <iliaa@php.net> Fixed memory leak inside array_diff() (coverity issues #401,#402)
/php-src/ext/standard/array.c
43cc893 21-Sep-2007 Antony Dovgal <tony2001@php.net> MFH: plug leak on error (coverity issue #405)
/php-src/ext/standard/array.c
9ee4848 21-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc().
/php-src/ext/standard/array.c
8d377a6 20-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements)
/php-src/ext/standard/array.c
c4be8ab 10-Aug-2007 Jani Taskinen <jani@php.net> - Fix the fix for bug #42233
/php-src/ext/standard/array.c
0d5dd88 08-Aug-2007 Jani Taskinen <jani@php.net> - Fixed bug #42233 (Problems with æøå in extract()).
/php-src/ext/standard/array.c
67a2cca 24-Jun-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #41685 (array_push() fails to warn when next index is already
occupied).
/php-src/ext/standard/array.c
24bdf0e 18-Jun-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #41686 (Omitting length param in array_slice not possible).
/php-src/ext/standard/array.c
03b0a47 05-Jun-2007 Antony Dovgal <tony2001@php.net> fix folding
/php-src/ext/standard/array.c
c34806e 19-Apr-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #41121 (range() overflow handling for large numbers on 32bit
machines).
/php-src/ext/standard/array.c
16fc958 18-Mar-2007 Wez Furlong <wez@php.net> fixes #40848
/php-src/ext/standard/array.c
90eff54 16-Mar-2007 Stanislav Malyshev <stas@php.net> Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)
/php-src/ext/standard/array.c
1ac71c4 04-Mar-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
/php-src/ext/standard/array.c
2c36778 22-Jan-2007 Antony Dovgal <tony2001@php.net> MFH: fix #40191 (use of array_unique() with objects triggers segfault)
/php-src/ext/standard/array.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/ext/standard/array.c
5bf3df5 17-Dec-2006 Brian Shire <shire@php.net> Fixed bug #30074
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
Added test
/php-src/ext/standard/array.c
e64cb1a 10-Dec-2006 Ilia Alshanetsky <iliaa@php.net> Optimize extract()

# Patch by Brian Shire
/php-src/ext/standard/array.c
df1a1c8 22-Nov-2006 Antony Dovgal <tony2001@php.net> MFH: fix #39576 (array_walk() doesn't separate userdata zval)
/php-src/ext/standard/array.c
eca1911 15-Nov-2006 Antony Dovgal <tony2001@php.net> fix leak, add test
/php-src/ext/standard/array.c
d4a64fb 12-Nov-2006 Ilia Alshanetsky <iliaa@php.net> removed bogus char
/php-src/ext/standard/array.c
e0d385a 12-Nov-2006 Ilia Alshanetsky <iliaa@php.net> Optimized array functions utilizing php_splice().
/php-src/ext/standard/array.c
7b81e55 12-Nov-2006 Hannes Magnusson <bjori@php.net> MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
/php-src/ext/standard/array.c
8581c73 03-Oct-2006 Ilia Alshanetsky <iliaa@php.net> optimize zend_hash_init() with known hash table sizes.
/php-src/ext/standard/array.c
59fabbb 03-Oct-2006 Hannes Magnusson <bjori@php.net> MFH: compact() doesnt throw "wrong param count"
/php-src/ext/standard/array.c
e1ff6fe 19-Sep-2006 Antony Dovgal <tony2001@php.net> support objects in array_walk*()
/php-src/ext/standard/array.c
dba1f1d 19-Sep-2006 Antony Dovgal <tony2001@php.net> MFH: fix #34066 (recursive array_walk causes segfault)
add tests
/php-src/ext/standard/array.c
8e86a18 06-Sep-2006 Ilia Alshanetsky <iliaa@php.net> Fixed bug #38464 (array_count_values() mishandles numeric strings).
/php-src/ext/standard/array.c
3d7a1c3 30-Jul-2006 Andrei Zmievski <andrei@php.net> Make array_merge(_recursive) handle binary keys safely. (Patch by Matt W)
/php-src/ext/standard/array.c
8474838 24-Jul-2006 Andrei Zmievski <andrei@php.net> +1 for keys
/php-src/ext/standard/array.c
bb430b3 22-Jul-2006 Andrei Zmievski <andrei@php.net> Gah.
/php-src/ext/standard/array.c
d827c76 22-Jul-2006 Andrei Zmievski <andrei@php.net> Matt should be happy now.
/php-src/ext/standard/array.c
1223119 21-Jul-2006 Andrei Zmievski <andrei@php.net> MFH
/php-src/ext/standard/array.c
31a8d6a 15-Jul-2006 Marcus Boerger <helly@php.net> - MFH array_fill_keys, better unicode support, use new param parsing API
/php-src/ext/standard/array.c
87c6428 15-Jul-2006 Marcus Boerger <helly@php.net> - MFH Added array_fill_keys(). (Marcus, Mathew W)
/php-src/ext/standard/array.c
ec420c3 26-Jun-2006 Hannes Magnusson <bjori@php.net> Updated protos & vim folding
/php-src/ext/standard/array.c
5735927 03-Jun-2006 Andrei Zmievski <andrei@php.net> I swear it wasn't me.
/php-src/ext/standard/array.c
9047558 12-Apr-2006 Johannes Schlüter <johannes@php.net> - MFH: Fix bug #37060 (Type of retval of Countable::count() is not checked)
/php-src/ext/standard/array.c
f7ce1d6 22-Mar-2006 Antony Dovgal <tony2001@php.net> prevent segfault when exception is thrown from Countable::count()
/php-src/ext/standard/array.c
90d7fbe 19-Mar-2006 Antony Dovgal <tony2001@php.net> MFH: make the code cleaner
/php-src/ext/standard/array.c
5a69b29 26-Feb-2006 Marcus Boerger <helly@php.net> - Warning fixes by Steph
/php-src/ext/standard/array.c
7deff63 07-Feb-2006 Andrei Zmievski <andrei@php.net> Move array globals declarations back to the header file.
/php-src/ext/standard/array.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/ext/standard/array.c
b5aeda4 27-Dec-2005 Antony Dovgal <tony2001@php.net> tweak the fix
/php-src/ext/standard/array.c
f046cdf 27-Dec-2005 Antony Dovgal <tony2001@php.net> fix #35821 (array_map() segfaults when exception is throwed from the callback)
/php-src/ext/standard/array.c
d0a54af 05-Dec-2005 foobar <sniper@php.net> MFH: Nuke php3 legacy
/php-src/ext/standard/array.c
941a94e 30-Oct-2005 Ilia Alshanetsky <iliaa@php.net> Simplify code.
/php-src/ext/standard/array.c
d22d691 30-Oct-2005 Ilia Alshanetsky <iliaa@php.net> Fixed Bug #35014 (array_product() always returns 0).
/php-src/ext/standard/array.c
fa40690 28-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope)
/php-src/ext/standard/array.c
f9fb94f 24-Oct-2005 Dmitry Stogov <dmitry@php.net> Reverted patch for bug #34934. Bug is marked as bogus.
/php-src/ext/standard/array.c
23d3dde 21-Oct-2005 Antony Dovgal <tony2001@php.net> fix ws
/php-src/ext/standard/array.c
75a548a 21-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34934 (offsetExists is not called from array_key_exists)
/php-src/ext/standard/array.c
1b8ecbc 04-Oct-2005 Antony Dovgal <tony2001@php.net> MFH: fix #34723 (array_count_values() strips leading zeroes)
/php-src/ext/standard/array.c
8a5bd01 03-Oct-2005 Ilia Alshanetsky <iliaa@php.net> MFH: GLOBALS protection for extract() function.
/php-src/ext/standard/array.c
9a74c68 12-Sep-2005 Dmitry Stogov <dmitry@php.net> Additinal fix for bug #34277 (array_filter() crashes with references and objects)
/php-src/ext/standard/array.c
e615889 01-Sep-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34277 (array_filter() crashes with references and objects)
/php-src/ext/standard/array.c
54931f5 10-Aug-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #33940 (array_map() fails to pass by reference when called recursively)
/php-src/ext/standard/array.c
96d7559 10-Aug-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #29253 (array_diff with $GLOBALS argument fails)
/php-src/ext/standard/array.c
98e70ab 04-Aug-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP)
/php-src/ext/standard/array.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/ext/standard/array.c
1d33a3e 04-Jul-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #31158 (array_splice on $GLOBALS crashes)
/php-src/ext/standard/array.c
340bcff 30-Jun-2005 foobar <sniper@php.net> - Unify (+ spl can't be build shared so COMPILE_DL_SPL
/php-src/ext/standard/array.c
27374bf 21-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #31213 (Sideeffects caused by fix of bug #29493)
/php-src/ext/standard/array.c
4de4565 16-Jun-2005 Wez Furlong <wez@php.net> Fix compile on win32 at least.
/php-src/ext/standard/array.c
be04582 15-Jun-2005 Andrei Zmievski <andrei@php.net> WS fix
/php-src/ext/standard/array.c
ec09711 15-Jun-2005 Andrei Zmievski <andrei@php.net> Fix FCI cache for array_walk and user array compare functions. Bug
#33286. (Patch from m.bretz@metropolis-ag.de)
/php-src/ext/standard/array.c
72c6d5c 08-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed memory allocation bugs in array_reduce() with initial value (#22463 & #24980)
/php-src/ext/standard/array.c
be3a9cc 11-May-2005 Andrey Hristov <andrey@php.net> add function array_product()
/php-src/ext/standard/array.c
c78ec16 25-Apr-2005 Dmitry Stogov <dmitry@php.net> Fixed call to estrndup() with invalid length
/php-src/ext/standard/array.c
a13b29a 12-Apr-2005 Antony Dovgal <tony2001@php.net> fix #30833 (array_count_values modifying input array)
/php-src/ext/standard/array.c
b30d8be 22-Mar-2005 Ilia Alshanetsky <iliaa@php.net> Simplify argument checking code for array_combine().
/php-src/ext/standard/array.c
e381414 19-Mar-2005 Marcus Boerger <helly@php.net> - Check another incarnation of bug #30266
/php-src/ext/standard/array.c
0701471 12-Mar-2005 Andrey Hristov <andrey@php.net> Fixed #30871
/php-src/ext/standard/array.c
faae6ac 11-Mar-2005 Marcus Boerger <helly@php.net> - Do not touch return_valu's refcount or is_ref
/php-src/ext/standard/array.c
f8fc9a3 05-Mar-2005 Andrei Zmievski <andrei@php.net> Check that object can actually return a class entry. I need this for a
class-entry-less helper objects that should not be present in the class
table.
/php-src/ext/standard/array.c
ff16877 18-Feb-2005 Derick Rethans <derick@php.net> - Fixed bug #32021: Crash caused by range('', 'z')
/php-src/ext/standard/array.c
bb9ba8e 10-Feb-2005 Rob Richards <rrichards@php.net> fix segfault when retval_ptr is empty - such as when exception thrown
/php-src/ext/standard/array.c
7b24102 02-Feb-2005 Stanislav Malyshev <stas@php.net> fix memory leak if function call fails
/php-src/ext/standard/array.c
38d8e20 23-Dec-2004 Antony Dovgal <tony2001@php.net> destroy return_value and fix leak in array_fill()
/php-src/ext/standard/array.c
33c24b5 16-Dec-2004 Antony Dovgal <tony2001@php.net> fix leak (init array only if we got valid start key)
/php-src/ext/standard/array.c
b6b8bf0 03-Dec-2004 Antony Dovgal <tony2001@php.net> fix array_walk_recursive() so it doesn't reuse cached fci between calls
and add test for it
/php-src/ext/standard/array.c
ccc6462 02-Dec-2004 Antony Dovgal <tony2001@php.net> revert my previous patch as it breaks more than fixes
/php-src/ext/standard/array.c
dbc0bb7 28-Nov-2004 Antony Dovgal <tony2001@php.net> fix #29954 (array_reduce segfaults when initial value is array)
/php-src/ext/standard/array.c
2a58887 19-Nov-2004 Antony Dovgal <tony2001@php.net> fix bug #30587 (array_multisort doesn't separate zvals before changing them)
/php-src/ext/standard/array.c
c18e248 01-Nov-2004 Marcus Boerger <helly@php.net> - Remove doubled definition
/php-src/ext/standard/array.c
b0c2af5 01-Nov-2004 Marcus Boerger <helly@php.net> - Add some comment
/php-src/ext/standard/array.c
2ce7bcd 01-Nov-2004 Marcus Boerger <helly@php.net> - Allow direct access to spl class entries (SPL cannot be build shared)
/php-src/ext/standard/array.c
db47e47 01-Nov-2004 Marcus Boerger <helly@php.net> - Use new way for global variables
- Cache class lookup
/php-src/ext/standard/array.c
8e3a8b1 01-Nov-2004 Marcus Boerger <helly@php.net> - Add interface Countable (PECL #30113)
/php-src/ext/standard/array.c
11bcaed 04-Oct-2004 Andi Gutmans <andi@php.net> - Rename delete_global_variable() to zend_delete_global_variable()
/php-src/ext/standard/array.c
db507dd 04-Oct-2004 Andi Gutmans <andi@php.net> - Commit the variable fetch optimization.
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
/php-src/ext/standard/array.c
7795da5 15-Sep-2004 Derick Rethans <derick@php.net> - Added new boolean (fourth) parameter to array_slice() that turns on the
preservation of keys in the returned array.
/php-src/ext/standard/array.c
4bae5cb 11-Sep-2004 Derick Rethans <derick@php.net> - MFB: Added the sorting flag SORT_LOCALE_STRING to the sort() functions which
makes them sort based on the current locale. (Derick)
/php-src/ext/standard/array.c
fe73e4d 26-Aug-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #29808 (array_count_values() breaks with numeric strings).
/php-src/ext/standard/array.c
0286913 12-Aug-2004 Andi Gutmans <andi@php.net> - Use FREE_HASHTABLE()
/php-src/ext/standard/array.c
51fc7b8 10-Aug-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Bugfix #29493 (extract(array, EXTR_REFS) misbehaves with elements referred
twice or more times). (Patch inspired by Michael Manley. Thanks.)
/php-src/ext/standard/array.c
739696d 29-Jul-2004 Ilia Alshanetsky <iliaa@php.net> Fixed but #29437 (Possible crash inside array_walk_recursive()).
/php-src/ext/standard/array.c
e64af9a 26-Jul-2004 Andrey Hristov <andrey@php.net> proto fix
(thanks to dave%php.net for spotting)
/php-src/ext/standard/array.c
d77a3f9 24-Jul-2004 Andrey Hristov <andrey@php.net> make behavior a bit field
/php-src/ext/standard/array.c
5e5d264 21-Jul-2004 Andrey Hristov <andrey@php.net> add array_:
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
/php-src/ext/standard/array.c
0eef82a 11-Jul-2004 Andrey Hristov <andrey@php.net> fixing bug #28974 : overflow in array_slice()
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
/php-src/ext/standard/array.c
268d3d7 11-Jul-2004 Andrey Hristov <andrey@php.net> fixing bug #28739
array_*diff() and array_*intersect() not clearing the fci cache before work.
FCI call cache was introduced in HEAD. All functions that perform sorting
of arrays clear the fci cache before work. array_*diff() and\ array_*intersect()
were somehow missed to be updated.
/php-src/ext/standard/array.c
7af08c0 11-Jul-2004 Andrey Hristov <andrey@php.net> fixing bug 29038:
EXTR_PREFIX_SAME is prevented from creating a new variable when the key
is a empty string. EXTR_PREFIX_ALL is also prevented from doing that,
but works for numbers.
/php-src/ext/standard/array.c
4ebcb2e 11-Jul-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #29008 (array_combine() does not handle non-numeric/string keys).
/php-src/ext/standard/array.c
79c28f7 08-Jul-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #29049 (array sorting via user function/method does not validate
it).
/php-src/ext/standard/array.c
263723e 04-May-2004 Wez Furlong <wez@php.net> Update for count_elements handler for overloaded objects.
/php-src/ext/standard/array.c
c85843a 01-Apr-2004 Ilia Alshanetsky <iliaa@php.net> MFB: Revert patch for bug #27782.
/php-src/ext/standard/array.c
ec4655f 30-Mar-2004 Ilia Alshanetsky <iliaa@php.net> Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).
/php-src/ext/standard/array.c
eaab3ef 28-Jan-2004 Andrey Hristov <andrey@php.net> this should not belong to HEAD
/php-src/ext/standard/array.c
9957fc6 24-Jan-2004 Andrey Hristov <andrey@php.net> Added third parameter (optional) to array_keys for strictness. It behaves
like the "strict" parameter of in_array().
#Closing feature request #24258
/php-src/ext/standard/array.c
9e5df0c 17-Jan-2004 Andrey Hristov <andrey@php.net> HEAD is now bundled only with ZE2
/php-src/ext/standard/array.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/ext/standard/array.c
638b940 09-Oct-2003 Andrey Hristov <andrey@php.net> New array functions for doing intersection of arrays that are complementary
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
/php-src/ext/standard/array.c
31a3c87 05-Oct-2003 Ilia Alshanetsky <iliaa@php.net> Fixed clobbering of the source array, when merging complex
multi-dimensional arrays. Bug reported by Lukas Smith.
/php-src/ext/standard/array.c
75bb36e 02-Oct-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS)
/php-src/ext/standard/array.c
40088d0 30-Sep-2003 Andrey Hristov <andrey@php.net> smash a segmentation fault
/php-src/ext/standard/array.c
02827c4 30-Sep-2003 Andrey Hristov <andrey@php.net> Memory leak fixed (no need of MFH since this is code specific to PHP5)
/php-src/ext/standard/array.c
075e66c 26-Sep-2003 Hartmut Holzgraefe <hholzgra@php.net> signed/unsigned compiler warning fixes
/php-src/ext/standard/array.c
6966350 26-Sep-2003 Ilia Alshanetsky <iliaa@php.net> Fixed typo.
/php-src/ext/standard/array.c
3579f21 23-Sep-2003 Andrey Hristov <andrey@php.net> 4 new functions :
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
/php-src/ext/standard/array.c
63d7df3 22-Sep-2003 Andrey Hristov <andrey@php.net> improve the fix for #25494. If more then one bad parameter is passed
an warning for all will be emitted.
/php-src/ext/standard/array.c
6c6fd76 11-Sep-2003 Jay Smith <jay@php.net> Fixed bug #25494 (array_merge allowing "false" as argument (silent when
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
/php-src/ext/standard/array.c
8733d2d 13-Aug-2003 foobar <sniper@php.net> revert that, it did not fix anything
/php-src/ext/standard/array.c
0ee19d4 13-Aug-2003 foobar <sniper@php.net> Fix external builds (configure run outside srcdir)
/php-src/ext/standard/array.c
ed40ae2 11-Aug-2003 Ilia Alshanetsky <iliaa@php.net> emalloc -> safe_emalloc
/php-src/ext/standard/array.c
e5b7d5c 09-Aug-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort())
/php-src/ext/standard/array.c
e49964f 09-Aug-2003 Ilia Alshanetsky <iliaa@php.net> Do not assume array contains numeric values.
/php-src/ext/standard/array.c
a287388 08-Aug-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #24980 (array_reduce() uses first element as default running
total).
Fixed memory leak that can be replicated using the function example on
http://www.php.net/array_reduce
/php-src/ext/standard/array.c
90b29aa 05-Aug-2003 Zeev Suraski <zeev@php.net> Replace fast_call_user_function() with zend_call_function()
/php-src/ext/standard/array.c
2547b6f 04-Aug-2003 Zeev Suraski <zeev@php.net> Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such
a good idea?
/php-src/ext/standard/array.c
ee3e4f7 25-Jul-2003 Ilia Alshanetsky <iliaa@php.net> Removed unused variable.
/php-src/ext/standard/array.c
0a49c03 22-Jul-2003 Zeev Suraski <zeev@php.net> - Use the new infrastructure of zend_symtable_*() (fixes bug #24565)
- Fix bogus use of get_current_key()
/php-src/ext/standard/array.c
6057160 16-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive())
/php-src/ext/standard/array.c
2d4449c 12-Jun-2003 Andrey Hristov <andrey@php.net> silly bug
/php-src/ext/standard/array.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/ext/standard/array.c
295a1c6 05-Jun-2003 Sterling Hughes <sterling@php.net> fix array_key_exists() from HANDLE_NUMERIC() changes

# need to go through this file and find any stuff that relies on this
# change
/php-src/ext/standard/array.c
3c6fd35 20-May-2003 Sterling Hughes <sterling@php.net> initialize these to NULL
/php-src/ext/standard/array.c
9ac50a1 20-May-2003 Sterling Hughes <sterling@php.net> convert array functions to use fast_call_user_function(), gives a nice
performance win.
/php-src/ext/standard/array.c
4e9e9c6 11-May-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed bug #22463 and bug #23581
/php-src/ext/standard/array.c
07c6790 02-May-2003 Sara Golemon <pollita@php.net> Bug Fix (22433). When the bottom of a range() is chr(0) or the top is chr(255), the for loop carries over and never exits.
/php-src/ext/standard/array.c
0c5548e 16-Apr-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed implicit cast issue with is*() and to*() functions
/php-src/ext/standard/array.c
465bb61 03-Apr-2003 Sara Golemon <pollita@php.net> Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) == array(1.0,1.1,1.2,1.3,1.4);
/php-src/ext/standard/array.c
4b343a0 01-Apr-2003 Rasmus Lerdorf <rasmus@php.net> MFB
/php-src/ext/standard/array.c
3db5278 27-Mar-2003 Ilia Alshanetsky <iliaa@php.net> CS
/php-src/ext/standard/array.c
8c2dbd5 22-Feb-2003 Andrey Hristov <andrey@php.net> additional speedup for array_shift(). No need to rehash if the removed element's
key is not scalar and elements with scalar keys are already well numbered
(sequentially from 0) for some reason. This is the case if the leading
elements have no scalar indexes.
/php-src/ext/standard/array.c
94040a2 22-Feb-2003 Andrey Hristov <andrey@php.net> rehash only in case something is changed.
#lowers the execution time in half on my machine on array with 1000 elements
#with nonscalar keys. Maybe it can be optimized further.
/php-src/ext/standard/array.c
20f9b6d 06-Feb-2003 foobar <sniper@php.net> - Fixed bug #22088 (array_shift() leaves next index to be +1 too much)
/php-src/ext/standard/array.c
f12a6b7 05-Feb-2003 Ilia Alshanetsky <iliaa@php.net> Added array_walk_recursive() function that can apply array_walk recursively
to an array.
/php-src/ext/standard/array.c
07a9729 03-Feb-2003 foobar <sniper@php.net> - Fixed bug: #21998 (array_pop() did not reset the current array position)
# This behaves now same as in PHP 4.2.3
/php-src/ext/standard/array.c
38ad0e9 24-Jan-2003 Ilia Alshanetsky <iliaa@php.net> zend_error -> php_error_docref.
/php-src/ext/standard/array.c
8a9e09a 21-Jan-2003 Ilia Alshanetsky <iliaa@php.net> ARG_COUNT(ht) -> ZEND_NUM_ARGS().
/php-src/ext/standard/array.c
1cdc956 13-Jan-2003 Andrey Hristov <andrey@php.net> added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
/php-src/ext/standard/array.c
f962ba6 03-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed small leaks in array_map() in case the first parameter is NULL like
array_map(NULL, array(...));
/php-src/ext/standard/array.c
b506f5c 31-Dec-2002 Sebastian Bergmann <sebastian@php.net> Bump year.
/php-src/ext/standard/array.c
fbcee73 25-Dec-2002 Ilia Alshanetsky <iliaa@php.net> Make range operate on the copies of the parameters rather then modify the
actual parameters.
/php-src/ext/standard/array.c
3a4bf3f 20-Dec-2002 Ilia Alshanetsky <iliaa@php.net> When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
/php-src/ext/standard/array.c
4974f26 09-Dec-2002 Moriyoshi Koizumi <moriyoshi@php.net> @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi)
/php-src/ext/standard/array.c
ed7c3bf 06-Dec-2002 Ilia Alshanetsky <iliaa@php.net> Fixed bug #20865, array_key_exists() could not locate NULL keys.
/php-src/ext/standard/array.c
c668055 05-Dec-2002 Ilia Alshanetsky <iliaa@php.net> Remove pointless checks for array_init() return values.
/php-src/ext/standard/array.c
7bf4090 04-Dec-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed segfaults of array_walk() when keys are passed to cb by reference.
Fixed bug #12776.
/php-src/ext/standard/array.c
242ddba 03-Dec-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed leaks in array_walk()
/php-src/ext/standard/array.c
98dace8 26-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Improved the error reporting portion of array_walk() as suggested by Markus
/php-src/ext/standard/array.c
3fd513f 26-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Prevent too many error reports from being displayed
/php-src/ext/standard/array.c
61b3d5c 26-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed incorrect error messages of array_walk() in case the callback is
specified in an array form
/php-src/ext/standard/array.c
44c98c7 23-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed some odd behaviours of range()
/php-src/ext/standard/array.c
fb20eae 15-Nov-2002 Moriyoshi Koizumi <moriyoshi@php.net> Fixed bug #20381
/php-src/ext/standard/array.c
92df58d 14-Nov-2002 Jon Parise <jon@php.net> @- Added an optional "step" parameter to range(). (Jon)
/php-src/ext/standard/array.c
253cecd 13-Nov-2002 John Coggeshall <john@php.net> Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
function.

Modified the layout and some minor logic in the experimental webHarness()
test class

Added Whitespace accidently to array.c :)
/php-src/ext/standard/array.c
6d57337 05-Nov-2002 Ilia Alshanetsky <iliaa@php.net> Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
/php-src/ext/standard/array.c
f61889e 10-Oct-2002 Sterling Hughes <sterling@php.net> revert patch
/php-src/ext/standard/array.c
2c4aa71 09-Oct-2002 Sterling Hughes <sterling@php.net> clean these functions up using zend_parse_parameters and nuke the use of
HASH_OF() which is inappropriate in these cases...
/php-src/ext/standard/array.c
521a9bd 09-Oct-2002 Sterling Hughes <sterling@php.net> small cleanups...
/php-src/ext/standard/array.c
9ee1ce1 21-Sep-2002 Andrey Hristov <andrey@php.net> ws fixes.
#hope not to be flamed :) what a wonderful day.
/php-src/ext/standard/array.c
a920f00 21-Sep-2002 Andrey Hristov <andrey@php.net> New function added - array_intersect_assoc() similar to array_intersect()
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
/php-src/ext/standard/array.c
23d3cd7 12-Sep-2002 Andrey Hristov <andrey@php.net> Fixing my zts fix.
#Sorry Edin
/php-src/ext/standard/array.c
ad92434 12-Sep-2002 Andrey Hristov <andrey@php.net> Removed magic numbers about the behavior of php_array_diff - proposed by
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
/php-src/ext/standard/array.c
705e72f 11-Sep-2002 Edin Kadribasic <edink@php.net> Fix ZTS build.
/php-src/ext/standard/array.c
aaf920f 11-Sep-2002 Derick Rethans <derick@php.net> - Little whitespace changes
/php-src/ext/standard/array.c
afdfe38 11-Sep-2002 Andrey Hristov <andrey@php.net> New function added : array_diff_assoc() . Like array_diff() but does
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
/php-src/ext/standard/array.c
333b01b 10-Sep-2002 Edin Kadribasic <edink@php.net> Fixed ZTS build.
/php-src/ext/standard/array.c
dd7cf22 10-Sep-2002 Andrei Zmievski <andrei@php.net> @- Fixed array_merge_recursive() to avoid problems with merging cyclical
@ arrays (bug #16064). (Andrei)
/php-src/ext/standard/array.c
2c6154d 09-Sep-2002 Andrei Zmievski <andrei@php.net> @- Added ability to extract() variables as references via OR'able EXTR_REFS
@ flag. (Andrei)
/php-src/ext/standard/array.c
149ad05 24-Aug-2002 Marcus Boerger <helly@php.net> php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
/php-src/ext/standard/array.c
95e933f 21-Aug-2002 Marcus Boerger <helly@php.net> Fixes array test 004.phpt. Nice copy paste error.
/php-src/ext/standard/array.c
dee21ad 15-Aug-2002 Dan Kalowsky <kalowsky@php.net> Fix for bug #18401, makes shuffle() properly generate all possibilities.
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
/php-src/ext/standard/array.c
c90764d 03-Aug-2002 Brad LaFountain <rodif_bl@php.net> one last fix for array_shift
/php-src/ext/standard/array.c
9b0553c 01-Aug-2002 Brad LaFountain <rodif_bl@php.net> array_pop wasnt setting next index
/php-src/ext/standard/array.c
922b759 01-Aug-2002 foobar <sniper@php.net> That was not correct..
/php-src/ext/standard/array.c
6df2b90 01-Aug-2002 foobar <sniper@php.net> Reset index when doing array_pop()
/php-src/ext/standard/array.c
06b3dd1 01-Aug-2002 foobar <sniper@php.net> Nuke compile warning.
/php-src/ext/standard/array.c
9d62cd7 01-Aug-2002 foobar <sniper@php.net> - Removed the DOS line endings
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
/php-src/ext/standard/array.c
4f5bd6b 01-Aug-2002 Brad LaFountain <rodif_bl@php.net> made array_shift re-index like it did before previous fix
/php-src/ext/standard/array.c
9fe39b9 31-Jul-2002 foobar <sniper@php.net> Reverted the patch..it breaks the original behaviour of at least array_shift.
/php-src/ext/standard/array.c
70fb744 30-Jul-2002 Brad LaFountain <rodif_bl@php.net> fixed bugs 16063 and 16068
increased preformance of array_pop and array_shift
/php-src/ext/standard/array.c
392a452 08-Jul-2002 Derick Rethans <derick@php.net> Silence warning
/php-src/ext/standard/array.c
cc92057 08-Jul-2002 Derick Rethans <derick@php.net> Unify error messages
/php-src/ext/standard/array.c
7faa669 08-Jul-2002 Derick Rethans <derick@php.net> - Fix for bug #14580: Made key() binary safe
/php-src/ext/standard/array.c
1bf9b3d 29-Jun-2002 Derick Rethans <derick@php.net> - Fix for bug #17654
/php-src/ext/standard/array.c
7853832 18-Jun-2002 Stig Venaas <venaas@php.net> Made array_unique() always keep the first occurrences of duplicates,
making the behavior easier to understand, and maybe more useful.
/php-src/ext/standard/array.c
df226a5 18-Jun-2002 Jan Lehnardt <jan@php.net> - WS-fixes
/php-src/ext/standard/array.c
a8de8ec 10-Jun-2002 Jan Lehnardt <jan@php.net> - whitespace fix
/php-src/ext/standard/array.c
8e19555 10-Jun-2002 Harald Radi <phanto@php.net> fix the build
/php-src/ext/standard/array.c
7f4c12b 10-Jun-2002 Andrei Zmievski <andrei@php.net> Fix bug #7045: shuffle() now provides consistent distribution of values
in the array.
/php-src/ext/standard/array.c
e7ab576 03-Jun-2002 Edin Kadribasic <edink@php.net> Fixed array_rand() on ZTS platforms.
@- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)
/php-src/ext/standard/array.c
1668570 13-May-2002 Andrei Zmievski <andrei@php.net> Changing email address.
/php-src/ext/standard/array.c
5ff970b 24-Apr-2002 Andrei Zmievski <andrei@php.net> Fix Bug #14795.
/php-src/ext/standard/array.c
4fc0102 24-Apr-2002 Andrei Zmievski <andrei@php.net> Fix unwanted type conversion in array_merge_recursive (Bug #14990).
/php-src/ext/standard/array.c
6adb330 12-Mar-2002 Sebastian Bergmann <sebastian@php.net> Fix TSRMLS_CC.
/php-src/ext/standard/array.c
e953dba 12-Mar-2002 Yasuo Ohgaki <yohgaki@php.net> Make use of TSRMLS_C/D
/php-src/ext/standard/array.c
bb685a4 01-Mar-2002 Zeev Suraski <zeev@php.net> Fix php_splice() to work with large values
/php-src/ext/standard/array.c
284eaf3 05-Feb-2002 Andi Gutmans <andi@php.net> - Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
/php-src/ext/standard/array.c
441c583 01-Feb-2002 Andrei Zmievski <andrei@php.net> Converted extract() to use smart_str for variable name manipulation. This
sped it up a bit.
/php-src/ext/standard/array.c
0d139d3 25-Jan-2002 Rasmus Lerdorf <rasmus@php.net> (extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exists
@ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
@ then it prepends the prefix to it. ie. if $PATH exists then
@ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
@ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
@ and you only get the global request variables you have defined imported
@ into your symbol table. (Rasmus)
/php-src/ext/standard/array.c
ddc039d 10-Jan-2002 Andrei Zmievski <andrei@php.net> Fix the recursive counting, it was broken for associative or non-sequential
arrays. Also update NEWS file.
/php-src/ext/standard/array.c
aee5703 09-Jan-2002 Derick Rethans <derick@php.net> - Fix bug introduced in earlier patch
/php-src/ext/standard/array.c
cef0a46 29-Dec-2001 Derick Rethans <derick@php.net> - Added extra parameter to count() that recursively counts elements in an
array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
<glipy@fx.ro>)
/php-src/ext/standard/array.c
211d712 29-Dec-2001 Andi Gutmans <andi@php.net> @ Fix bug in krsort() where an extra character was being compared (Andi)
- Fix bug in krsort() where an extra character was being compared (Andi)
/php-src/ext/standard/array.c
2c9f5d8 22-Dec-2001 Zak Greant <zak@php.net> Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,
uasort, uksort and usort.

Corrected prototype comments for all.

Converted to use zend_parse_parameters, except for the u.?sort functions.

Changed return values for failure from implicit NULL to explicit FALSE in
asort(), krsort(), and ksort().

Changed pval to zval in the u.?sort functions.

Added test to help ensure that fixes to code do not change function
behavior. Tests are quite large (~237k) but compress down to ~16k.
Please let me know if this is a problem!
/php-src/ext/standard/array.c
3893351 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/php-src/ext/standard/array.c
78e4644 11-Nov-2001 Derick Rethans <derick@php.net> - Renaming key_exists to array_key_exists
@- Renamed key_exists tp array_key_exists. (Derick)
#- Not sure if this belongs in NEWS, but it was already in a released
# version. And yes, I know I'm breaking BC here, but as it was not documented
# yet, that doesn't matter.
/php-src/ext/standard/array.c
2890b57 27-Oct-2001 Andrei Zmievski <andrei@php.net> @- Added array_chunk() function that splits an array into chunks of specified
@ size. (Andrei)
/php-src/ext/standard/array.c
72fc6bc 23-Oct-2001 Rasmus Lerdorf <rasmus@php.net> As suggested on php-dev, array_fill() is probably a better name for this
function.
/php-src/ext/standard/array.c
d98c96f 22-Oct-2001 Rasmus Lerdorf <rasmus@php.net> Use references instead of making a copy each time in array_init(). About
twice as fast for a high number of elements. 2.80 seconds for the copy
of 1,000,000 elements and 1.39s for the reference version. Need to chunk
it every 62k or so because refcount is a short.
/php-src/ext/standard/array.c
4d60dbb 21-Oct-2001 Rasmus Lerdorf <rasmus@php.net> Oops, leftover crud
/php-src/ext/standard/array.c
798ec79 21-Oct-2001 Rasmus Lerdorf <rasmus@php.net> Motivated by bug #13607 I wrote up a simple array_init() function that
lets you quickly create an array and initialize each element to a certain
value.
@ Add array_init() function (Rasmus)
/php-src/ext/standard/array.c
78b881f 07-Oct-2001 Jeroen van Wolffelaar <jeroen@php.net> Fix naming inside php_search_array, comp_func is not a compare function.
/php-src/ext/standard/array.c
62feefd 05-Oct-2001 Jeroen van Wolffelaar <jeroen@php.net> Fix array_search and in_array. Now binary safe, and faster (returns when
found, and doesn't duplicate the key each time, but only when necessary)

Patch also by Edin Kadribasic
/php-src/ext/standard/array.c
89ea50a 05-Oct-2001 Jeroen van Wolffelaar <jeroen@php.net> Fix bug 13567 and don't depend on a boolean int-value to be either 1 or 0
/php-src/ext/standard/array.c
e78b615 05-Oct-2001 Edin Kadribasic <edink@php.net> Added array_change_key_case() function that returns array with
with all string keys lowercased or uppercased
@- Added array_change_key_case() function that returns array with
@ with all string keys lowercased or uppercased (EdinK)
/php-src/ext/standard/array.c
bcb426a 17-Sep-2001 Sterling Hughes <sterling@php.net> Merge in qsort changes
/php-src/ext/standard/array.c
97fea09 16-Sep-2001 Sterling Hughes <sterling@php.net> Make rand thread safe when ZTS is defined.
/php-src/ext/standard/array.c
78747bd 09-Sep-2001 Derick Rethans <derick@php.net> - Don't wrap lines... this is annoying while coding.
/php-src/ext/standard/array.c
ff2bc83 09-Sep-2001 Sterling Hughes <sterling@php.net> remove ARG_COUNT(ht)

# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
/php-src/ext/standard/array.c
42b5521 05-Sep-2001 foobar <sniper@php.net> revert bad commit.
/php-src/ext/standard/array.c
9b88864 04-Sep-2001 Daniel Beulshausen <dbeu@php.net> fix zts+win32 build
/php-src/ext/standard/array.c
1ecd31b 03-Sep-2001 Andi Gutmans <andi@php.net> - Fix thread safe mode.
- Please don't use Java style function braces.
/php-src/ext/standard/array.c
0cb6a31 03-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Fix array_rand and array_suffle to use php_rand correctly
/php-src/ext/standard/array.c
b0300e2 03-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Fix prototype
/php-src/ext/standard/array.c
f7306ce 03-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Merge RAND_REDESIGN into MAIN
/php-src/ext/standard/array.c
392e1ed 31-Aug-2001 Andrei Zmievski <andrei@php.net> @- Made in_array() and search_array() allow the needle to be an array in
@ itself. (Andrei)
/php-src/ext/standard/array.c
563ffb8 28-Aug-2001 Rasmus Lerdorf <rasmus@php.net> Kill a warning
/php-src/ext/standard/array.c
cae9763 24-Aug-2001 Andrei Zmievski <andrei@php.net> @- Fixed a crash bug in array_map() if the input arrays had string or
@ non-sequential keys. Also modified it so that if a single array is passed,
@ its keys are preserved in the resulting array. (Andrei)
/php-src/ext/standard/array.c
e140b35 21-Aug-2001 Zeev Suraski <zeev@php.net> API update
/php-src/ext/standard/array.c
c0404f4 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/php-src/ext/standard/array.c
32440e3 07-Aug-2001 Andrei Zmievski <andrei@php.net> Fix a couple of leaks.
/php-src/ext/standard/array.c
23b9300 06-Aug-2001 Sascha Schumann <sas@php.net> more tsrm cleanup
/php-src/ext/standard/array.c
bffbe67 04-Aug-2001 Andrei Zmievski <andrei@php.net> @- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
/php-src/ext/standard/array.c
49c1629 03-Aug-2001 Jeroen van Wolffelaar <jeroen@php.net> - Fix array_sum to switch to float on overflow. Fixes bug#12505
/php-src/ext/standard/array.c
c43806f 30-Jul-2001 Zeev Suraski <zeev@php.net> Zend compatibility patch
/php-src/ext/standard/array.c
7b1c400 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation (Zend compatibility patch)
/php-src/ext/standard/array.c
d87cc97 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/php-src/ext/standard/array.c
fe6f871 27-Jul-2001 Zeev Suraski <zeev@php.net> - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
/php-src/ext/standard/array.c
45d71e2 09-Jul-2001 Rasmus Lerdorf <rasmus@php.net> Make range() function smarter
@ - Improve range() function to support range('a','z') and range(9,0)
@ types of ranges. (Rasmus)
/php-src/ext/standard/array.c
c977f29 19-Jun-2001 Andi Gutmans <andi@php.net> - Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
/php-src/ext/standard/array.c
81e2cf0 06-Jun-2001 Rasmus Lerdorf <rasmus@php.net> Fix folding and clean up some extensions
/php-src/ext/standard/array.c
25c3a3a 05-Jun-2001 Rasmus Lerdorf <rasmus@php.net> vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/php-src/ext/standard/array.c
639b957 23-May-2001 John Donagher <jdonagher@php.net> Add missing end-folding delimiter
/php-src/ext/standard/array.c
f071e8c 10-May-2001 Andrei Zmievski <andrei@php.net> Always free the callback_name when using zend_is_callable().
/php-src/ext/standard/array.c
34f03f2 30-Apr-2001 David Croft <david@php.net> @ - Added key_exists() to check if a given key or index exists in an
@ array or object (David Croft)
Added key_exists() to check if a given key or index exists in an array or object
/php-src/ext/standard/array.c
221a5a6 02-Apr-2001 Andrei Zmievski <andrei@php.net> Use correct string length.
/php-src/ext/standard/array.c
d9aa966 19-Mar-2001 Andrei Zmievski <andrei@php.net> @- Added array_map() function that applies a callback to the elements
@ of given arrays and returns the result. It can also be used with a
@ null callback to transpose arrays. (Andrei)
/php-src/ext/standard/array.c
770c661 16-Mar-2001 Andrei Zmievski <andrei@php.net> @- Added array_filter(), which allows filtering of array elements via
@ the specified callback. (Andrei)
/php-src/ext/standard/array.c
f7f2cf9 16-Mar-2001 Andrei Zmievski <andrei@php.net> All user callbacks should be to EG(function_table).
/php-src/ext/standard/array.c
6195f14 16-Mar-2001 Frank M. Kromann <fmk@php.net> Fixing build on Win32 by adding missing BLS_FETCH();
/php-src/ext/standard/array.c
561cc74 16-Mar-2001 Andrei Zmievski <andrei@php.net> @- Fixed all relevant array functions to avoid moving the internal array
@ pointer during operations. (Andrei)
/php-src/ext/standard/array.c
0fa068e 12-Mar-2001 Stanislav Malyshev <stas@php.net> Prevent memory leak
/php-src/ext/standard/array.c
be83ba1 12-Mar-2001 Stanislav Malyshev <stas@php.net> Use hash position with array_flip
/php-src/ext/standard/array.c
40dd7ee 12-Mar-2001 Andrei Zmievski <andrei@php.net> This will have to do until the docs come along.
/php-src/ext/standard/array.c
d73ef12 12-Mar-2001 Andrei Zmievski <andrei@php.net> @- Added array_reduce(), which allows iterative reduction of an array
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function.
- Fixed usage of zend_is_callable() in PCRE.
/php-src/ext/standard/array.c
eb6ba01 26-Feb-2001 Andi Gutmans <andi@php.net> - Fix copyright notices with 2001
/php-src/ext/standard/array.c
118c015 22-Feb-2001 James Moore <jmoore@php.net> Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand.
/php-src/ext/standard/array.c
8d7972b 21-Feb-2001 Andrei Zmievski <andrei@php.net> Fix memory leak.
/php-src/ext/standard/array.c
ffa08fc 20-Feb-2001 Jason Greene <jason@php.net> Changed default behavior of array_search to match in_array
(strict was default on, and is now default off)
/php-src/ext/standard/array.c
1424e36 20-Feb-2001 Andrei Zmievski <andrei@php.net> Rename to array_search().
/php-src/ext/standard/array.c
1888a98 20-Feb-2001 Jason Greene <jason@php.net> Moved the core of in_array into the function php_search_array, which is called by
in_array and search_array (new)

@ Added search_array which works similar to in_array but returns
@ the key instead of a boolean. (jason@php.net)
/php-src/ext/standard/array.c
e541a27 06-Feb-2001 Jim Jagielski <jimjag@php.net> For those lucky systems with both random() and *rand48(), the random()
family is the prefered choice. So if both exist, we now choose that.
/php-src/ext/standard/array.c
21aeba2 22-Jan-2001 Andrei Zmievski <andrei@php.net> @- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is
@ used. (Andrei)
@- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix
@ string keys that do not constitute valid variable names. (Andrei)
/php-src/ext/standard/array.c
145f60a 08-Jan-2001 Andrei Zmievski <andrei@php.net> @- Changed extract() to check that prefixed name is a valid one. (Andrei)

Changed extract() to check that prefixed name is a valid one.
Optimized extract() a bit too.

# It'd be nice if someone made regression tests for extract().
/php-src/ext/standard/array.c
74175e4 08-Jan-2001 Andrei Zmievski <andrei@php.net> @- Changed extract() to return the number of variables extracted. (Andrei)
/php-src/ext/standard/array.c
c5b1104 28-Dec-2000 Stig Venaas <venaas@php.net> Hopefully solves some bad behavior in array_unique(), array_intersect()
and array_diff(). Now using SORT_STRING instead of SORT_REGULAR
@- Fixed misbehavior of array_unique(), array_intersect() and array_diff();
@ could in certain cases give wrong result or segfault (Stig Venaas)
/php-src/ext/standard/array.c
a1614b8 22-Dec-2000 Andrei Zmievski <andrei@php.net> (PHP preg_replace) Fix to allow proper escaping of captured subpattern
references in the replacement string.
(PHP array_sum) Check that argument is an array.
/php-src/ext/standard/array.c
aa6d2ac 22-Dec-2000 Zeev Suraski <zeev@php.net> Heads up people!

Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
/php-src/ext/standard/array.c
753e466 11-Dec-2000 Andrei Zmievski <andrei@php.net> Make php_array_merge() an API function.
/php-src/ext/standard/array.c
949b089 27-Nov-2000 Sascha Schumann <sas@php.net> The result of conv_z_macros and some manual conversion of
"return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL.
/php-src/ext/standard/array.c
a5c7576 03-Nov-2000 Stig Venaas <venaas@php.net> Fixed memory leak in array_diff and array_intersect, was introduced with
last change.
/php-src/ext/standard/array.c
9866d89 02-Nov-2000 Sascha Schumann <sas@php.net> Namespace protect mergesort (caused conflict on Darwin).
/php-src/ext/standard/array.c
d4cf62f 27-Oct-2000 Andrei Zmievski <andrei@php.net> @- Fixed array_rand() to shuffle results when the number of requested
@ elements is the same as the number of elements in the array. (Andrei)
/php-src/ext/standard/array.c
a35bf41 25-Oct-2000 Andrei Zmievski <andrei@php.net> Added array_sum() function.
/php-src/ext/standard/array.c
e8c7fd7 22-Oct-2000 Stig Venaas <venaas@php.net> Fixed array_type_data_compare(). I want strings to always differ from
numbers, but not say 7 and 7.0 to differ.
/php-src/ext/standard/array.c
4edb210 21-Oct-2000 Stig Venaas <venaas@php.net> Made array_unique use array_type_data_compare instead of array_data_compare
/php-src/ext/standard/array.c
508d199 21-Oct-2000 Stig Venaas <venaas@php.net> Added array_type_data_compare which is like array_data_compare but
compares type first. Also rewrote array_intersect and array_diff,
so that the order is not changed.
@- Made array_intersect and array_diff not alter order (Stig Venaas)
/php-src/ext/standard/array.c
c54047b 19-Sep-2000 Andi Gutmans <andi@php.net> - Change to Z_BVAL macro
/php-src/ext/standard/array.c
c45b1c2 19-Sep-2000 Zeev Suraski <zeev@php.net> - Fix warnings
- Fix URL scanner startup crash
/php-src/ext/standard/array.c
5470222 12-Sep-2000 Andrei Zmievski <andrei@php.net> Forgot to update proto.
/php-src/ext/standard/array.c
3457435 12-Sep-2000 Andrei Zmievski <andrei@php.net> @- Added second argument to array_reverse() that indicatese whether
@ the original array keys should be preserved. (Andrei)
/php-src/ext/standard/array.c
d89c5b2 22-Aug-2000 Andrei Zmievski <andrei@php.net> @- Updated array_walk() to be able to accept array($obj, 'method')
@ syntax for the walk function. (Andrei)
/php-src/ext/standard/array.c
c1ceeaf 18-Aug-2000 Hartmut Holzgraefe <hholzgra@php.net> typo fix in array_diff error message, fixes bug #6236
/php-src/ext/standard/array.c
867160a 18-Aug-2000 Hartmut Holzgraefe <hholzgra@php.net> minor typo fix in proto
/php-src/ext/standard/array.c
920f6fd 04-Aug-2000 Hartmut Holzgraefe <hholzgra@php.net> ooops - theese new parameters are optional
/php-src/ext/standard/array.c
6a93f28 04-Aug-2000 Hartmut Holzgraefe <hholzgra@php.net> added new second parameter to osrt functions in the protos
/php-src/ext/standard/array.c
83513d9 24-Jul-2000 David Croft <david@php.net> Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.

# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
/php-src/ext/standard/array.c
8f96ea6 17-Jul-2000 Andrei Zmievski <andrei@php.net> *** empty log message ***
/php-src/ext/standard/array.c
c9c425d 11-Jul-2000 Andrei Zmievski <andrei@php.net> Updated comments.
/php-src/ext/standard/array.c
3ac0ae9 11-Jul-2000 Andrei Zmievski <andrei@php.net> @- Improved array_multisort() to be able to specify sort type as well sort
@ order. Incidentally, it can be used to sort multi-dimensional arrays
@ as well. (Andrei)
/php-src/ext/standard/array.c
cd39736 04-Jul-2000 Egon Schmid <eschmid@php.net> Not every argument type is mixed.
/php-src/ext/standard/array.c
f2457db 04-Jul-2000 Egon Schmid <eschmid@php.net> Missed a two liner.
/php-src/ext/standard/array.c
49365ee 28-Jun-2000 Andrei Zmievski <andrei@php.net> Oops, didn't mean to commit that.
/php-src/ext/standard/array.c
29e8e56 28-Jun-2000 Andrei Zmievski <andrei@php.net> @- Added an optional parameter to preg_replace() that can be used to
@ specify how many replacements to make. (Andrei)
/php-src/ext/standard/array.c
5f98304 25-Jun-2000 Egon Schmid <eschmid@php.net> The second array_merge() is now array_merge_recursive().
/php-src/ext/standard/array.c
10b5f74 18-Jun-2000 Andrei Zmievski <andrei@php.net> One more place.
/php-src/ext/standard/array.c
789aa48 18-Jun-2000 Andrei Zmievski <andrei@php.net> @- Modified in_array() to not touch array pointer. (Andrei)
/php-src/ext/standard/array.c
da66298 17-Jun-2000 Zeev Suraski <zeev@php.net> - Fix a couple of wranings in the FTP code and in parsedate.y
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
/php-src/ext/standard/array.c
2e738b5 11-Jun-2000 Stig Venaas <venaas@php.net> Forgot to set_compare_func in the new array functions, had only tested
with older source.
/php-src/ext/standard/array.c
f18b903 10-Jun-2000 Stig Venaas <venaas@php.net> Changed array_subtract to array_diff
/php-src/ext/standard/array.c
99f151f 10-Jun-2000 Stig Venaas <venaas@php.net> Adding fuctions array_unique, array_intersect and array_subtract.
/php-src/ext/standard/array.c
3701bc4 05-Jun-2000 Andi Gutmans <andi@php.net> - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
/php-src/ext/standard/array.c
a23c64e 04-Jun-2000 Stanislav Malyshev <stas@php.net> \0 is part of they key, but not of the variable
/php-src/ext/standard/array.c
5673378 03-Jun-2000 Zeev Suraski <zeev@php.net> - Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)
/php-src/ext/standard/array.c
4c818ae 01-Jun-2000 Andrei Zmievski <andrei@php.net> @- Added third argument to in_array(). If it's true, then in_array()
@ will use strict comparison instead of the default one. (Andrei)

Fixes bug #4753
/php-src/ext/standard/array.c
01a4220 30-May-2000 Andrei Zmievski <andrei@php.net> @- Added array_merge_recursive() that will recursively merge values
@ under the same keys. (Andrei)
/php-src/ext/standard/array.c
4197a68 24-May-2000 Andrei Zmievski <andrei@php.net> @ Fixed min()/max() segfault. (Andrei)
/php-src/ext/standard/array.c
e043439 18-May-2000 Zeev Suraski <zeev@php.net> Update the license with the new clause 6
/php-src/ext/standard/array.c
aa09d60 18-May-2000 Andrei Zmievski <andrei@php.net> (PHP array_multisort) Fix the array_size test.
/php-src/ext/standard/array.c
a859e83 18-May-2000 Andrei Zmievski <andrei@php.net> Update for sort functions - user can now specify sort type.
/php-src/ext/standard/array.c
fdbea07 09-May-2000 Andrei Zmievski <andrei@php.net> @- Added array_rand() function. (Andrei)
/php-src/ext/standard/array.c
105be15 28-Apr-2000 Andrei Zmievski <andrei@php.net> Fix an empty arrays condition and optimize a bit.
@ Fixed a crash in array_multisort() that happened when empty arrays
@ were passed to it. (Andrei)
/php-src/ext/standard/array.c
9ffd5b5 13-Apr-2000 Andrei Zmievski <andrei@php.net> @- array_walk() now automatically resets the array. (Andrei)
/php-src/ext/standard/array.c
c7100c4 12-Apr-2000 Andrei Zmievski <andrei@php.net> Added natural comparison/sorting routines using code from Martin Pool.

@- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
@ natsort(), and natcasesort(). These are useful for comparing and sorting
@ strings that contain numbers. Based on the code from Martin Pool
@ <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/
@ for more info on natural sorting. (Andrei)
/php-src/ext/standard/array.c
3e2a103 04-Apr-2000 Egon Schmid <eschmid@php.net> Return type was missing.
/php-src/ext/standard/array.c
68d4298 29-Mar-2000 Sterling Hughes <sterling@php.net> #yikes stripes, didn't see that one
#its time to go to bed
Re-fixed return value of min and max
/php-src/ext/standard/array.c
cc2c9d8 29-Mar-2000 Sterling Hughes <sterling@php.net> 1. Holy protos Batman.
2. Converted some functions from using "return" to RETURN_FALSE
/php-src/ext/standard/array.c
7b02e9f 24-Mar-2000 Andrei Zmievski <andrei@php.net> @- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)
/php-src/ext/standard/array.c
99e0b36 06-Mar-2000 Stig Bakken <ssb@php.net> @Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.
/php-src/ext/standard/array.c
d23e5d8 25-Feb-2000 Stig Bakken <ssb@php.net> @- Implemented default_charset and default_mimetype config directives (Stig)
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
/php-src/ext/standard/array.c
2844918 24-Feb-2000 Egon Schmid <eschmid@php.net> There are more '|' and should be mixed.
/php-src/ext/standard/array.c
c401bbe 24-Feb-2000 Andrei Zmievski <andrei@php.net> Fix proto.
/php-src/ext/standard/array.c
fe615ef 24-Feb-2000 Egon Schmid <eschmid@php.net> More protos.
/php-src/ext/standard/array.c
86fa2aa 19-Feb-2000 Zeev Suraski <zeev@php.net> the pipe is breaking all the time
/php-src/ext/standard/array.c
a60e91b 11-Feb-2000 Andrei Zmievski <andrei@php.net> (request_shutdown) Prevent infinite loop on shutdown if there is an error
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.

Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.

This fixes bug #3419.
/php-src/ext/standard/array.c
80bdd19 11-Feb-2000 Zeev Suraski <zeev@php.net> Fine tune Andi's patch
/php-src/ext/standard/array.c
29280bb 10-Feb-2000 Andi Gutmans <andi@php.net> - Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
/php-src/ext/standard/array.c
c12aa45 05-Feb-2000 Zeev Suraski <zeev@php.net> Compile fixes
/php-src/ext/standard/array.c
3a81634 05-Feb-2000 Zeev Suraski <zeev@php.net> Cleanup patches
/php-src/ext/standard/array.c
bdefd5d 04-Jan-2000 Andi Gutmans <andi@php.net> - Change IS_UNSET -> IS_NULL
/php-src/ext/standard/array.c
43ae2bf 01-Jan-2000 Sascha Schumann <sas@php.net> Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
/php-src/ext/standard/array.c
ccb4b18 31-Dec-1999 Zeev Suraski <zeev@php.net> Happy new year (especially to Thies :)
- Zend branch patches merged in - get the PHP tree uptodate
- Clean
/php-src/ext/standard/array.c
235386b 26-Dec-1999 Zeev Suraski <zeev@php.net> Change ALLOC_ZVAL() semantics
/php-src/ext/standard/array.c
3f6e00e 24-Dec-1999 Andi Gutmans <andi@php.net> - Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
/php-src/ext/standard/array.c
80bab9d 21-Dec-1999 Andrei Zmievski <andrei@php.net> We're using ZVAL's now.
/php-src/ext/standard/array.c
489de5d 19-Dec-1999 Zeev Suraski <zeev@php.net> Support the latest update to call_user_function_ex()
/php-src/ext/standard/array.c
a1ad287 18-Dec-1999 Zeev Suraski <zeev@php.net> - The tree compiles again
/php-src/ext/standard/array.c
457a13d 13-Dec-1999 Andrei Zmievski <andrei@php.net> Finished array_multisort() function. Basically it sorts multiple arrays
similar to ORDER BY SQL clause.
@ Added array_multisort() function. (Andrei)
# Docs are coming soon
/php-src/ext/standard/array.c
9278d9d 12-Dec-1999 Sascha Schumann <sas@php.net> Remove unnecessary ARRAYLS_FETCH() calls
/php-src/ext/standard/array.c
dbaf6c5 11-Dec-1999 Andrei Zmievski <andrei@php.net> Added array globals in preparation for multisort() changes.
/php-src/ext/standard/array.c
3b51561 01-Dec-1999 Sascha Schumann <sas@php.net> Make array.c thread-safe
/php-src/ext/standard/array.c
5cc10ec 21-Nov-1999 Thies C. Arntzen <thies@php.net> @- Fixed float-compare in min(),max(),a[r]sort(),[r]sort(). (Thies)
convert_to_long() after compare_function() destroys float-compares!
/php-src/ext/standard/array.c
0929985 21-Nov-1999 Egon Schmid <eschmid@php.net> Maybe later on today. Must buy some beer first.
/php-src/ext/standard/array.c
2451ff5 21-Nov-1999 Thies C. Arntzen <thies@php.net> @- Implemented array_flip() function. Returns input-array with key, value
@ flipped. (Thies)
(PHP array_flip) new function. no clash detection, only works for IS_STRING and IS_LONG datatypes in src-array.
/php-src/ext/standard/array.c
ee1380e 21-Nov-1999 Thies C. Arntzen <thies@php.net> -renamed some macros
-return_value_used now used in a few more functions
/php-src/ext/standard/array.c
3bffcbe 19-Nov-1999 Andi Gutmans <andi@php.net> - Add array.c to the Win32 project
/php-src/ext/standard/array.c
61142e4 16-Nov-1999 Andrei Zmievski <andrei@php.net> Just some rearranging.
/php-src/ext/standard/array.c
9e14736 16-Nov-1999 Andi Gutmans <andi@php.net> - Change used_return_value to return_value_used
/php-src/ext/standard/array.c
7239aad 16-Nov-1999 Andi Gutmans <andi@php.net> - Initial support for Thies' idea of passing functions a flag telling them
they don't need to return a value. Adjusted reset() to work with this.
It is a bit problematic because if internal functions don't look at the
flag and still return a value orginally this leaked. So I free the value
in any case, which kind of makes the speed gain a bit smaller
/php-src/ext/standard/array.c
2b08dfe 14-Nov-1999 Thies C. Arntzen <thies@php.net> (PHP k[r]sort) now use compare_function from libzend to be consistent with the language-core.
/php-src/ext/standard/array.c
438addf 13-Nov-1999 Andrei Zmievski <andrei@php.net> Split array functions into separate module.
/php-src/ext/standard/array.c