Online PHP strspn() function

strspn - Finds the length of the initial segment of a string consisting entirely of characters contained within a given mask


Run on PHP version: