|
@@ 3606-3614 (lines=9) @@
|
| 3603 |
|
return null; |
| 3604 |
|
} |
| 3605 |
|
|
| 3606 |
|
if (!is_int($params[1]) |
| 3607 |
|
&& !is_float($params[1]) |
| 3608 |
|
&& !is_string($params[1]) |
| 3609 |
|
&& $params[1] !== null |
| 3610 |
|
&& !(is_object($params[1]) && method_exists($params[1], '__toString')) |
| 3611 |
|
) { |
| 3612 |
|
trigger_error('array_column(): The column key should be either a string or an integer', E_USER_WARNING); |
| 3613 |
|
return false; |
| 3614 |
|
} |
| 3615 |
|
|
| 3616 |
|
if (isset($params[2]) |
| 3617 |
|
&& !is_int($params[2]) |
|
@@ 3616-3624 (lines=9) @@
|
| 3613 |
|
return false; |
| 3614 |
|
} |
| 3615 |
|
|
| 3616 |
|
if (isset($params[2]) |
| 3617 |
|
&& !is_int($params[2]) |
| 3618 |
|
&& !is_float($params[2]) |
| 3619 |
|
&& !is_string($params[2]) |
| 3620 |
|
&& !(is_object($params[2]) && method_exists($params[2], '__toString')) |
| 3621 |
|
) { |
| 3622 |
|
trigger_error('array_column(): The index key should be either a string or an integer', E_USER_WARNING); |
| 3623 |
|
return false; |
| 3624 |
|
} |
| 3625 |
|
|
| 3626 |
|
$paramsInput = $params[0]; |
| 3627 |
|
$paramsColumnKey = ($params[1] !== null) ? (string) $params[1] : null; |