summaryrefslogtreecommitdiff
path: root/ext/standard/php_array.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.5' into PHP-5.6Bob Weinand2014-04-141-0/+4
|\
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Add zend_hash_spliceNikita Popov2014-04-091-1/+1
| | | | | | | | | | | | | | | | 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.
* | Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Using only two constants to signal use type intent.Tjerk Meesters2013-09-281-1/+0
| |
* | added bitmask variationdatibbaw2013-09-281-0/+4
|/
* Merge branch 'pull-request/257' into PHP-5.5David Soria Parra2013-03-201-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()
| * Implement new array function array_column()Ben Ramsey2013-01-111-0/+1
| | | | | | | | | | array_column() returns the values of the specified column from a multi-dimensional array.
| * Happy New Year~Xinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functionsArpad Ray2011-08-291-0/+2
| |
* | - Year++Felipe Pena2011-01-011-1/+1
|/
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas)Johannes Schlüter2008-07-311-0/+3
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* - MFH from HEAD:Jani Taskinen2007-11-021-2/+9
| | | | | | | | | | | | . 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.
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH Added array_fill_keys(). (Marcus, Mathew W)Marcus Boerger2006-07-151-0/+1
|
* I swear it wasn't me.Andrei Zmievski2006-06-031-2/+0
|
* Move array globals declarations back to the header file.Andrei Zmievski2006-02-071-0/+13
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* add function array_product()Andrey Hristov2005-05-111-0/+1
|
* - Use new way for global variablesMarcus Boerger2004-11-011-13/+0
| | | | | - Cache class lookup
* add array_:Andrey Hristov2004-07-211-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..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* New array functions for doing intersection of arrays that are complementaryAndrey Hristov2003-10-091-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 Hristov2003-09-231-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 Cox2003-06-101-3/+3
|
* Added array_walk_recursive() function that can apply array_walk recursivelyIlia Alshanetsky2003-02-051-0/+1
| | | | | to an array.
* added array_combine().Andrey Hristov2003-01-131-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 Bergmann2002-12-311-1/+1
|
* New function added - array_intersect_assoc() similar to array_intersect()Andrey Hristov2002-09-211-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 doesAndrey Hristov2002-09-111-0/+1
| | | | | | additional checks on key values. Test script will be added too. #My first patch . it feels strange :)
* Fixed ZTS build.Edin Kadribasic2002-09-101-1/+1
|
* @- Fixed array_merge_recursive() to avoid problems with merging cyclicalAndrei Zmievski2002-09-101-1/+1
| | | | | @ arrays (bug #16064). (Andrei)
* Changing email address.Andrei Zmievski2002-05-131-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Renaming key_exists to array_key_existsDerick Rethans2001-11-111-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 specifiedAndrei Zmievski2001-10-271-0/+1
| | | | | @ size. (Andrei)
* As suggested on php-dev, array_fill() is probably a better name for thisRasmus Lerdorf2001-10-231-1/+1
| | | | | function.
* Motivated by bug #13607 I wrote up a simple array_init() function thatRasmus Lerdorf2001-10-211-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 withEdin Kadribasic2001-10-051-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 changesSterling Hughes2001-09-171-1/+1
|
* More TSRMLS_FETCH annihilation (Zend compatibility patch)Zeev Suraski2001-07-301-1/+1
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-11/+1
|