|
@@ 3491-3499 (lines=9) @@
|
| 3488 |
|
return null; |
| 3489 |
|
} |
| 3490 |
|
|
| 3491 |
|
if (!is_int($params[1]) |
| 3492 |
|
&& !is_float($params[1]) |
| 3493 |
|
&& !is_string($params[1]) |
| 3494 |
|
&& $params[1] !== null |
| 3495 |
|
&& !(is_object($params[1]) && method_exists($params[1], '__toString')) |
| 3496 |
|
) { |
| 3497 |
|
trigger_error('array_column(): The column key should be either a string or an integer', E_USER_WARNING); |
| 3498 |
|
return false; |
| 3499 |
|
} |
| 3500 |
|
|
| 3501 |
|
if (isset($params[2]) |
| 3502 |
|
&& !is_int($params[2]) |
|
@@ 3501-3509 (lines=9) @@
|
| 3498 |
|
return false; |
| 3499 |
|
} |
| 3500 |
|
|
| 3501 |
|
if (isset($params[2]) |
| 3502 |
|
&& !is_int($params[2]) |
| 3503 |
|
&& !is_float($params[2]) |
| 3504 |
|
&& !is_string($params[2]) |
| 3505 |
|
&& !(is_object($params[2]) && method_exists($params[2], '__toString')) |
| 3506 |
|
) { |
| 3507 |
|
trigger_error('array_column(): The index key should be either a string or an integer', E_USER_WARNING); |
| 3508 |
|
return false; |
| 3509 |
|
} |
| 3510 |
|
|
| 3511 |
|
$paramsInput = $params[0]; |
| 3512 |
|
$paramsColumnKey = ($params[1] !== null) ? (string) $params[1] : null; |