Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
nspl
ds
Set
key
nspl\ds\Set::key PHP Méthode
Set Class Documentation
Afficher le fichier
Open project: ihor/Nspl
key()
public
méthode
(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
Résultat
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