ctype_spaceCheck for whitespace character(s) Description
bool ctype_space
( string
$text
)
Checks if all of the characters in the provided string,
Parameters
Return Values
Returns Examples
Example #1 A ctype_space example
<?php The above example will output: The string 'string1' consists of whitespace characters only. The string 'string2' contains non-whitespace characters. The string 'string3' contains non-whitespace characters. Notes
See Also
|