]> granicus.if.org Git - php/commit
array_column() - Use entire subject array when NULL passed for second param.
authorSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 23:19:21 +0000 (16:19 -0700)
committerSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 23:19:21 +0000 (16:19 -0700)
commit734e165d4e427feca9a736b62832a2ff287a22c9
tree5e20e8b10bedebc8fe6ec9e4ec3724061a4f5b68
parent1a03bd5dee97a0f8b9e74b7f8db5231abd8cc7e4
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.
ext/standard/array.c
ext/standard/tests/array/array_column_variant.phpt [new file with mode: 0644]