diff options
author | David Soria Parra <dsp@php.net> | 2013-03-20 13:02:33 +0100 |
---|---|---|
committer | David Soria Parra <dsp@php.net> | 2013-03-20 13:02:33 +0100 |
commit | 0173c4bab0357e58e74e2a84b18fa31034699582 (patch) | |
tree | d25b1fa1c8311b9642bb3d8cae911151a538c53f /ext/standard/php_array.h | |
parent | bf8026aacf6ebeafca9c78928e3e660d7698ff6a (diff) | |
parent | f5bf1ba88fbacfebbb59b1e7bf43dd73649fa686 (diff) | |
download | php-git-0173c4bab0357e58e74e2a84b18fa31034699582.tar.gz |
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()
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 942c33f9e8..1cf2779071 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -71,6 +71,7 @@ PHP_FUNCTION(array_replace_recursive); PHP_FUNCTION(array_keys); PHP_FUNCTION(array_values); PHP_FUNCTION(array_count_values); +PHP_FUNCTION(array_column); PHP_FUNCTION(array_reverse); PHP_FUNCTION(array_reduce); PHP_FUNCTION(array_pad); |