PHP » GoLang |
login |
register |
about
|
GoLang QuickHashIntSet::loadFromString
request it (310)
GoLang replacement for PHP's QuickHashIntSet::loadFromString
[edit | history]
PHP QuickHashIntSet::loadFromStringPHP original manual for QuickHashIntSet::loadFromString [ show | php.net ]QuickHashIntSet::loadFromString(PECL quickhash >= Unknown) QuickHashIntSet::loadFromString — This factory method creates a set from a string Description
public static QuickHashIntSet QuickHashIntSet::loadFromString
( string
$contents
[, int $size
[, int $options
]] )This factory method creates a new set from a definition in a string. The file format consists of 32 bit signed integers packed together in the Endianness that the system that the code runs on uses. Parameters
Return ValuesReturns a new QuickHashIntSet. Examples
Example #1 QuickHashIntSet::loadFromString() example
<?php The above example will output something similar to: Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set Key 3 ( 3) is set Key 4 ( 4) is unset Key 5 ( 5) is set Key 6 ( 6) is unset Key 7 ( 7) is set Key 8 ( 8) is unset Key 9 ( 9) is unset Key 10 ( a) is unset Key 11 ( b) is set Key 12 ( c) is unset Key 13 ( d) is set Key 14 ( e) is unset Key 15 ( f) is unset |
more
Recently updated
more
Most requested
more
Last requests
|