Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5 | SVN Migration | 2003-02-27 | 1 | -106/+0 |
| | |||||
* | 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. | ||||
* | Finished array_multisort() function. Basically it sorts multiple arrays | Andrei Zmievski | 1999-12-13 | 1 | -1/+1 |
| | | | | | | | similar to ORDER BY SQL clause. @ Added array_multisort() function. (Andrei) # Docs are coming soon | ||||
* | Added array globals in preparation for multisort() changes. | Andrei Zmievski | 1999-12-11 | 1 | -1/+23 |
| | |||||
* | @Fix warnings compiling in maintainer mode. (Stig) | Stig Bakken | 1999-12-05 | 1 | -0/+2 |
| | | | | | | | Fix warnings compiling in maintainer mode. Install DB/common.php and DB/mysql.php on "make install". # We still have a warning from http_config.h:97. Rasmus? :-) | ||||
* | @- Implemented array_flip() function. Returns input-array with key, value | Thies C. Arntzen | 1999-11-21 | 1 | -0/+1 |
| | | | | | | @ flipped. (Thies) (PHP array_flip) new function. no clash detection, only works for IS_STRING and IS_LONG datatypes in src-array. | ||||
* | Split array functions into separate module. | Andrei Zmievski | 1999-11-13 | 1 | -0/+81 |