Function __global->strcspn
Definitions
sources_custom/phpstub.php
- Find length of initial segment not matching mask.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$str1 | string | required parameter | N/A | N/A | The subject string |
$str2 | string | required parameter | N/A | N/A | The string of stop characters |
Return
- The length
- Type: integer
- Set: N/A
- Range: N/A