[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ -> compatibility.php (summary)

compatibility functions This file contains a few functions that might be missing from the PHP build

File Size: 83 lines (2 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  ctype_space()
  ctype_digit()
  gzopen()
  gzseek()
  gztell()

Functions
Functions that are not part of a class:

ctype_space($text)   X-Ref
Check for whitespace character(s)

param: string $text
see: ctype_space
return: bool

ctype_digit($text)   X-Ref
Check for numeric character(s)

param: string $text
see: ctype_digit
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
link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists
return: mixed

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
link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists
return: int

gztell($zp)   X-Ref
work around for PHP compiled against certain zlib versions #865

param: resource $zp
link: http://stackoverflow.com/questions/23417519/php-zlib-gzopen-not-exists
return: int