Function __global->strspn
Definitions
sources_custom/phpstub.php
- Find length of initial segment matching mask.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$string | string | required parameter | N/A | N/A | String to work upon |
$mask | string | required parameter | N/A | N/A | String consisting of alternative characters to require along our run |
Return
- The length of the initial segment of string which consists entirely of characters in mask
- Type: string
- Set: N/A
- Range: N/A