Search Results
strpbrk (PHP 5, PHP 7, PHP 8) strpbrk — Search a string for any of a set of characters
- Sprintf
Sprintf - PHP: strpbrk - Manual
- Printf
Printf - PHP: strpbrk - Manual
- Fprintf
Parameters ¶ stream A file system pointer resource that is...
- Vsprintf
Vsprintf - PHP: strpbrk - Manual
- Vfprintf
Parameters ¶ stream format The format string is composed of...
- Trim
trim (PHP 4, PHP 5, PHP 7, PHP 8) trim — Strip whitespace...
- MD5
md5 (PHP 4, PHP 5, PHP 7, PHP 8) md5 — Calculate the md5...
- Strtoupper
Returns string with all ASCII alphabetic characters...
- Sprintf
Definition and Usage The strpbrk () function searches a string for any of the specified characters. Note: This function is case-sensitive. This function returns the rest of the string from where it found the first occurrence of a specified character, otherwise it returns FALSE.
Jul 11, 2025 · The strpbrk () function is an in-built function in PHP which searches a string for any of the specified characters. This function returns the rest of the string from where it found the first occurrence of any of the specified character.
Return Value The strpbrk () function returns a string starting from the character found, or FALSE on not found. PHP Version First introduced in core PHP 5, the strpbrk () function continues to function easily in PHP 7, and PHP 8. Example 1 Here is the basic example of the PHP String strpbrk () function to search the string for the given character.
PHP strpbrk () Function Topic: PHP String Reference Prev | Next Description The strpbrk() function searches a string for any of a set of characters, in a case-sensitive manner. The following table summarizes the technical details of this function.
- PHP 5+
Definition The strpbrk () function searches a string (case-sensitive) for any of the specified characters.
The strpbrk() function in PHP is used to search a string for any of a set of characters. It returns the portion of the string that starts with the first
