Lines Matching refs:text

28      * @param string|int $text
32 public static function ctype_alnum($text) argument
34 $text = self::convert_int_to_char_for_ctype($text);
36 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z0-9]/', $text);
44 * @param string|int $text
48 public static function ctype_alpha($text) argument
50 $text = self::convert_int_to_char_for_ctype($text);
52 return \is_string($text) && '' !== $text && !preg_match('/[^A-Za-z]/', $text);
60 * @param string|int $text
64 public static function ctype_cntrl($text) argument
66 $text = self::convert_int_to_char_for_ctype($text);
68 return \is_string($text) && '' !== $text && !preg_match('/[^\x00-\x1f\x7f]/', $text);
76 * @param string|int $text
80 public static function ctype_digit($text) argument
82 $text = self::convert_int_to_char_for_ctype($text);
84 return \is_string($text) && '' !== $text && !preg_match('/[^0-9]/', $text);
92 * @param string|int $text
96 public static function ctype_graph($text) argument
98 $text = self::convert_int_to_char_for_ctype($text);
100 return \is_string($text) && '' !== $text && !preg_match('/[^!-~]/', $text);
108 * @param string|int $text
112 public static function ctype_lower($text) argument
114 $text = self::convert_int_to_char_for_ctype($text);
116 return \is_string($text) && '' !== $text && !preg_match('/[^a-z]/', $text);
124 * @param string|int $text
128 public static function ctype_print($text) argument
130 $text = self::convert_int_to_char_for_ctype($text);
132 return \is_string($text) && '' !== $text && !preg_match('/[^ -~]/', $text);
140 * @param string|int $text
144 public static function ctype_punct($text) argument
146 $text = self::convert_int_to_char_for_ctype($text);
148 return \is_string($text) && '' !== $text && !preg_match('/[^!-\/\:-@\[-`\{-~]/', $text);
156 * @param string|int $text
160 public static function ctype_space($text) argument
162 $text = self::convert_int_to_char_for_ctype($text);
164 return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
172 * @param string|int $text
176 public static function ctype_upper($text) argument
178 $text = self::convert_int_to_char_for_ctype($text);
180 return \is_string($text) && '' !== $text && !preg_match('/[^A-Z]/', $text);
188 * @param string|int $text
192 public static function ctype_xdigit($text) argument
194 $text = self::convert_int_to_char_for_ctype($text);
196 return \is_string($text) && '' !== $text && !preg_match('/[^A-Fa-f0-9]/', $text);