|
@@ 3578-3586 (lines=9) @@
|
| 3575 |
|
return null; |
| 3576 |
|
} |
| 3577 |
|
|
| 3578 |
|
if (!is_int($params[1]) |
| 3579 |
|
&& !is_float($params[1]) |
| 3580 |
|
&& !is_string($params[1]) |
| 3581 |
|
&& $params[1] !== null |
| 3582 |
|
&& !(is_object($params[1]) && method_exists($params[1], '__toString')) |
| 3583 |
|
) { |
| 3584 |
|
trigger_error('array_column(): The column key should be either a string or an integer', E_USER_WARNING); |
| 3585 |
|
return false; |
| 3586 |
|
} |
| 3587 |
|
|
| 3588 |
|
if (isset($params[2]) |
| 3589 |
|
&& !is_int($params[2]) |
|
@@ 3588-3596 (lines=9) @@
|
| 3585 |
|
return false; |
| 3586 |
|
} |
| 3587 |
|
|
| 3588 |
|
if (isset($params[2]) |
| 3589 |
|
&& !is_int($params[2]) |
| 3590 |
|
&& !is_float($params[2]) |
| 3591 |
|
&& !is_string($params[2]) |
| 3592 |
|
&& !(is_object($params[2]) && method_exists($params[2], '__toString')) |
| 3593 |
|
) { |
| 3594 |
|
trigger_error('array_column(): The index key should be either a string or an integer', E_USER_WARNING); |
| 3595 |
|
return false; |
| 3596 |
|
} |
| 3597 |
|
|
| 3598 |
|
$paramsInput = $params[0]; |
| 3599 |
|
$paramsColumnKey = ($params[1] !== null) ? (string) $params[1] : null; |