|
PHP5中文手册
ctype_space(PHP 4 >= 4.0.4, PHP 5) ctype_space — Check for whitespace character(s) 说明
bool ctype_space
( string $text
)
Checks if all of the characters in the provided string, text , creates whitespace. 参数
返回值Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters. 范例
Example#1 A ctype_space() example
<?php 上例将输出:
|