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, 24 May 2013

view this page in

QuickHashIntStringHash::saveToFile

(PECL quickhash >= Unknown)

QuickHashIntStringHash::saveToFileメモリ上のハッシュをディスクに保存する

説明

public void QuickHashIntStringHash::saveToFile ( string $filename )

このメソッドは、既存のハッシュをディスクに保存します。 loadFromFile() で読めるフォーマットになります。

パラメータ

filename

ハッシュの保存先のファイル名。

返り値

値を返しません。

例1 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