UTILITY

head()

ShortPHP reference for head().

Signature

function head(array $array, mixed $default = null): mixed

Example

head(...);

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: has_path()

Next: http_delete()

Back to utilities