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
Set
key
nspl\ds\Set::key PHP Метод
Документация по классу Set
Показать файл
Открыть проект
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() { throw new \BadMethodCallException('Set does not have keys'); }
Set
__construct
__toString
add
clear
contains
copy
delete
difference
fromArray
getElementKey
intersection
isEmpty
isSubset
isSuperset
key
offsetExists
offsetGet
offsetSet
offsetUnset
toArray
union
update