Function Fast_custom_index->crc
Definitions
sources/database_search.php
- Calculate a CRC, effectively converting a string ngram to an integer hash of it.CRC-24 algorithm, to avoid compatibility issues with PHP's crc32.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$str | string | required parameter | N/A | N/A | String |
Return
- CRC
- Type: integer
- Set: N/A
- Range: N/A