bool class_exists(
string
$class_name
)
|
|
Checks if the class has been defined
Parameters:
API Tags:
Return: | true if $class_name is a defined class, false otherwise. |
a crc32(
string
$string
)
|
|
Calculates the crc32 polynomial of a string
Parameters:
string |
$string: |
the value to be checksummed |
API Tags:
Return: | signed integer checksum |
void date(
string
$format, [mixed
$timestamp = null]
)
|
|
Format a local time/date
Parameters:
string |
$format: |
the string format |
API Tags:
bool defined(
string
$name
)
|
|
Checks whether the given constant exists and is defined.
Parameters:
string |
$name: |
the name of the constant |
API Tags:
Return: | returns TRUE if the named constant has been defined, FALSE otherwise |
void exit_(
[mixed
$status = null]
)
|
|
Output a message and terminate the current script
Parameters:
mixed |
$status: |
(optional) |
Redefined in descendants as:
boolean extension_loaded(
string
$name
)
|
|
Return true if the given extension is loaded.
Parameters:
Redefined in descendants as:
boolean function_exists(
string
$functionName
)
|
|
Return true if the given function has been defined.
Parameters:
Redefined in descendants as:
Fetch all HTTP request headers
string gethostbyname(
string
$hostname
)
|
|
Returns the IP address of the Internet host specified by hostname.
Parameters:
API Tags:
integer get_magic_quotes_gpc(
)
|
|
Gets the current configuration setting of magic quotes gpc
API Tags:
Return: | 0 for off, 1 for on |
Redefined in descendants as:
void gzencode(
string
$data, [int
$level = null], [int
$encodingMode = null]
)
|
|
Create a gzip compressed string
Parameters:
string |
$data: |
The data to encode |
int |
$level: |
The level of compression |
int |
$encodingMode: |
The encoding mode. Can be FORCE_GZIP (default) or FORCE_DEFLATE. |
string gzinflate(
string
$data, [int
$length = null]
)
|
|
Inflate a deflated string
Parameters:
string |
$data: |
data compresed by gzdeflate |
int |
$length: |
(optional) maximum length to decode |
API Tags:
Return: | uncompressed data |
Redefined in descendants as:
void header(
string
$string, [boolean
$replace = null]
)
|
|
Send a raw HTTP header
PHP 4.1 compatible header() function. The second optional parameter http_response_code was introduced in PHP 4.3.0 and is therefore not supported in Gallery.
Parameters:
string |
$string: |
|
boolean |
$replace: |
(optional) |
Redefined in descendants as:
Checks if or where headers have been sent
PHP 4.1 compatible headers_sent() function. The optional parameters were introduced in PHP 4.3.0 and are therefore not supported in Gallery.
API Tags:
Return: | whether headers are already sent |
Redefined in descendants as:
string iconv(
string
$inCharset, string
$outCharset, string
$string
)
|
|
iconv -- Convert string to requested character encoding
Parameters:
string |
$inCharset: |
source character set |
string |
$outCharset: |
target character set |
string |
$string: |
data |
API Tags:
string ini_get(
string
$varname
)
|
|
Get configuration parameter
Parameters:
Redefined in descendants as:
string ini_set(
string
$varname, string
$newvalue
)
|
|
Set configuration parameter
Parameters:
string |
$varname: |
|
string |
$newvalue: |
|
Redefined in descendants as:
boolean mail(
string
$to, string
$subject, string
$message, [string
$additionalHeaders = null], [string
$additionalParameters = null]
)
|
|
Send mail
Parameters:
string |
$to: |
|
string |
$subject: |
|
string |
$message: |
|
string |
$additionalHeaders: |
addition headers (optional) |
string |
$additionalParameters: |
additional parameters (optional) |
API Tags:
Return: | true if the mail was successfully accepted for delivery |
Redefined in descendants as:
string mb_convert_encoding(
string
$string, string
$outCharset, string
$inCharset
)
|
|
mb_convert_encoding -- Convert character encoding
Parameters:
string |
$string: |
data |
string |
$outCharset: |
target character set |
string |
$inCharset: |
source character set |
API Tags:
string md5(
string
$string
)
|
|
Return the 32-byte md5 hash of the given string
Parameters:
string |
$string: |
string to be hashed |
API Tags:
Return: | hashed string value |
Redefined in descendants as:
void nl_langinfo(
int
$item
)
|
|
Query language and locale information
Parameters:
Redefined in descendants as:
void rand(
[int
$min = null], [int
$max = null]
)
|
|
Generate random integer
Parameters:
int |
$min: |
(optional) |
int |
$max: |
(optional) |
Redefined in descendants as:
string recode_string(
string
$request, string
$string
)
|
|
recode_string -- Recode a string according to a recode request
Parameters:
string |
$request: |
source..target character set |
string |
$string: |
data |
API Tags:
void setlocale(
mixed
$category, string
$locale
)
|
|
Set locale information. Passing multiple locales isn't avialable until PHP 4.3.0 so it's not supported here (yet).
Parameters:
mixed |
$category: |
|
string |
$locale: |
|
Redefined in descendants as:
Return current Unix timestamp
Redefined in descendants as: