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 all whitespace characters. The string 'string2' does not consist of all whitespace characters. The string 'string3' does not consist of all whitespace characters. Notes
See Also
|