[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
compatibility functions This file contains a few functions that might be missing from the PHP build
File Size: | 135 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ctype_space($text) X-Ref |
Check for whitespace character(s) see: ctype_space param: string $text return: bool |
ctype_digit($text) X-Ref |
Check for numeric character(s) see: ctype_digit param: string $text return: bool |
gzopen($filename, $mode, $use_include_path = 0) X-Ref |
work around for PHP compiled against certain zlib versions #865 param: string $filename param: string $mode param: int $use_include_path return: mixed link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists |
gzseek($zp, $offset, $whence = SEEK_SET) X-Ref |
work around for PHP compiled against certain zlib versions #865 param: resource $zp param: int $offset param: int $whence return: int link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists |
gztell($zp) X-Ref |
work around for PHP compiled against certain zlib versions #865 param: resource $zp return: int link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists |
str_starts_with(string $haystack, string $needle) X-Ref |
polyfill for PHP < 8 see: https://www.php.net/manual/en/function.str-starts-with |
str_contains(string $haystack, string $needle) X-Ref |
polyfill for PHP < 8 see: https://www.php.net/manual/en/function.str-contains |
str_ends_with(string $haystack, string $needle) X-Ref |
polyfill for PHP < 8 see: https://www.php.net/manual/en/function.str-ends-with |
array_is_list(array $arr) X-Ref |
polyfill for PHP < 8.1 see: https://www.php.net/manual/en/function.array-is-list |