downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

QuickHashStringIntHash::getSize> <QuickHashStringIntHash::exists
[edit] Last updated: Fri, 24 May 2013

view this page in

QuickHashStringIntHash::get

(No version information available, might only be in SVN)

QuickHashStringIntHash::getRécupère une valeur depuis la table de hachage par sa clé

Description

public mixed QuickHashStringIntHash::get ( string $key )

Cette méthode récupère une valeur depuis la table de hachage par sa clé.

Liste de paramètres

key

La clé de l'entrée à récupérer.

Valeurs de retour

La valeur, si la clé existe, ou NULL si la clé ne fait pas partie de la table de hachage.

Exemples

Exemple #1 Exemple avec QuickHashStringIntHash::get()

<?php
$hash 
= new QuickHashStringIntHash);
var_dump$hash->get"one" ) );

var_dump$hash->add"two") );
var_dump$hash->get"two" ) );
?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

bool(false)
bool(true)
int(2)



add a note add a note User Contributed Notes QuickHashStringIntHash::get - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites