Function __global->starts_with
Definitions
sources/global2.php
- Check if a string starts with a substring.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$haystack | string | required parameter | N/A | N/A | The haystack |
$needle | string | required parameter | N/A | N/A | The needle |
Return
- Whether the haystack starts with the needle
- Type: boolean
- Set: N/A
- Range: N/A