]> granicus.if.org Git - php/commit
Allow array_column() to take -1 as a valid value in third param
authorSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 21:57:05 +0000 (14:57 -0700)
committerSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 22:54:21 +0000 (15:54 -0700)
commit1a03bd5dee97a0f8b9e74b7f8db5231abd8cc7e4
treeeaf61baa165de87eb0b25db7714e9eeccb834eac
parentf63db963c48775e89e7d5f63235733098c2f653d
Allow array_column() to take -1 as a valid value in third param

Also do some cleanup and simplification to make this code more
readable in the long term.
ext/standard/array.c
ext/standard/tests/array/array_column_basic.phpt