Function __global->strpbrk
Definitions
sources_custom/phpstub.php
- Search a string for any of a set of characters.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $haystack | string | No | No | required parameter | N/A | N/A | The string where char_list is looked for |
| $char_list | string | No | No | required parameter | N/A | N/A | The character list |
Returns
- String starting from the character found, or FALSE if it is not found (false: not found)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Search a string for any of a set of characters.
*
* @param string $haystack The string where char_list is looked for
* @param string $char_list The character list
* @return ~string String starting from the character found, or FALSE if it is not found (false: not found)
*/
function strpbrk(string $haystack, string $char_list)
* Search a string for any of a set of characters.
*
* @param string $haystack The string where char_list is looked for
* @param string $char_list The character list
* @return ~string String starting from the character found, or FALSE if it is not found (false: not found)
*/
function strpbrk(string $haystack, string $char_list)

