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

search for in the

QuickHashIntStringHash::getSize> <QuickHashIntStringHash::exists
[edit] Last updated: Fri, 17 May 2013

view this page in

QuickHashIntStringHash::get

(PECL quickhash >= Unknown)

QuickHashIntStringHash::getEste método recupera un valor de un hash mediante su clave

Descripción

public mixed QuickHashIntStringHash::get ( int $key )

Este método recupera un valor de un hash mediante su clave.

Parámetros

key

La clave de la entrada a añadir.

Valores devueltos

El valor de la clave si ésta existe, o NULL si la clave no es parte del hash.

Ejemplos

Ejemplo #1 Ejemplo de QuickHashIntStringHash::get()

<?php
$hash 
= new QuickHashIntStringHash);
var_dump$hash->get) );

var_dump$hash->add2"two" ) );
var_dump$hash->get) );

var_dump$hash->add3) );
var_dump$hash->get) );
?>

El resultado del ejemplo sería algo similar a:

bool(false)
bool(true)
string(3) "two"
bool(true)
string(1) "5"



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

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