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

search for in the

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

view this page in

QuickHashIntHash::get

(PECL quickhash >= Unknown)

QuickHashIntHash::getEste método recupera un valor a partir del hash por su clave

Descripción

public int QuickHashIntHash::get ( int $key )

Este método recupera un valor a partir del hash por su clave.

Parámetros

key

La clave de la entrada para añadir.

Valores devueltos

El valor si la clave existe, o NULL si la clave no era parte del hash.

Ejemplos

Ejemplo #1 Ejemplo de QuickHashIntHash::get()

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

var_dump$hash->add) );
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)
int(1)
bool(true)
int(5)



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

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