Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
nspl
ds
Collection
key
nspl\ds\Collection::key PHP Метод
Документация по классу Collection
Показать файл
Открыть проект
key()
публичный
Метод
(PHP 5 >= 5.0.0)
Return the key of the current element
См. ссылку:
http://php.net/manual/en/iterator.key.php
public
key
( ) :
mixed
Результат
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