key
spatie/once
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Fetch a key from an array
<?php key
(array|
object $array
):
int
|
string
|
null