Universeorange.com/Docs/
{array.key(String $selector)}
{array.key()}
returns the index element of the current array position.
The
{array.key()}
function simply returns the key of the array element that's currently being pointed to by the internal pointer as astring | int | null
.
It does not move the pointer in any way.
If the internal pointer points beyond the end of the elements list, or the array is empty, key() returns null.
https://www.php.net/manual/en/function.key.php
Last modified: 2021-06-07
© 2021 universeorange.com