Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
It must return null
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Carneiro committed Jul 22, 2013
1 parent a3013fe commit f1bf9d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/array_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function array_column($input = null, $columnKey = null, $indexKey = null)

if ($argc < 2) {
trigger_error("array_column() expects at least 2 parameters, {$argc} given", E_USER_WARNING);
return null;
}

if (!is_array($params[0])) {
Expand Down

0 comments on commit f1bf9d1

Please sign in to comment.