ibase_commit_ret

(PHP 5, PHP 7) Commit a transaction without closing it bool ibase_commit_ret ([ resource $link_or_trans_identifier = NULL ] ) Commits a transaction without closing it. Parameters: link_or_trans_identifier If called without an argument, this function commits the default transaction of the default link. If the argument is a connection identifier, the default transaction of

is_scalar

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Finds whether a variable is a scalar bool is_scalar ( mixed $var ) Finds whether the given variable is a scalar. Scalar variables are those containing an integer, float, string or boolean. Types array, object and resource are not scalar. Note: is_scalar() does not consider resource type values to be scalar as resources are abstract datatypes which are currently based on integers. Thi

EventHttpRequest::sendReply

(PECL event >= 1.4.0-beta) Send an HTML reply to the client public void EventHttpRequest::sendReply ( int $code , string $reason [, EventBuffer $buf ] ) Send an HTML reply to the client. The body of the reply consists of data in optional buf parameter. Parameters: code The HTTP response code to send. reason A brief message to send

Imagick::setResolution

(PECL imagick 2.0.0) Sets the image resolution bool Imagick::setResolution ( float $x_resolution, float $y_resolution ) Sets the image resolution. Parameters: x_resolution The horizontal resolution. y_resolution The vertical resolution. Returns: Returns TRUE on success.

XSLTProcessor::transformToUri

(PHP 5, PHP 7) Transform to URI int XSLTProcessor::transformToURI ( DOMDocument $doc, string $uri ) Transforms the source node to an URI applying the stylesheet given by the XSLTProcessor::importStylesheet() method. Parameters: doc The document to transform. uri The target URI for the transformation. Returns: R

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