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

search for in the

QuickHashIntStringHash::saveToString> <QuickHashIntStringHash::loadFromString
[edit] Last updated: Fri, 17 May 2013

view this page in

QuickHashIntStringHash::saveToFile

(PECL quickhash >= Unknown)

QuickHashIntStringHash::saveToFileStocke une table de hachage en mémoire sur le disque

Description

public void QuickHashIntStringHash::saveToFile ( string $filename )

Cette méthode stocke une table de hachage existante dans un fichier du disque, dans un format lisible par la fonction loadFromFile().

Liste de paramètres

filename

Le nom du fichier utilisé pour y stocker la table de hachage.

Valeurs de retour

Aucune valeur n'est retournée.

Exemples

Exemple #1 Exemple avec QuickHashIntStringHash::saveToFile()

<?php
$hash 
= new QuickHashIntStringHash1024 );
var_dump$hash->exists) );
var_dump$hash->add4"fourty three" ) );
var_dump$hash->exists) );
var_dump$hash->add4"fifty two" ) );

$hash->saveToFile'/tmp/test.string.hash' );
?>



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

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