Function __global->similar_text
Definitions
sources_custom/phpstub.php
- Calculate the similarity between two strings.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$first | string | required parameter | N/A | N/A | First string |
$second | string | required parameter | N/A | N/A | Second string |
$percent | ?float | Null | N/A | N/A | Returns the percentage of similarity (null: do not get) |
Return
- The number of matching characters
- Type: integer
- Set: N/A
- Range: N/A