User-defined functions

Examples: Pseudo code to demonstrate function uses A function may be defined using syntax such as the following: <?php function foo($arg_1, $arg_2, /* ..., */ $arg_n) {     echo "Example function.\n";     return $retval; } ?> Conditional functions Functions need not be defined before they are referenced, except when a function is conditionally defined as shown in the two examples below. When a function is defined in a conditional m

newt_form_set_size

(PECL newt >= 0.1) void newt_form_set_size ( resource $form ) Parameters: form Returns: No value is returned. This function is currently not documented; only its argument list is available.

OCI-Lob::seek

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Sets the internal pointer of the large object bool OCI-Lob::seek ( int $offset [, int $whence = OCI_SEEK_SET ] ) Sets the internal pointer of the large object. Parameters: offset Indicates the amount of bytes, on which internal pointer should be moved from the position, pointed by whence. whence Ma

Locale::getDisplayName

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for the input locale public static string Locale::getDisplayName ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_name ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for the input locale. If is NULL then the default locale i

maxdb_stmt_num_rows

(PECL maxdb >= 1.0) Return the number of rows in statements result set int maxdb_stmt_num_rows ( resource $stmt ) Procedural style Object oriented style int $maxdb_stmt->num_rows; Returns the number of rows in the result set. Returns: An integer representing the number of rows in result set. Examples: Object oriented style

cubrid_lob2_import

(PECL CUBRID >= 8.4.1) Import BLOB/CLOB data from a file. bool cubrid_lob2_import ( resource $lob_identifier, string $file_name ) The cubrid_lob2_import() function is used to save the contents of BLOB/CLOB data from a file. To use this function, you must use cubrid_lob2_new() or fetch a lob object from CUBRID database first. If the file already exists, the operation will fail. This function will not influence the cursor p

Judy::offsetExists

(PECL judy >= 0.1.1) Whether a offset exists public bool Judy::offsetExists ( mixed $offset ) Whether or not an offset exists. Parameters: offset An offset to check for. Returns: Returns TRUE on success or FALSE on failure.

OAuth::getLastResponseInfo

(PECL OAuth >= 0.99.1) Get HTTP information about the last response public array OAuth::getLastResponseInfo ( void ) Get HTTP information about the last response. Returns: Returns an array containing the response information for the last request. Constants from curl_getinfo() may be used. See also: OAuth::fet

CairoContext::getGroupTarget

(PECL cairo >= 0.1.0) The getGroupTarget purpose public void CairoContext::getGroupTarget ( void ) Object oriented style (method): Procedural style: void cairo_get_group_target ( CairoContext $context ) Description here. Parameters: context Description... Returns: Description... This function is currently

cairo_surface_write_to_png

(PECL cairo >= 0.1.0) Description void cairo_surface_write_to_png ( CairoSurface $surface, resource $stream ) The function description goes here. Parameters: surface Description... stream Description... Returns: What is returned on success and failure This function is cu