zb_system/functionc_system_compat.php

< PHP 5.2.7.

Constants

PHP_VERSION_ID

PHP_VERSION_ID = $version[0] * 10000 + $version[1] * 100 + $version[2]

FNM_PATHNAME

FNM_PATHNAME = 1

FNM_NOESCAPE

FNM_NOESCAPE = 2

FNM_PERIOD

FNM_PERIOD = 4

FNM_CASEFOLD

FNM_CASEFOLD = 16

HTTP_URL_REPLACE

HTTP_URL_REPLACE = 1

HTTP_URL_JOIN_PATH

HTTP_URL_JOIN_PATH = 2

HTTP_URL_JOIN_QUERY

HTTP_URL_JOIN_QUERY = 4

HTTP_URL_STRIP_USER

HTTP_URL_STRIP_USER = 8

HTTP_URL_STRIP_PASS

HTTP_URL_STRIP_PASS = 16

HTTP_URL_STRIP_AUTH

HTTP_URL_STRIP_AUTH = 32

HTTP_URL_STRIP_PORT

HTTP_URL_STRIP_PORT = 64

HTTP_URL_STRIP_PATH

HTTP_URL_STRIP_PATH = 128

HTTP_URL_STRIP_QUERY

HTTP_URL_STRIP_QUERY = 256

HTTP_URL_STRIP_FRAGMENT

HTTP_URL_STRIP_FRAGMENT = 512

HTTP_URL_STRIP_ALL

HTTP_URL_STRIP_ALL = 1024

Functions

fnmatch()

fnmatch(  $pattern,   $string,   $flags) 

Parameters

$pattern
$string
$flags

pcre_fnmatch()

pcre_fnmatch(  $pattern,   $string,   $flags) 

Parameters

$pattern
$string
$flags

hex2bin()

hex2bin(  $str) 

Parameters

$str

rrmdir()

rrmdir(  $dir) 

Parameters

$dir

http_build_url()

http_build_url(mixed  $url, mixed  $parts = array(), integer  $flags = HTTP_URL_REPLACE, array  $new_url = array()) : string

Build a URL.

The parts of the second URL will be merged into the first according to the flags argument.

Parameters

mixed $url

(part(s) of) an URL in form of a string or associative array like parse_url() returns

mixed $parts

same as the first argument

integer $flags

a bitmask of binary or'ed HTTP_URL constants; HTTP_URL_REPLACE is the default

array $new_url

if set, it will be filled with the parts of the composed url like parse_url() would return

Returns

string

gzdecode()

gzdecode(  $data) 

Parameters

$data

session_status()

session_status() 

recurse()

recurse(  $array,   $array1) 

Parameters

$array
$array1

array_replace_recursive()

array_replace_recursive(  $array,   $array1) 

Parameters

$array
$array1