Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | - MFH Added array_fill_keys(). (Marcus, Mathew W) | Marcus Boerger | 2006-07-15 | 1 | -0/+1 |
| | |||||
* | I swear it wasn't me. | Andrei Zmievski | 2006-06-03 | 1 | -2/+0 |
| | |||||
* | Move array globals declarations back to the header file. | Andrei Zmievski | 2006-02-07 | 1 | -0/+13 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | add function array_product() | Andrey Hristov | 2005-05-11 | 1 | -0/+1 |
| | |||||
* | - Use new way for global variables | Marcus Boerger | 2004-11-01 | 1 | -13/+0 |
| | | | | | - Cache class lookup | ||||
* | add array_: | Andrey Hristov | 2004-07-21 | 1 | -0/+4 |
| | | | | | | | | | | 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. | ||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -2/+2 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | New array functions for doing intersection of arrays that are complementary | Andrey Hristov | 2003-10-09 | 1 | -0/+4 |
| | | | | | | | 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. | ||||
* | 4 new functions : | Andrey Hristov | 2003-09-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | 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). | ||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | Added array_walk_recursive() function that can apply array_walk recursively | Ilia Alshanetsky | 2003-02-05 | 1 | -0/+1 |
| | | | | | to an array. | ||||
* | added array_combine(). | Andrey Hristov | 2003-01-13 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | New function added - array_intersect_assoc() similar to array_intersect() | Andrey Hristov | 2002-09-21 | 1 | -0/+1 |
| | | | | | | | 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. | ||||
* | New function added : array_diff_assoc() . Like array_diff() but does | Andrey Hristov | 2002-09-11 | 1 | -0/+1 |
| | | | | | | additional checks on key values. Test script will be added too. #My first patch . it feels strange :) | ||||
* | Fixed ZTS build. | Edin Kadribasic | 2002-09-10 | 1 | -1/+1 |
| | |||||
* | @- Fixed array_merge_recursive() to avoid problems with merging cyclical | Andrei Zmievski | 2002-09-10 | 1 | -1/+1 |
| | | | | | @ arrays (bug #16064). (Andrei) | ||||
* | Changing email address. | Andrei Zmievski | 2002-05-13 | 1 | -1/+1 |
| | |||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | - Renaming key_exists to array_key_exists | Derick Rethans | 2001-11-11 | 1 | -1/+1 |
| | | | | | | | | @- 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. | ||||
* | @- Added array_chunk() function that splits an array into chunks of specified | Andrei Zmievski | 2001-10-27 | 1 | -0/+1 |
| | | | | | @ size. (Andrei) | ||||
* | As suggested on php-dev, array_fill() is probably a better name for this | Rasmus Lerdorf | 2001-10-23 | 1 | -1/+1 |
| | | | | | function. | ||||
* | Motivated by bug #13607 I wrote up a simple array_init() function that | Rasmus Lerdorf | 2001-10-21 | 1 | -0/+1 |
| | | | | | | | lets you quickly create an array and initialize each element to a certain value. @ Add array_init() function (Rasmus) | ||||
* | Added array_change_key_case() function that returns array with | Edin Kadribasic | 2001-10-05 | 1 | -0/+1 |
| | | | | | | | 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) | ||||
* | Merge in qsort changes | Sterling Hughes | 2001-09-17 | 1 | -1/+1 |
| | |||||
* | More TSRMLS_FETCH annihilation (Zend compatibility patch) | Zeev Suraski | 2001-07-30 | 1 | -1/+1 |
| | |||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -11/+1 |
| | |||||
* | @ - Added key_exists() to check if a given key or index exists in an | David Croft | 2001-04-30 | 1 | -0/+1 |
| | | | | | | @ array or object (David Croft) Added key_exists() to check if a given key or index exists in an array or object | ||||
* | @- Added array_map() function that applies a callback to the elements | Andrei Zmievski | 2001-03-19 | 1 | -0/+1 |
| | | | | | | @ of given arrays and returns the result. It can also be used with a @ null callback to transpose arrays. (Andrei) | ||||
* | @- Added array_filter(), which allows filtering of array elements via | Andrei Zmievski | 2001-03-16 | 1 | -0/+1 |
| | | | | | @ the specified callback. (Andrei) | ||||
* | @- Added array_reduce(), which allows iterative reduction of an array | Andrei Zmievski | 2001-03-12 | 1 | -0/+1 |
| | | | | | | | | @ 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. | ||||
* | - Fix copyright notices with 2001 | Andi Gutmans | 2001-02-26 | 1 | -1/+1 |
| | |||||
* | Rename to array_search(). | Andrei Zmievski | 2001-02-20 | 1 | -1/+1 |
| | |||||
* | Moved the core of in_array into the function php_search_array, which is ↵ | Jason Greene | 2001-02-20 | 1 | -0/+1 |
| | | | | | | | | | | 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) | ||||
* | Make php_array_merge() an API function. | Andrei Zmievski | 2000-12-11 | 1 | -0/+1 |
| | |||||
* | Added array_sum() function. | Andrei Zmievski | 2000-10-25 | 1 | -0/+1 |
| | |||||
* | Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files. | David Croft | 2000-07-24 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | @- Improved array_multisort() to be able to specify sort type as well sort | Andrei Zmievski | 2000-07-11 | 1 | -1/+1 |
| | | | | | | @ order. Incidentally, it can be used to sort multi-dimensional arrays @ as well. (Andrei) | ||||
* | Change header protection macros to conform to standard. | Sascha Schumann | 2000-07-02 | 1 | -3/+3 |
| | | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation. | ||||
* | Changed array_subtract to array_diff | Stig Venaas | 2000-06-10 | 1 | -1/+1 |
| | |||||
* | Adding fuctions array_unique, array_intersect and array_subtract. | Stig Venaas | 2000-06-10 | 1 | -0/+3 |
| | |||||
* | @- Added array_merge_recursive() that will recursively merge values | Andrei Zmievski | 2000-05-30 | 1 | -0/+1 |
| | | | | | @ under the same keys. (Andrei) | ||||
* | Update the license with the new clause 6 | Zeev Suraski | 2000-05-18 | 1 | -2/+2 |
| | |||||
* | Update for sort functions - user can now specify sort type. | Andrei Zmievski | 2000-05-18 | 1 | -1/+2 |
| | |||||
* | @- Added array_rand() function. (Andrei) | Andrei Zmievski | 2000-05-09 | 1 | -0/+1 |
| | |||||
* | Added natural comparison/sorting routines using code from Martin Pool. | Andrei Zmievski | 2000-04-12 | 1 | -0/+2 |
| | | | | | | | | | @- 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) | ||||
* | @Cleaned up extension namespace (Stig) | Stig Bakken | 2000-03-06 | 1 | -26/+14 |
| | | | | | | Cleaned up extension namespace, and changed ext/standard into one single extension. |