-
abs
-
Absolute value.
-
acos
-
Arc cosine.
-
addcslashes
-
Quote string with slashes in a C style.
-
addslashes
-
Quote string for encapsulation in a written string data type.
-
array_count_values
-
Counts all the values of an array.
-
array_diff
-
Calculate the difference between arrays.
-
array_filter
-
Filters elements of an array using a callback function.
-
array_flip
-
Exchanges all keys with their associated values in an array.
-
array_intersect
-
Calculate the intersection between arrays.
-
array_keys
-
Return all the keys of an array.
-
array_key_exists
-
Checks if the given key or index exists in the array.
-
array_map
-
Applies the callback to the elements of the given array.
-
array_merge
-
Merge two or more arrays.
-
array_merge_recursive
-
Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array.
-
array_pad
-
Pad array to the specified length with a value.
-
array_pop
-
Pop the element off the end of array.
-
array_push
-
Push one or more elements onto the end of array.
-
array_rand
-
Pick one or more random entries out of an array.
-
array_reduce
-
Iteratively reduce the array to a single value using a callback function.
-
array_reverse
-
Return an array with elements in reverse order.
-
array_search
-
Searches the array for a given value and returns the corresponding key if successful.
-
array_shift
-
Shift an element off the beginning of array.
-
array_slice
-
Extract a slice of the array.
-
array_splice
-
Remove a portion of the array and replace it with something else.
-
array_sum
-
Add all the elements of an array.
-
array_unique
-
Removes duplicate values from an array. Equivalence determined by string comparison.
-
array_unshift
-
Prepend one or more elements to the beginning of array.
-
array_values
-
Return all the values of an array.
-
array_walk
-
Apply a user function to every member of an array .
-
arsort
-
Sort an array in reverse order and maintain index association.
-
asin
-
Arc sine.
-
asort
-
Sort an array and maintain index association.
-
atan
-
Arc tan.
-
atan2
-
Arc tangent of two variables.
-
cacheing_environment
-
Standard modular cache function.
-
call_user_func
-
Call a user function given by the first parameter.
-
call_user_func_array
-
Call a user function given with an array of parameters.
-
ceil
-
Round fractions up.
-
chdir
-
Change directory.
-
checkdate
-
Validate a gregorian date.
-
check_function_type
-
Type-check the specified parameter (giving an error if the type checking fails) [all checks]
-
chmod
-
Changes file mode.
-
chr
-
Return a specific character.
-
chunk_split
-
Split a string into smaller chunks. Can be used to split a string into smaller chunks which is useful for e.g. converting base64_encode output to match RFC 2045 semantics. It inserts end (defaults to "\r\n") every chunklen characters.
-
class_exists
-
Checks if the class has been defined.
-
clearstatcache
-
Clears file status cache.
-
closedir
-
Close directory handle.
-
constant
-
Returns the value of a constant.
-
copy
-
Copies a file. {{creates-file}}
-
cos
-
Calculate the cosine of an angle.
-
cosh
-
Hyperbolic cosine.
-
count
-
Count elements in a variable.
-
count_chars
-
Return information about characters used in a string.
-
crc32
-
Calculates the crc32 polynomial of a string.
-
crypt
-
One-way string hashing (not encryption, as not reversible).
-
current
-
Return the current element in an array.
-
fclose
-
Closes an open file pointer.
-
feof
-
Tests for end-of-file on a file pointer.
-
fflush
-
Flushes the output to a file.
-
fgetc
-
Gets character from file pointer.
-
fgetcsv
-
Gets line from file pointer and parse for CSV fields.
-
fgets
-
Gets line from file pointer.
-
fgetss
-
Gets line from file pointer and strip HTML tags.
-
file
-
Reads entire file into an array.
-
fileatime
-
Gets last access time of file.
-
filectime
-
Gets inode change time of file.
-
filegroup
-
Gets file group.
-
filemtime
-
Gets file modification time.
-
fileowner
-
Gets file owner.
-
fileperms
-
Gets file permissions.
-
filesize
-
Gets file size.
-
filetype
-
Gets file type.
-
file_exists
-
Checks whether a file or directory exists.
-
floatval
-
Get float value of a variable.
-
flock
-
Portable advisory file locking.
-
floor
-
Round fractions down.
-
flush
-
Flush the output buffer.
-
fopen
-
Opens file or URL. {{creates-file}}
-
fpassthru
-
Output all remaining data on a file pointer.
-
fread
-
Binary-safe file read.
-
fscanf
-
Parses input from a file according to a format.
-
fseek
-
Seeks on a file pointer.
-
fsockopen
-
Open Internet or Unix domain socket connection.
-
fstat
-
Gets information about a file using an open file pointer.
-
ftell
-
Gets file pointer read/write position.
-
ftp_cdup
-
Changes to the parent directory.
-
ftp_chdir
-
Changes directories on a FTP server.
-
ftp_close
-
Close an FTP connection.
-
ftp_connect
-
Make an FTP connection.
-
ftp_delete
-
Deletes a file on the FTP server.
-
ftp_fget
-
Downloads a file from the FTP server and saves to an open file.
-
ftp_fput
-
Uploads from an open file to the FTP server.
-
ftp_get
-
Downloads a file from the FTP server.
-
ftp_login
-
Logs in to an FTP connection.
-
ftp_mkdir
-
Creates a directory.
-
ftp_nlist
-
Returns a list of files in the given directory.
-
ftp_pasv
-
Turns passive mode on or off.
-
ftp_put
-
Uploads a file to the FTP server.
-
ftp_pwd
-
Returns the current directory name.
-
ftp_rawlist
-
Returns a detailed list of files in the given directory.
-
ftp_rename
-
Renames a file on the FTP server.
-
ftp_rmdir
-
Removes a directory on the FTP server.
-
ftp_site
-
Sends a SITE command to the FTP server.
-
ftp_size
-
Find the file size of a file on the FTP server.
-
ftp_systype
-
Returns the system type identifier of the remote FTP server.
-
ftruncate
-
Truncates a file to a given length.
-
function_exists
-
Find whether the function of the given function name has been defined.
-
func_get_arg
-
Return an item from the argument list.
-
func_get_args
-
Returns an array comprising a function's argument list.
-
func_num_args
-
Returns the number of arguments passed to the function.
-
fwrite
-
Binary-safe file write.
-
gd_info
-
Retrieve information about the currently installed GD library.
-
getcwd
-
Gets the current working directory.
-
getdate
-
Get date/time information.
-
getenv
-
Gets the value of an environment variable.
-
gethostbyaddr
-
Get the Internet host name corresponding to a given IP address.
-
gethostbyname
-
Get the IP address corresponding to a given Internet host name.
-
gethostbynamel
-
Get a list of IP addresses corresponding to a given Internet host name.
-
getimagesize
-
Get the size of an image.
-
getmypid
-
Gets PHP's process ID.
-
getmyuid
-
Gets PHP's user ID.
-
getrandmax
-
Get largest possible random value.
-
gettimeofday
-
Get current time.
-
gettype
-
Get the type of a variable.
-
get_chmod_array
-
Get a list of file permissions to set
-
get_class
-
Returns the name of the class of an object.
-
get_current_user
-
Gets the name of the owner of the current PHP script.
-
get_declared_classes
-
Get an array of all declared classes.
-
get_defined_functions
-
Get an array of all defined functions.
-
get_defined_vars
-
Get an array of all defined variables.
-
get_dependencies
-
Get a mapping of dependency types
-
get_description
-
Get the description of the addon
-
get_file_list
-
Get a list of files that belong to this addon
-
get_html_translation_table
-
Returns the translation table used by htmlspecialchars and htmlentities.
-
get_included_files
-
Returns an array with the names of included or required files.
-
get_magic_quotes_gpc
-
Gets the current active configuration setting of magic quotes gpc. (Note: it actually returns a BINARY, but lets make it cleaner, it won't hurt)
-
get_magic_quotes_runtime
-
Gets the current active configuration setting of magic_quotes_runtime.
-
get_parent_class
-
Retrieves the parent class name for object or class.
-
get_php_file_api
-
Get a complex API information structure from a PHP file. It assumes the file has reasonably properly layed out class and function whitespace The return structure is...
-
get_resource_type
-
Returns the resource type.
-
get_version
-
Get the version of ocPortal this addon is for
-
gmdate
-
Format a GMT/UTC date/time (uses different format to 'date' function).
-
gmmktime
-
Get UNIX timestamp for a GMT date.
-
gmstrftime
-
Format a GMT/UTC time/date according to locale settings.
-
gzclose
-
Close an open gz-file pointer.
-
gzcompress
-
Compress a string.
-
gzdeflate
-
Deflate a string.
-
gzencode
-
Create a gzip compressed string.
-
gzfile
-
Read entire gz-file into an array.
-
gzinflate
-
Inflate a deflated string.
-
gzopen
-
Open gz-file. {{creates-file}}
-
gzuncompress
-
Uncompress a compressed string.
-
gzwrite
-
Binary-safe gz-file write.
-
ignore_user_abort
-
Set whether a client disconnect should abort script execution.
-
imagealphablending
-
Set the blending mode for an image.
-
imagearc
-
Draw a partial ellipse.
-
imagechar
-
Draw a character horizontally.
-
imagecharup
-
Draw a character vertically.
-
imagecolorallocate
-
Allocate a color for an image.
-
imagecolorat
-
Get the index of the color of a pixel.
-
imagecolorclosest
-
Get the index of the closest color to the specified color.
-
imagecolorclosestalpha
-
Get the index of the closest color to the specified color + alpha.
-
imagecolorclosesthwb
-
Get the index of the color which has the hue, white and blackness nearest to the given color .
-
imagecolordeallocate
-
De-allocate a color for an image.
-
imagecolorexact
-
Get the index of the specified color.
-
imagecolorexactalpha
-
Get the index of the specified color + alpha.
-
imagecolorresolve
-
Get the index of the specified color or its closest possible alternative.
-
imagecolorresolvealpha
-
Get the index of the specified color + alpha or its closest possible alternative.
-
imagecolorset
-
Set the color for the specified palette index.
-
imagecolorsforindex
-
Get the colors for an index.
-
imagecolorstotal
-
Find out the number of colors in an image's palette.
-
imagecolortransparent
-
Define a color as transparent.
-
imagecopy
-
Copy part of an image.
-
imagecopymerge
-
Copy and merge part of an image.
-
imagecopymergegray
-
Copy and merge part of an image with gray scale.
-
imagecopyresampled
-
Copy and resize part of an image with resampling.
-
imagecopyresized
-
Copy and resize part of an image.
-
imagecreate
-
Create a new palette based image.
-
imagecreatefromjpeg
-
Create a new image from a JPEG file on disk.
-
imagecreatefrompng
-
Create a new image from a PNG file on disk.
-
imagecreatefromstring
-
Create a new image from the image stream in the string.
-
imagecreatetruecolor
-
Create a new true color image.
-
imagedestroy
-
Destroy an image resource.
-
imageellipse
-
Draw an ellipse.
-
imagefill
-
Flood fill.
-
imagefilledarc
-
Draw a partial ellipse and fill it.
-
imagefilledellipse
-
Draw a filled ellipse.
-
imagefilledpolygon
-
Draw a filled polygon.
-
imagefilledrectangle
-
Draw a filled rectangle.
-
imagefilltoborder
-
Flood fill to specific color.
-
imagefontheight
-
Get font height.
-
imagefontwidth
-
Get font width.
-
imagegammacorrect
-
Apply a gamma correction to a GD image.
-
imageinterlace
-
Enable or disable interlace / progressive-save.
-
imagejpeg
-
Output image to browser or file as JPEG.
-
imageline
-
Draw a line.
-
imageloadfont
-
Load a new font.
-
imagepalettecopy
-
Copy the palette from one image to another.
-
imagepng
-
Output image to browser or file as PNG.
-
imagepolygon
-
Draw a polygon.
-
imagerectangle
-
Draw a rectangle.
-
imagesavealpha
-
Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images.
-
imagesetbrush
-
Set the brush image for line drawing.
-
imagesetpixel
-
Set a single pixel.
-
imagesetstyle
-
Set the style for line drawing.
-
imagesetthickness
-
Set the thickness for line drawing.
-
imagesettile
-
Set the tile image for filling.
-
imagestring
-
Draw a string horizontally.
-
imagestringup
-
Give the bounding box of a text using TrueType fonts.
-
imagesx
-
Get image width.
-
imagesy
-
Get image height.
-
imagetruecolortopalette
-
Convert a true color image to a palette image.
-
imagettfbbox
-
Give the bounding box of a text using TrueType fonts.
-
imagettftext
-
Give the bounding box of a text using TrueType fonts.
-
imagetypes
-
Return the image types supported by this execution environment.
-
implode
-
Join array elements with a string.
-
info
-
Standard modular info function.
-
info
-
Standard modular info function.
-
init__php
-
Standard code module initialisation function.
-
ini_get
-
Gets the value of a configuration option. Note: On Phalanger any unknown config options will produce a warning if fetched.
-
ini_set
-
Sets the value of a configuration option.
-
intval
-
Get integer value of a variable.
-
in_array
-
Checks if a value exists in an array.
-
ip2long
-
Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.
-
is_a
-
Whether the object is of this class or has this class as one of its parents.
-
is_array
-
Finds whether a variable is an array.
-
is_bool
-
Finds whether a variable is a boolean.
-
is_callable
-
Finds whether a variable holds a callable function reference.
-
is_dir
-
Finds whether a path is to a directory.
-
is_executable
-
Tells whether the filename is executable.
-
is_file
-
Finds whether a path is to a file.
-
is_float
-
Finds whether a variable is a float.
-
is_integer
-
Finds whether a variable is an integer.
-
is_link
-
Finds whether a path is to a symbolic link.
-
is_null
-
Finds whether a variable is null.
-
is_numeric
-
Finds whether a variable is numeric (e.g. a numeric string, or a pure integer).
-
is_object
-
Finds whether a variable is an object.
-
is_readable
-
Finds whether a path is to an actual readable file.
-
is_resource
-
Finds whether a variable is a resource.
-
is_scalar
-
Finds whether a variable is a scalar (integer, float, string or boolean).
-
is_string
-
Finds whether a variable is a string.
-
is_subclass_of
-
Find whether the object has this class as one of its parents.
-
is_uploaded_file
-
Finds whether a path is to an actual uploaded file.
-
is_writable
-
Finds whether a path is to an actual writeable file.
-
pack
-
Pack data into binary string.
-
parse_ini_file
-
Parse a configuration file.
-
parse_str
-
Parses the string into variables.
-
parse_url
-
Parse a URL and return its components.
-
passthru
-
Execute an external program and display raw output.
-
pathinfo
-
Returns information about a file path.
-
pclose
-
Closes process file pointer.
-
phpinfo
-
Outputs lots of PHP information.
-
phpversion
-
Gets the current PHP version.
-
php_sapi_name
-
Returns the type of interface between web server and PHP.
-
pi
-
Get value of PI.
-
popen
-
Opens process file pointer.
-
posix_getpwuid
-
Return info about a user by user id. Does not exist on Windows.
-
posix_getuid
-
Return the real user ID of the current process. Does not exist on Windows.
-
pow
-
Exponential expression.
-
preg_grep
-
Array entries that match the pattern.
-
preg_match
-
Perform a regular expression match.
-
preg_match_all
-
Perform a global regular expression match.
-
preg_quote
-
Quote regular expression characters.
-
preg_replace
-
Perform a regular expression search and replace.
-
preg_replace_callback
-
Perform a regular expression search and replace using a callback.
-
preg_split
-
Split string by a regular expression.
-
prev
-
Rewind the internal array pointer.
-
printf
-
Output a formatted string.
-
print_r
-
Prints human-readable information about a variable.
-
putenv
-
Sets the value of an environment variable.
-
php.php
-
-
phpstub.php
-
-
serialize
-
Generates a storable representation of a value.
-
session_cache_limiter
-
Get and/or set the current cache limiter.
-
session_decode
-
Decodes session data from a string.
-
session_destroy
-
Destroys all data registered to a session.
-
session_encode
-
Encodes the current session data as a string.
-
session_get_cookie_params
-
Get the session cookie parameters.
-
session_id
-
Get and/or set the current session id.
-
session_module_name
-
Get and/or set the current session module.
-
session_name
-
Get and/or set the current session name.
-
session_save_path
-
Get and/or set the current session save path.
-
session_set_cookie_params
-
Set the session cookie parameters.
-
session_set_save_handler
-
Sets user-level session storage functions.
-
session_start
-
Initialize session data.
-
session_unset
-
Set whether a client disconnect should abort script execution.
-
session_write_close
-
Write session data and end session.
-
setcookie
-
Send a cookie.
-
set_error_handler
-
Sets a user-defined error handler function.
-
shell_exec
-
Execute command via shell and return complete output as string.
-
shuffle
-
Shuffle an array.
-
similar_text
-
Calculate the similarity between two strings.
-
sin
-
Calculate the sine of an angle.
-
sinh
-
Hyperbolic sine.
-
sleep
-
Delay execution.
-
sort
-
Sort an array.
-
soundex
-
Calculate the soundex key of a string.
-
sprintf
-
Return a formatted string.
-
sqrt
-
Square root.
-
srand
-
Seed the random number generator.
-
strcasecmp
-
Binary safe case-insensitive string comparison.
-
strcmp
-
Binary safe string comparison.
-
strcoll
-
Locale based string comparison.
-
strcspn
-
Find length of initial segment not matching mask.
-
strftime
-
Format a local time/date according to locale settings (uses alternative formatting to 'date' function).
-
stripcslashes
-
Un-quote string quoted with addcslashes.
-
stripslashes
-
Un-quote string slashed with addslashes.
-
strip_tags
-
Strip HTML and PHP tags from a string.
-
stristr
-
Case-insensitive strstr.
-
strlen
-
Get string length.
-
strnatcasecmp
-
Case insensitive string comparisons using a "natural order" algorithm.
-
strnatcmp
-
String comparisons using a "natural order" algorithm.
-
strncasecmp
-
Binary safe case-insensitive string comparison of the first n characters.
-
strncmp
-
Binary safe string comparison of the first n characters.
-
strpos
-
Find position of first occurrence of a string.
-
strrchr
-
Find the last occurrence of a character in a string.
-
strrev
-
Reverse a string.
-
strrpos
-
Find position of last occurrence of a char in a string.
-
strspn
-
Find length of initial segment matching mask.
-
strstr
-
Find first occurrence of a string.
-
strtok
-
Tokenize string.
-
strtolower
-
Make a string lowercase.
-
strtotime
-
Parse about any English textual datetime description into a UNIX timestamp.
-
strtoupper
-
Make a string uppercase.
-
strtr
-
Translate certain characters.
-
strval
-
Get string value of a variable.
-
str_pad
-
Pad a string to a certain length with another string.
-
str_repeat
-
Repeat a string.
-
str_replace
-
Replace all occurrences of the search string with the replacement string.
-
substr
-
Return part of a string.
-
substr_count
-
Count the number of substring occurrences.
-
substr_replace
-
Replace text within a portion of a string.
-
system
-
Execute an external program and display the output.