array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'quickhashstringinthash.savetostring.php', 1 => 'QuickHashStringIntHash::saveToString', 2 => 'This method returns a serialized version of the hash', ), 'up' => array ( 0 => 'class.quickhashstringinthash.php', 1 => 'QuickHashStringIntHash', ), 'prev' => array ( 0 => 'quickhashstringinthash.savetofile.php', 1 => 'QuickHashStringIntHash::saveToFile', ), 'next' => array ( 0 => 'quickhashstringinthash.set.php', 1 => 'QuickHashStringIntHash::set', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/quickhash/quickhashstringinthash/savetostring.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(No version information available, might only be in Git)
QuickHashStringIntHash::saveToString — This method returns a serialized version of the hash
This method returns a serialized version of the hash in the same format that QuickHashStringIntHash::loadFromString() can read.
此函数没有参数。
This method returns a serialized format of an existing hash, in the same format that QuickHashStringIntHash::loadFromString() can read.
示例 #1 QuickHashStringIntHash::saveToString() example
<?php
$hash = new QuickHashStringIntHash( 1024 );
var_dump( $hash->add( "forty three", 42 ) );
var_dump( $hash->add( "fifty two", 52 ) );
var_dump( $hash->saveToString() );
?>