Function __global->strstr
Definitions
sources_custom/phpstub.php
- Find first occurrence of a string.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$haystack | string | required parameter | N/A | N/A | Haystack |
$needle | string | required parameter | N/A | N/A | Needle |
$before_needle | boolean | False | N/A | N/A | The part of the haystack before the first occurrence of the needle (excluding the needle) |
Return
- The answer (false: does not occur)
- Type: ~string
- Set: N/A
- Range: N/A