Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
nspl
ds
Collection
key
nspl\ds\Collection::key PHP Method
Collection Class Documentation
Datei anzeigen
Open project: ihor/Nspl
key()
public
method
(PHP 5 >= 5.0.0)
Return the key of the current element
See link:
http://php.net/manual/en/iterator.key.php
public
key
( ) :
mixed
return
mixed
scalar on success, or null on failure.
public function key() { return key($this->array); }
Collection
__toString
count
current
key
next
offsetExists
offsetGet
offsetSet
offsetUnset
rewind
stringifyArray
toArray
valid