Function __global->substr
Definitions
sources_custom/phpstub.php
- Return part of a string.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$string | string | required parameter | N/A | N/A | The subject |
$start | integer | required parameter | N/A | N/A | The start position |
$length | ?integer | Null | N/A | N/A | The length to extract (null: all remaining) |
Return
- String part (false: $start was over the end of the string)
- Type: ~string
- Set: N/A
- Range: N/A