[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/polyfill-ctype/ -> Ctype.php (summary)

Ctype implementation through regex.

Author: Gert de Pagter <BackEndTea@gmail.com>
File Size: 232 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

  ctype_alnum()
  ctype_alpha()
  ctype_cntrl()
  ctype_digit()
  ctype_graph()
  ctype_lower()
  ctype_print()
  ctype_punct()
  ctype_space()
  ctype_upper()
  ctype_xdigit()
  convert_int_to_char_for_ctype()

Functions
Functions that are not part of a class:

ctype_alnum($text)   X-Ref
Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.

param: mixed $text
return: bool

ctype_alpha($text)   X-Ref
Returns TRUE if every character in text is a letter, FALSE otherwise.

param: mixed $text
return: bool

ctype_cntrl($text)   X-Ref
Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.

param: mixed $text
return: bool

ctype_digit($text)   X-Ref
Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.

param: mixed $text
return: bool

ctype_graph($text)   X-Ref
Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.

param: mixed $text
return: bool

ctype_lower($text)   X-Ref
Returns TRUE if every character in text is a lowercase letter.

param: mixed $text
return: bool

ctype_print($text)   X-Ref
Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.

param: mixed $text
return: bool

ctype_punct($text)   X-Ref
Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.

param: mixed $text
return: bool

ctype_space($text)   X-Ref
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.

param: mixed $text
return: bool

ctype_upper($text)   X-Ref
Returns TRUE if every character in text is an uppercase letter.

param: mixed $text
return: bool

ctype_xdigit($text)   X-Ref
Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.

param: mixed $text
return: bool

convert_int_to_char_for_ctype($int, $function)   X-Ref
Converts integers to their char versions according to normal ctype behaviour, if needed.

If an integer between -128 and 255 inclusive is provided,
it is interpreted as the ASCII value of a single character
(negative values have 256 added in order to allow characters in the Extended ASCII range).
Any other integer is interpreted as a string containing the decimal digits of the integer.

param: mixed  $int
param: string $function
return: mixed



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1