optimize "checkHtmlTags"-check + fix html tags

This commit is contained in:
Lars Moelleken 2020-12-12 01:08:59 +01:00 committed by Ivan Fedorov
parent 7c148f0dcd
commit b7f660237f
46 changed files with 568 additions and 691 deletions

View File

@ -367,7 +367,7 @@ function defined (string $constant_name): bool
* @return string <p>The name of the class of which <i>object</i> is an
* instance.
* If <i>object</i> is omitted when inside a class, the
* name of that class is returned.
* name of that class is returned.</p>
*/
#[Pure]
function get_class (object $object): string
@ -395,7 +395,7 @@ function get_called_class (): string
* If the object does not have a parent false will be returned.
* </p>
* <p>
* If called without parameter outside object, this function returns false.
* If called without parameter outside object, this function returns false.</p>
*/
#[Pure]
function get_parent_class (object|string $object_or_class): string|false
@ -663,7 +663,7 @@ function user_error (string $message, int $error_level = E_USER_NOTICE): bool
* <b>array<i>errcontext</i></b>
* <i>errno</i>
* The first parameter, <i>errno</i>, contains the
* level of the error raised, as an integer.
* level of the error raised, as an integer.</p>
* @param int $error_levels [optional] <p>
* Can be used to mask the triggering of the
* <i>error_handler</i> function just like the error_reporting ini setting
@ -930,9 +930,9 @@ function get_defined_constants (bool $categorize = false): array
* Generates a backtrace
* @link https://php.net/manual/en/function.debug-backtrace.php
* @param int $options [optional] <p>
* As of 5.3.6, this parameter is a bitmask for the following options:
* <table>
* As of 5.3.6, this parameter is a bitmask for the following options:</p>
* <b>debug_backtrace</b> options
* <table>
* <tr valign="top">
* <td>DEBUG_BACKTRACE_PROVIDE_OBJECT</td>
* <td>
@ -947,6 +947,7 @@ function get_defined_constants (bool $categorize = false): array
* </td>
* </tr>
* </table>
* <p>
* Before 5.3.6, the only values recognized are true or false, which are the same as
* setting or not setting the <b>DEBUG_BACKTRACE_PROVIDE_OBJECT</b> option respectively.
* </p>
@ -954,12 +955,13 @@ function get_defined_constants (bool $categorize = false): array
* As of 5.4.0, this parameter can be used to limit the number of stack frames returned.
* By default (<i>limit</i>=0) it returns all stack frames.
* </p>
* @return array an array of associative arrays. The possible returned elements
* @return array <p>an array of associative arrays. The possible returned elements
* are as follows:
* </p>
* <p>
* <table>
* Possible returned elements from <b>debug_backtrace</b>
* </p>
* <table>
* <tr valign="top">
* <td>Name</td>
* <td>Type</td>
@ -1030,10 +1032,10 @@ function debug_backtrace (int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $li
* @link https://php.net/manual/en/function.debug-print-backtrace.php
* @param int $options [optional] <p>
* As of 5.3.6, this parameter is a bitmask for the following options:
* <table>
* <b>debug_print_backtrace</b> options
* <table>
* <tr valign="top">
* <td>DEBUG_BACKTRACE_IGNORE_ARGS</td>
* <td><b>DEBUG_BACKTRACE_IGNORE_ARGS</b></td>
* <td>
* Whether or not to omit the "args" index, and thus all the function/method arguments,
* to save memory.
@ -1043,7 +1045,7 @@ function debug_backtrace (int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $li
* </p>
* @param int $limit [optional] <p>
* As of 5.4.0, this parameter can be used to limit the number of stack frames printed.
* By default (<i>limit</i>=0) it prints all stack frames.
* By default (<i>limit</i> = 0) it prints all stack frames.
* </p>
* @return void
*/

View File

@ -1104,7 +1104,7 @@ function sqlite_unbuffered_query ($dbhandle, $query, $result_type = SQLITE_BOTH,
* @link https://php.net/manual/en/function.sqlite-create-aggregate.php
* @param resource $dbhandle <p>The SQLite Database resource; returned from
* {@see sqlite_open()} when used procedurally.
* This parameter is not required when using the object-oriented method.
* This parameter is not required when using the object-oriented method.</p>
* @param string $function_name <p>
* The name of the function used in SQL statements.
* </p>
@ -1128,7 +1128,7 @@ function sqlite_create_aggregate ($dbhandle, $function_name, $step_func, $finali
* @link https://php.net/manual/en/function.sqlite-create-function.php
* @param resource $dbhandle <p>The SQLite Database resource; returned from
* {@see sqlite_open()} when used procedurally.
* This parameter is not required when using the object-oriented method.
* This parameter is not required when using the object-oriented method.</p>
* @param string $function_name <p>
* The name of the function used in SQL statements.
* </p>

View File

@ -172,7 +172,7 @@ function curl_version ($age = null): array|false
* </p>
* <p>
* value should be a bool for the
* following values of the option parameter:
* following values of the option parameter:</p>
* <table class="doctable informaltable">
*
* <thead>
@ -181,7 +181,6 @@ function curl_version ($age = null): array|false
* <th>Set <em>value</em> to</th>
* <th>Notes</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -618,7 +617,6 @@ function curl_version ($age = null): array|false
* <th>Set <em>value</em> to</th>
* <th>Notes</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -1072,7 +1070,6 @@ function curl_version ($age = null): array|false
* <th>Set <code class="parameter">value</code> to</th>
* <th>Notes</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -1495,7 +1492,6 @@ function curl_version ($age = null): array|false
* <th>Set <code class="parameter">value</code> to</th>
* <th>Notes</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -1906,12 +1902,11 @@ function curl_version ($age = null): array|false
* <td style="vertical-align: top;">
* </td>
* </tr>
*
* </tbody>
*
* </table>
* </p>
* value should be an array for the following values of the option parameter:
* <p>
* value should be an array for the following values of the option parameter:</p>
* <table class="doctable informaltable">
*
* <thead>
@ -1920,7 +1915,6 @@ function curl_version ($age = null): array|false
* <th>Set <code class="parameter">value</code> to</th>
* <th>Notes</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -1978,7 +1972,6 @@ function curl_version ($age = null): array|false
* <th>Option</th>
* <th>Set <code class="parameter">value</code> to</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -2023,7 +2016,6 @@ function curl_version ($age = null): array|false
* <th>Option</th>
* <th>Set <code class="parameter">value</code> to</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -2109,7 +2101,6 @@ function curl_version ($age = null): array|false
* <th>Option</th>
* <th>Set <code class="parameter">value</code> to</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -2120,7 +2111,6 @@ function curl_version ($age = null): array|false
* handle to use the data from the shared handle.
* </td>
* </tr>
*
* </tbody>
*
* </table>
@ -2183,7 +2173,6 @@ function curl_share_init()
* <th>Option</th>
* <th>Description</th>
* </tr>
*
* </thead>
*
* <tbody>
@ -2211,7 +2200,6 @@ function curl_share_init()
* <th>Value</th>
* <th>Description</th>
* </tr>
*
* </thead>
*
* <tbody class="tbody">
@ -2296,7 +2284,7 @@ function curl_exec (#[LanguageLevelTypeAware(["8.0" => "CurlHandle"], default: "
* @param CurlHandle|resource $handle
* @param int|null $option [optional] <p>
* This may be one of the following constants:
* CURLINFO_EFFECTIVE_URL - Last effective URL
* CURLINFO_EFFECTIVE_URL - Last effective URL</p>
* @return mixed If opt is given, returns its value as a string.
* Otherwise, returns an associative array with the following elements
* (which correspond to opt):
@ -2450,7 +2438,6 @@ function curl_multi_select (#[LanguageLevelTypeAware(["8.0" => "CurlMultiHandle"
* <th>Option</th>
* <th>Set <em><code class="parameter">value</code></em> to</th>
* </tr>
*
* </thead>
*
* <tbody>

View File

@ -36,16 +36,18 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* contains the format string 'D, d M Y H:i:s'.
* </p>
* <p>
* <br>
* The following characters are recognized in the
* format parameter string
* format parameter string:
* <br><br>
* <table>
* <tr valign="top">
* <td>format character</td>
* <td>Description</td>
* <td>Example returned values</td>
* <tr valign="top" colspan="3" bgcolor="silver">
* <th>format character</th>
* <th>Description</th>
* <th>Example returned values</th>
* </tr>
* <tr valign="top">
* Day</td>
* <td><b>Day</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -94,7 +96,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>0 through 365</td>
* </tr>
* <tr valign="top">
* Week</td>
* <td><b>Week</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -104,7 +106,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>Example: 42 (the 42nd week in the year)</td>
* </tr>
* <tr valign="top">
* Month</td>
* <td><b>Month</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -134,7 +136,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>28 through 31</td>
* </tr>
* <tr valign="top">
* Year</td>
* <td><b>Year</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -162,7 +164,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>Examples: 99 or 03</td>
* </tr>
* <tr valign="top">
* Time</td>
* <td><b>Time</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -217,7 +219,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>Example: 654321</td>
* </tr>
* <tr valign="top">
* Timezone</td>
* <td><b>Timezone</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -253,7 +255,7 @@ function strtotime (string $datetime, ?int $baseTimestamp): int|false
* <td>-43200 through 50400</td>
* </tr>
* <tr valign="top">
* Full Date/Time</td>
* <td><b>Full Date/Time</b></td>
* <td>---</td>
* <td>---</td>
* </tr>
@ -520,12 +522,11 @@ function checkdate (int $month, int $day, int $year): bool
* The following characters are recognized in the
* format parameter string
* <table>
* <tr valign="top">
* <td>format</td>
* <td>Description</td>
* <td>Example returned values</td>
* </tr>
* <th valign="top" colspan="3" bgcolor="silver">
* <tr valign="top" colspan="3" bgcolor="silver">
* <th>format</th>
* <th>Description</th>
* <th>Example returned values</th>
* <th>
* Day</th>
* </tr>
* <tr valign="top">
@ -1296,7 +1297,7 @@ function timezone_transitions_get (DateTimeZone $object, int $timestampBegin, in
* Alias:
* {@see DateTimeZone::getLocation}
* @link https://php.net/manual/en/function.timezone-location-get.php
* @param DateTimeZone $object <p>Procedural style only: A {@see DateTimeZone} object returned by {@see timezone_open()}
* @param DateTimeZone $object <p>Procedural style only: A {@see DateTimeZone} object returned by {@see timezone_open()}</p>
* @return array|false <p>Array containing location information about timezone.</p>
*/
#[Pure]

View File

@ -161,7 +161,7 @@ class DateTimeImmutable implements DateTimeInterface {
* </p><p>
* The <em>$timezone</em> parameter
* and the current timezone are ignored when the
*<em>$datetime</em> parameter either
* <em>$datetime</em> parameter either
* is a UNIX timestamp (e.g. <em>@946684800</em>)
* or specifies a timezone
* (e.g. <em>2010-01-28T15:00:00+02:00</em>).
@ -468,7 +468,7 @@ class DateTime implements DateTimeInterface {
* </p><p>
* The <em>$timezone</em> parameter
* and the current timezone are ignored when the
*<em>$time</em> parameter either
* <em>$time</em> parameter either
* is a UNIX timestamp (e.g. <em>@946684800</em>)
* or specifies a timezone
* (e.g. <em>2010-01-28T15:00:00+02:00</em>).

View File

@ -591,7 +591,7 @@ function imagesetthickness ($image, $thickness) {}
* </p>
* @param int $style <p>
* A bitwise OR of the following possibilities:
* IMG_ARC_PIE
* IMG_ARC_PIE</p>
* @return bool true on success or false on failure.
*/
function imagefilledarc ($image, $cx, $cy, $width, $height, $start, $end, $color, $style) {}
@ -2070,7 +2070,7 @@ function image2wbmp ($image, $filename = null, $threshold = null) {}
* One of the following constants:
* IMG_EFFECT_REPLACE
* Use pixel replacement (equivalent of passing true to
* imagealphablending)
* imagealphablending)</p>
* @return bool true on success or false on failure.
*/
function imagelayereffect ($image, $effect) {}
@ -2113,17 +2113,17 @@ function imagexbm ($image, $filename, $foreground = null) {}
* @param int $filtertype <p>
* filtertype can be one of the following:
* IMG_FILTER_NEGATE: Reverses all colors of
* the image.
* the image.</p>
* @param int $arg1 [optional] <p>
* IMG_FILTER_BRIGHTNESS: Brightness level.
* IMG_FILTER_BRIGHTNESS: Brightness level.</p>
* @param int $arg2 [optional] <p>
* IMG_FILTER_COLORIZE: Value of green component.
* IMG_FILTER_COLORIZE: Value of green component.</p>
* @param int $arg3 [optional] <p>
* IMG_FILTER_COLORIZE: Value of blue component.
* IMG_FILTER_COLORIZE: Value of blue component.</p>
* @param int $arg4 [optional] <p>
* IMG_FILTER_COLORIZE: Alpha channel, A value
* between 0 and 127. 0 indicates completely opaque while 127 indicates
* completely transparent.
* completely transparent.</p>
* @return bool true on success or false on failure.
*/
function imagefilter ($image, $filtertype, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null) {}
@ -2852,7 +2852,7 @@ function imageaffine($image, $affine, $clip = null) {}
* @link https://secure.php.net/manual/en/function.imageaffinematrixconcat.php
* @param array $m1 <p>Array with keys 0 to 5.</p>
* @param array $m2 <p>Array with keys 0 to 5.</p>
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @return float[]|false Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @since 5.5
*/
function imageaffinematrixconcat(array $m1, array $m2) {}
@ -2860,9 +2860,9 @@ function imageaffinematrixconcat(array $m1, array $m2) {}
/**
* Return an image containing the affine tramsformed src image, using an optional clipping area
* @link https://secure.php.net/manual/en/function.imageaffinematrixget.php
* @param int $type <p> One of <b>IMG_AFFINE_*</b> constants.
* @param int $type <p> One of <b>IMG_AFFINE_*</b> constants.</p>
* @param mixed $options [optional]
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @return float[]|false Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @since 5.5
*/
function imageaffinematrixget ($type, $options = null) {}
@ -2916,6 +2916,7 @@ function imagecropauto ($image, $mode = IMG_CROP_DEFAULT, $threshold = .5, $colo
* <th>Meaning</th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <td><b>IMG_FLIP_HORIZONTAL</b></td>
* <td>

View File

@ -53,7 +53,7 @@ function gmp_random_seed ($seed ) {}
* @param resource|string|GMP $gmpnumber <p>
* The GMP number that will be converted to a string.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $base [optional] <p>
* The base of the returned number. The default base is 10.
@ -70,12 +70,12 @@ function gmp_strval ($gmpnumber, $base = 10) {}
* @param resource|string|GMP $a <p>
* A number that will be added.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b <p>
* A number that will be added.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number representing the sum of the arguments.
*/
@ -88,12 +88,12 @@ function gmp_add ($a, $b) {}
* @param resource|string|GMP $a <p>
* The number being subtracted from.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b <p>
* The number subtracted from <i>a</i>.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -106,12 +106,12 @@ function gmp_sub ($a, $b) {}
* @param resource|string|GMP $a <p>
* A number that will be multiplied by <i>b</i>.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b <p>
* A number that will be multiplied by <i>a</i>.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -124,12 +124,12 @@ function gmp_mul ($a, $b) {}
* @param resource|string|GMP $n <p>
* The number being divided.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $d <p>
* The number that <i>n</i> is being divided by.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $round [optional] <p>
* See the <b>gmp_div_q</b> function for description
@ -149,19 +149,19 @@ function gmp_div_qr ($n, $d, $round = GMP_ROUND_ZERO) {}
* @param resource|string|GMP $a <p>
* The number being divided.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b <p>
* The number that <i>a</i> is being divided by.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $round [optional] <p>
* The result rounding is defined by the
* <i>round</i>, which can have the following
* values:
* <b>GMP_ROUND_ZERO</b>: The result is truncated
* towards 0.
* towards 0.</p>
* @return resource|GMP A GMP number resource.
*/
#[Pure]
@ -173,12 +173,12 @@ function gmp_div_q ($a, $b, $round = GMP_ROUND_ZERO) {}
* @param resource|string|GMP $n <p>
* The number being divided.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $d <p>
* The number that <i>n</i> is being divided by.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $round [optional] <p>
* See the <b>gmp_div_q</b> function for description
@ -195,19 +195,19 @@ function gmp_div_r ($n, $d, $round = GMP_ROUND_ZERO) {}
* @param resource|string|GMP $a <p>
* The number being divided.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b <p>
* The number that <i>a</i> is being divided by.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $round [optional] <p>
* The result rounding is defined by the
* <i>round</i>, which can have the following
* values:
* <b>GMP_ROUND_ZERO</b>: The result is truncated
* towards 0.
* towards 0.</p>
* @return resource|GMP A GMP number resource.
*/
#[Pure]
@ -216,12 +216,12 @@ function gmp_div ($a, $b, $round = GMP_ROUND_ZERO) {}
/**
* Modulo operation
* @link https://php.net/manual/en/function.gmp-mod.php
* @param resource|string|GMP $n It can be either a GMP number resource, or a
* @param resource|string|GMP $n <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $d <p>
* The modulo that is being evaluated.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -234,12 +234,12 @@ function gmp_mod ($n, $d) {}
* @param resource|string|GMP $n <p>
* The number being divided.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $d <p>
* The number that <i>a</i> is being divided by.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -249,7 +249,7 @@ function gmp_divexact ($n, $d) {}
/**
* Negate number
* @link https://php.net/manual/en/function.gmp-neg.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP -<i>a</i>, as a GMP number.
*/
@ -259,7 +259,7 @@ function gmp_neg ($a) {}
/**
* Absolute value
* @link https://php.net/manual/en/function.gmp-abs.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP the absolute value of <i>a</i>, as a GMP number.
*/
@ -272,7 +272,7 @@ function gmp_abs ($a) {}
* @param resource|string|GMP $a <p>
* The factorial number.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -282,7 +282,7 @@ function gmp_fact ($a) {}
/**
* Calculate square root
* @link https://php.net/manual/en/function.gmp-sqrt.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP The integer portion of the square root, as a GMP number.
*/
@ -295,7 +295,7 @@ function gmp_sqrt ($a) {}
* @param resource|string|GMP $a <p>
* The number being square rooted.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return array array where first element is the integer square root of
* <i>a</i> and the second is the remainder
@ -311,7 +311,7 @@ function gmp_sqrtrem ($a) {}
* @param resource|string|GMP $base <p>
* The base number.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $exp <p>
* The positive power to raise the <i>base</i>.
@ -328,17 +328,17 @@ function gmp_pow ($base, $exp) {}
* @param resource|string|GMP $base <p>
* The base number.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $exp <p>
* The positive power to raise the <i>base</i>.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $mod <p>
* The modulo.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP The new (raised) number, as a GMP number.
*/
@ -351,7 +351,7 @@ function gmp_powm ($base, $exp, $mod) {}
* @param resource|string|GMP $a <p>
* The number being checked as a perfect square.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return bool <b>TRUE</b> if <i>a</i> is a perfect square,
* <b>FALSE</b> otherwise.
@ -365,7 +365,7 @@ function gmp_perfect_square ($a) {}
* @param resource|string|GMP $a <p>
* The number being checked as a prime.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $reps [optional] <p>
* Reasonable values
@ -373,7 +373,7 @@ function gmp_perfect_square ($a) {}
* 10); a higher value lowers the probability for a non-prime to
* pass as a "probable" prime.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return int If this function returns 0, <i>a</i> is
* definitely not prime. If it returns 1, then
@ -407,9 +407,9 @@ function gmp_random_range(GMP $min, GMP $max) {}
/**
* Calculate GCD
* @link https://php.net/manual/en/function.gmp-gcd.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A positive GMP number that divides into both
* <i>a</i> and <i>b</i>.
@ -420,9 +420,9 @@ function gmp_gcd ($a, $b) {}
/**
* Calculate GCD and multipliers
* @link https://php.net/manual/en/function.gmp-gcdext.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return array An array of GMP numbers.
*/
@ -432,9 +432,9 @@ function gmp_gcdext ($a, $b) {}
/**
* Inverse by modulo
* @link https://php.net/manual/en/function.gmp-invert.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP|false A GMP number on success or <b>FALSE</b> if an inverse does not exist.
*/
@ -444,9 +444,9 @@ function gmp_invert ($a, $b) {}
/**
* Jacobi symbol
* @link https://php.net/manual/en/function.gmp-jacobi.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $p It can be either a GMP number resource, or a
* @param resource|string|GMP $p <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* <p>
* Should be odd and must be positive.
@ -459,9 +459,9 @@ function gmp_jacobi ($a, $p) {}
/**
* Legendre symbol
* @link https://php.net/manual/en/function.gmp-legendre.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $p It can be either a GMP number resource, or a
* @param resource|string|GMP $p <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* <p>
* Should be odd and must be positive.
@ -474,9 +474,9 @@ function gmp_legendre ($a, $p) {}
/**
* Compare numbers
* @link https://php.net/manual/en/function.gmp-cmp.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return int a positive value if a &gt; b, zero if
* a = b and a negative value if a &lt;
@ -488,7 +488,7 @@ function gmp_cmp ($a, $b) {}
/**
* Sign of number
* @link https://php.net/manual/en/function.gmp-sign.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return int 1 if <i>a</i> is positive,
* -1 if <i>a</i> is negative,
@ -503,7 +503,7 @@ function gmp_sign ($a) {}
* @param int $limiter [optional] <p>
* The limiter.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A random GMP number.
* @see gmp_random_bits()
@ -518,9 +518,9 @@ function gmp_random ($limiter = 20) {}
/**
* Bitwise AND
* @link https://php.net/manual/en/function.gmp-and.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number representing the bitwise AND comparison.
*/
@ -530,9 +530,9 @@ function gmp_and ($a, $b) {}
/**
* Bitwise OR
* @link https://php.net/manual/en/function.gmp-or.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -542,7 +542,7 @@ function gmp_or ($a, $b) {}
/**
* Calculates one's complement
* @link https://php.net/manual/en/function.gmp-com.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP the one's complement of <i>a</i>, as a GMP number.
*/
@ -552,9 +552,9 @@ function gmp_com ($a) {}
/**
* Bitwise XOR
* @link https://php.net/manual/en/function.gmp-xor.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource|GMP A GMP number resource.
*/
@ -567,7 +567,7 @@ function gmp_xor ($a, $b) {}
* @param resource|string|GMP &$a <p>
* The number being set to.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $index <p>
* The set bit.
@ -583,9 +583,9 @@ function gmp_setbit (&$a, $index, $set_clear = true) {}
/**
* Clear bit
* @link https://php.net/manual/en/function.gmp-clrbit.php
* @param resource|string|GMP &$a It can be either a GMP number resource, or a
* @param resource|string|GMP &$a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $index It can be either a GMP number resource, or a
* @param int $index <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return void A GMP number resource.
*/
@ -597,7 +597,7 @@ function gmp_clrbit (&$a, $index) {}
* @param resource|string|GMP $a <p>
* The number to scan.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $start <p>
* The starting bit.
@ -614,7 +614,7 @@ function gmp_scan0 ($a, $start) {}
* @param resource|string|GMP $a <p>
* The number to scan.
* </p>
* It can be either a GMP number resource, or a
* <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $start <p>
* The starting bit.
@ -628,7 +628,7 @@ function gmp_scan1 ($a, $start) {}
/**
* Tests if a bit is set
* @link https://php.net/manual/en/function.gmp-testbit.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $index <p>
* The bit to test
@ -641,7 +641,7 @@ function gmp_testbit ($a, $index) {}
/**
* Population count
* @link https://php.net/manual/en/function.gmp-popcount.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return int The population count of <i>a</i>, as an integer.
*/
@ -651,12 +651,12 @@ function gmp_popcount ($a) {}
/**
* Hamming distance
* @link https://php.net/manual/en/function.gmp-hamdist.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* <p>
* It should be positive.
* </p>
* @param resource|string|GMP $b It can be either a GMP number resource, or a
* @param resource|string|GMP $b <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* <p>
* It should be positive.
@ -670,7 +670,7 @@ function gmp_hamdist ($a, $b) {}
* Import from a binary string
* @link https://php.net/manual/en/function.gmp-import.php
* @param string $data The binary string being imported
* @param integer $word_size Default value is 1. The number of bytes in each chunk of binary
* @param integer $word_size <p>Default value is 1. The number of bytes in each chunk of binary
* data. This is mainly used in conjunction with the options parameter.</p>
* @param integer $options Default value is GMP_MSW_FIRST | GMP_NATIVE_ENDIAN.
* @return GMP|false Returns a GMP number or FALSE on failure.
@ -683,7 +683,7 @@ function gmp_import ($data, $word_size = 1, $options = GMP_MSW_FIRST | GMP_NATIV
* Export to a binary string
* @link https://php.net/manual/en/function.gmp-export.php
* @param GMP $gmpnumber The GMP number being exported
* @param integer $word_size Default value is 1. The number of bytes in each chunk of binary
* @param integer $word_size <p>Default value is 1. The number of bytes in each chunk of binary
* data. This is mainly used in conjunction with the options parameter.</p>
* @param integer $options Default value is GMP_MSW_FIRST | GMP_NATIVE_ENDIAN.
* @return string|false Returns a string or FALSE on failure.
@ -695,7 +695,7 @@ function gmp_export (GMP $gmpnumber, $word_size = 1, $options = GMP_MSW_FIRST |
/**
* Takes the nth root of a and returns the integer component of the result.
* @link https://php.net/manual/en/function.gmp-root.php
* @param GMP $a Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6
* @param GMP $a <p>Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6
* and later, or a numeric string provided that it is possible to convert the latter to a number.</p>
* @param integer $nth The positive root to take of a.
* @return GMP The integer component of the resultant root, as a GMP number.
@ -707,10 +707,10 @@ function gmp_root (GMP $a, $nth) {}
/**
* Takes the nth root of a and returns the integer component and remainder of the result.
* @link https://php.net/manual/en/function.gmp-rootrem.php
* @param GMP $a Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6
* @param GMP $a <p>Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6
* and later, or a numeric string provided that it is possible to convert the latter to a number.</p>
* @param integer $nth The positive root to take of a.
* @return array|GMP[] A two element array, where the first element is the integer component of
* @return array|GMP[] <p>A two element array, where the first element is the integer component of
* the root, and the second element is the remainder, both represented as GMP numbers.</p>
* @since 5.6
*/
@ -720,7 +720,7 @@ function gmp_rootrem (GMP $a, $nth) {}
/**
* Find next prime number
* @link https://php.net/manual/en/function.gmp-nextprime.php
* @param int|resource|string|GMP $a It can be either a GMP number resource, or a
* @param int|resource|string|GMP $a <p>It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource Return the next prime number greater than <i>a</i>,
* as a GMP number.

View File

@ -246,7 +246,7 @@ function hash_algos (): array
* </blockquote>
* @param string $key <p>Input keying material (raw binary). Cannot be empty.</p>
* @param int $length [optional] <p>Desired output length in bytes. Cannot be greater than 255 times the chosen hash function size.
* If <b>length</b> is 0, the output length will default to the chosen hash function size.
* If <b>length</b> is 0, the output length will default to the chosen hash function size.</p>
* @param string $info [optional] <p>Application/context-specific info string.</p>
* @param string $salt [optional] <p>Salt to use during derivation. While optional, adding random salt significantly improves the strength of HKDF.</p>
* @return string|false <p>Returns a string containing a raw binary representation of the derived key (also known as output keying material - OKM); or <b>FALSE</b> on failure.</p>

View File

@ -78,6 +78,7 @@ function db2_commit ($connection) {}
* An associative array of connection options that affect the behavior
* of the connection, where valid array keys include:
* autocommit
* </p>
* <p>
* Passing the DB2_AUTOCOMMIT_ON value turns
* autocommit on for this connection handle.
@ -103,16 +104,16 @@ function db2_pconnect ($database, $username, $password, array $options = null) {
* db2_connect or db2_pconnect.
* </p>
* @param bool $value <p>
* One of the following constants:
* DB2_AUTOCOMMIT_OFF
* One of the following constants:</p>
* <p>
* DB2_AUTOCOMMIT_OFF
* Turns AUTOCOMMIT off.
* </p>
* DB2_AUTOCOMMIT_ON
* <p>
* DB2_AUTOCOMMIT_ON
* Turns AUTOCOMMIT on.
* </p>
* @return mixed When db2_autocommit receives only the
* @return mixed <p>When db2_autocommit receives only the
* connection parameter, it returns the current state
* of AUTOCOMMIT for the requested connection as an integer value. A value of
* 0 indicates that AUTOCOMMIT is off, while a value of 1 indicates that
@ -123,7 +124,7 @@ function db2_pconnect ($database, $username, $password, array $options = null) {
* connection parameter and
* autocommit parameter, it attempts to set the
* AUTOCOMMIT state of the requested connection to the corresponding state.
* true on success or false on failure.
* true on success or false on failure.</p>
*/
function db2_autocommit ($connection, $value = null) {}
@ -877,12 +878,14 @@ function db2_specialcolumns () {}
* @param bool $unique <p>
* An integer value representing the type of index information to return.
* 0
* </p>
* <p>
* Return only the information for unique indexes on the table.
* </p>
* @return resource|false A statement resource with a result set containing rows describing
* the statistics and indexes for the base tables matching the specified
* parameters. The rows are composed of the following columns:
* <table>
* <tr valign="top">
* <td>Column name</td>
* <td>Description</td>
@ -903,9 +906,10 @@ function db2_specialcolumns () {}
* <tr valign="top">
* <td>NON_UNIQUE</td>
* <td>
* <table>
* <p>
* An integer value representing whether the index prohibits unique
* values, or whether the row represents statistics on the table itself:
* values, or whether the row represents statistics on the table itself:</p>
* <tr valign="top">
* <td>Return value</td>
* <td>Parameter type</td>
@ -922,7 +926,7 @@ function db2_specialcolumns () {}
* <td>null</td>
* <td>This row is statistics information for the table itself.</td>
* </tr>
* </p>
* </table>
* </td>
* </tr>
* <tr valign="top">
@ -939,7 +943,8 @@ function db2_specialcolumns () {}
* <td>
* <p>
* An integer value representing the type of information contained in
* this row of the result set:
* this row of the result set:</p>
* <table>
* <tr valign="top">
* <td>Return value</td>
* <td>Parameter type</td>
@ -961,7 +966,7 @@ function db2_specialcolumns () {}
* <td>The row contains information about a type of index that
* is neither clustered nor hashed.</td>
* </tr>
* </p>
* </table>
* </td>
* </tr>
* <tr valign="top">
@ -1017,6 +1022,7 @@ function db2_specialcolumns () {}
* <td>FILTER_CONDITION</td>
* <td>Always returns null.</td>
* </tr>
* </table>
*/
function db2_statistics ($connection, $qualifier, $schema, $table_name, $unique) {}
@ -1150,6 +1156,7 @@ function db2_tables ($connection, $qualifier = null, $schema = null, $table_name
* parameter to request a scrollable cursor on database servers that
* support this functionality.
* cursor
* </p>
* <p>
* Passing the DB2_FORWARD_ONLY value requests a
* forward-only cursor for this SQL statement. This is the default
@ -1183,7 +1190,8 @@ function db2_exec ($connection, $statement, array $options = null) {}
* parameter to request a scrollable cursor on database servers that
* support this functionality.
* cursor
* <p>
* </p>
* </p>
* Passing the DB2_FORWARD_ONLY value requests a
* forward-only cursor for this SQL statement. This is the default
* type of cursor, and it is supported by all database servers. It is
@ -1686,9 +1694,9 @@ function db2_lob_read ($stmt, $colnum, $length) {}
* A valid statement or connection options. The following new options are available
* as of ibm_db2 version 1.6.0. They provide useful tracking information
* that can be set during execution with db2_get_option.
* Note
* </p>
* <p>
* Prior versions of ibm_db2 do not support these new options.
* Note: Prior versions of ibm_db2 do not support these new options.
* </p>
* <p>
* When the value in each option is being set, some servers might not handle
@ -1699,18 +1707,16 @@ function db2_lob_read ($stmt, $colnum, $length) {}
* when transmitted to a host system, use only the characters A through Z,
* 0 through 9, and the underscore (_) or period (.).
* </p>
* userid
* <p>
* SQL_ATTR_INFO_USERID - A pointer to a null-terminated
* character string used to identify the client user ID sent to the host
* database server when using DB2 Connect.
* Note
* </p>
* <p>
* DB2 for z/OS and OS/390 servers support up to a length of 16 characters.
* Note: DB2 for z/OS and OS/390 servers support up to a length of 16 characters.
* This user-id is not to be confused with the authentication user-id, it is for
* identification purposes only and is not used for any authorization.
* </p>
* </p>
* @return string|false The current setting of the connection attribute provided on success
* or false on failure.
*/

View File

@ -55,7 +55,6 @@ function ob_iconv_handler (string $contents, int $status): string
* </p>
* @return string|string[]|false the current value of the internal configuration variable if
* successful or <b>FALSE</b> on failure.
* </p>
* <p>
* If <i>type</i> is omitted or set to "all",
* <b>iconv_get_encoding</b> returns an array that
@ -147,7 +146,6 @@ function iconv_strlen (string $string, ?string $encoding = 'ini_get("iconv.inter
* </p>
* @return string|false the portion of <i>str</i> specified by the
* <i>offset</i> and <i>length</i> parameters.
* </p>
* <p>
* If <i>str</i> is shorter than <i>offset</i>
* characters long, <b>FALSE</b> will be returned.
@ -177,7 +175,6 @@ function iconv_substr (string $string, int $offset, ?int $length, ?string $encod
* </p>
* @return int|false the numeric position of the first occurrence of
* <i>needle</i> in <i>haystack</i>.
* </p>
* <p>
* If <i>needle</i> is not found,
* <b>iconv_strpos</b> will return <b>FALSE</b>.
@ -203,7 +200,6 @@ function iconv_strpos (string $haystack, string $needle, int $offset = 0, ?strin
* </p>
* @return int|false the numeric position of the last occurrence of
* <i>needle</i> in <i>haystack</i>.
* </p>
* <p>
* If <i>needle</i> is not found,
* <b>iconv_strrpos</b> will return <b>FALSE</b>.
@ -379,8 +375,9 @@ function iconv_mime_decode (string $string, int $mode = 0, ?string $encoding = '
* <b>iconv_mime_decode_headers</b> encounters a malformed
* MIME header field. You can specify any combination
* of the following bitmasks.
* <br>
* Bitmasks acceptable to <b>iconv_mime_decode_headers</b></p>
* <table>
* Bitmasks acceptable to <b>iconv_mime_decode_headers</b>
* <tr valign="top">
* <td>Value</td>
* <td>Constant</td>
@ -407,7 +404,6 @@ function iconv_mime_decode (string $string, int $mode = 0, ?string $encoding = '
* </td>
* </tr>
* </table>
* </p>
* @param string|null $encoding [optional] <p>
* The optional <i>charset</i> parameter specifies the
* character set to represent the result by. If omitted,
@ -418,7 +414,6 @@ function iconv_mime_decode (string $string, int $mode = 0, ?string $encoding = '
* MIME header fields specified by
* <i>encoded_headers</i> on success, or <b>FALSE</b>
* if an error occurs during the decoding.
* </p>
* <p>
* Each key of the return value represents an individual
* field name and the corresponding element represents a field value.

View File

@ -2278,7 +2278,7 @@ class Imagick implements Iterator, Countable {
* </p>
* @param string $thumbnail_geometry <p>
* Preferred image size and border size of each thumbnail
* (e.g. 120x120+4+3>).
* (e.g. 120x120+4+3&#x3E;).
* </p>
* @param int $mode <p>
* Thumbnail framing mode, see Montage Mode constants.
@ -4732,7 +4732,7 @@ class Imagick implements Iterator, Countable {
* @link https://php.net/manual/en/imagick.getregistry.php
* @param string $key
* @return string|false
* @throws Exception Since version >=3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
* @throws Exception Since version >= 3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
* @since 3.3.0
*/
public static function getRegistry ($key) { }
@ -4903,7 +4903,7 @@ class Imagick implements Iterator, Countable {
/**
* Sets the image channel mask. Returns the previous set channel mask.
* Only works with Imagick >=7
* Only works with Imagick >= 7
* @param int $channel
* @since 3.4.0
*/

View File

@ -27,7 +27,7 @@ use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
* in the form "{" remote_system_name [":" port] [flags] "}"
* [mailbox_name] where:
* remote_system_name - Internet domain name or
* bracketed IP address of server.
* bracketed IP address of server.</p>
* @param string $username <p>
* The user name
* </p>
@ -37,14 +37,14 @@ use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
* @param int $options [optional] <p>
* The <i>options</i> are a bit mask with one or more of
* the following:
* <b>OP_READONLY</b> - Open mailbox read-only
* <b>OP_READONLY</b> - Open mailbox read-only</p>
* @param int $n_retries [optional] <p>
* Number of maximum connect attempts
* </p>
* @param null|array $params [optional] <p>
* Connection parameters, the following (string) keys maybe used
* to set one or more connection parameters:
* DISABLE_AUTHENTICATOR - Disable authentication properties
* DISABLE_AUTHENTICATOR - Disable authentication properties</p>
* @return resource|false an IMAP stream on success or <b>FALSE</b> on error.
*/
function imap_open ($mailbox, $username, $password, $options = 0, $n_retries = 0, ?array $params = null) {}
@ -60,7 +60,7 @@ function imap_open ($mailbox, $username, $password, $options = 0, $n_retries = 0
* @param int $options [optional] <p>
* The <i>options</i> are a bit mask with one or more of
* the following:
* <b>OP_READONLY</b> - Open mailbox read-only
* <b>OP_READONLY</b> - Open mailbox read-only</p>
* @param int $n_retries [optional] <p>
* Number of maximum connect attempts
* </p>
@ -119,42 +119,42 @@ function imap_headers ($imap_stream) {}
* @param $default_host [optional]
* @return object Returns the information in an object with following properties:
* <dl>
* <dt>toaddress <dd>full to: line, up to 1024 characters
* <dt>to <dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host
* <dt>fromaddress <dd>full from: line, up to 1024 characters
* <dt>from <dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host
* <dt>ccaddress <dd>full cc: line, up to 1024 characters
* <dt>cc <dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host
* <dt>bccaddress <dd>full bcc: line, up to 1024 characters
* <dt>bcc <dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host
* <dt>reply_toaddress <dd>full Reply-To: line, up to 1024 characters
* <dt>reply_to <dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host
* <dt>senderaddress <dd>full sender: line, up to 1024 characters
* <dt>sender <dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host
* <dt>return_pathaddress <dd>full Return-Path: line, up to 1024 characters
* <dt>return_path <dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host
* <dt>remail -
* <dt>date <dd>The message date as found in its headers
* <dt>Date <dd>Same as date
* <dt>subject <dd>The message subject
* <dt>Subject <dd>Same a subject
* <dt>in_reply_to -
* <dt>message_id -
* <dt>newsgroups -
* <dt>followup_to -
* <dt>references -
* <dt>Recent <dd>R if recent and seen, N if recent and not seen, ' ' if not recent.
* <dt>Unseen <dd>U if not seen AND not recent, ' ' if seen OR not seen and recent
* <dt>Flagged <dd>F if flagged, ' ' if not flagged
* <dt>Answered <dd>A if answered, ' ' if unanswered
* <dt>Deleted <dd>D if deleted, ' ' if not deleted
* <dt>Draft <dd>X if draft, ' ' if not draft
* <dt>Msgno <dd>The message number
* <dt>MailDate -
* <dt>Size <dd>The message size
* <dt>udate <dd>mail message date in Unix time
* <dt>fetchfrom <dd>from line formatted to fit fromlength characters
* <dt>fetchsubject <dd>subject line formatted to fit subjectlength characters
* <dt>toaddress</dt><dd>full to: line, up to 1024 characters</dd>
* <dt>to</dt><dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>fromaddress</dt><dd>full from: line, up to 1024 characters</dd>
* <dt>from</dt><dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>ccaddress</dt><dd>full cc: line, up to 1024 characters</dd>
* <dt>cc</dt><dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>bccaddress</dt><dd>full bcc: line, up to 1024 characters</dd>
* <dt>bcc</dt><dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>reply_toaddress</dt><dd>full Reply-To: line, up to 1024 characters</dd>
* <dt>reply_to</dt><dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>senderaddress</dt><dd>full sender: line, up to 1024 characters</dd>
* <dt>sender</dt><dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>return_pathaddress</dt><dd>full Return-Path: line, up to 1024 characters</dd>
* <dt>return_path</dt><dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>remail -</dt>
* <dt>date</dt><dd>The message date as found in its headers</dd>
* <dt>Date</dt><dd>Same as date</dd>
* <dt>subject</dt><dd>The message subject</dd>
* <dt>Subject</dt><dd>Same a subject</dd>
* <dt>in_reply_to -</dt>
* <dt>message_id -</dt>
* <dt>newsgroups -</dt>
* <dt>followup_to -</dt>
* <dt>references -</dt>
* <dt>Recent</dt><dd>R if recent and seen, N if recent and not seen, ' ' if not recent.</dd>
* <dt>Unseen</dt><dd>U if not seen AND not recent, ' ' if seen OR not seen and recent</dd>
* <dt>Flagged</dt><dd>F if flagged, ' ' if not flagged</dd>
* <dt>Answered</dt><dd>A if answered, ' ' if unanswered</dd>
* <dt>Deleted</dt><dd>D if deleted, ' ' if not deleted</dd>
* <dt>Draft</dt><dd>X if draft, ' ' if not draft</dd>
* <dt>Msgno</dt><dd>The message number</dd>
* <dt>MailDate -</dt>
* <dt>Size</dt><dd>The message size</dd>
* <dt>udate</dt><dd>mail message date in Unix time</dd>
* <dt>fetchfrom</dt><dd>from line formatted to fit fromlength characters</dd>
* <dt>fetchsubject</dt><dd>subject line formatted to fit subjectlength characters</dd>
* </dl>
*/
function imap_headerinfo ($stream_id, $msg_no, $from_length = 0, $subject_length = 0, $default_host = null) {}
@ -169,42 +169,42 @@ function imap_headerinfo ($stream_id, $msg_no, $from_length = 0, $subject_length
* @param int $subject_length [optional] Number of characters for the fetchsubject property Must be greater than or equal to zero.
* @return object Returns the information in an object with following properties:
* <dl>
* <dt>toaddress <dd>full to: line, up to 1024 characters
* <dt>to <dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host
* <dt>fromaddress <dd>full from: line, up to 1024 characters
* <dt>from <dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host
* <dt>ccaddress <dd>full cc: line, up to 1024 characters
* <dt>cc <dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host
* <dt>bccaddress <dd>full bcc: line, up to 1024 characters
* <dt>bcc <dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host
* <dt>reply_toaddress <dd>full Reply-To: line, up to 1024 characters
* <dt>reply_to <dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host
* <dt>senderaddress <dd>full sender: line, up to 1024 characters
* <dt>sender <dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host
* <dt>return_pathaddress <dd>full Return-Path: line, up to 1024 characters
* <dt>return_path <dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host
* <dt>remail -
* <dt>date <dd>The message date as found in its headers
* <dt>Date <dd>Same as date
* <dt>subject <dd>The message subject
* <dt>Subject <dd>Same a subject
* <dt>in_reply_to -
* <dt>message_id -
* <dt>newsgroups -
* <dt>followup_to -
* <dt>references -
* <dt>Recent <dd>R if recent and seen, N if recent and not seen, ' ' if not recent.
* <dt>Unseen <dd>U if not seen AND not recent, ' ' if seen OR not seen and recent
* <dt>Flagged <dd>F if flagged, ' ' if not flagged
* <dt>Answered <dd>A if answered, ' ' if unanswered
* <dt>Deleted <dd>D if deleted, ' ' if not deleted
* <dt>Draft <dd>X if draft, ' ' if not draft
* <dt>Msgno <dd>The message number
* <dt>MailDate -
* <dt>Size <dd>The message size
* <dt>udate <dd>mail message date in Unix time
* <dt>fetchfrom <dd>from line formatted to fit fromlength characters
* <dt>fetchsubject <dd>subject line formatted to fit subjectlength characters
* <dt>toaddress</dt><dd>full to: line, up to 1024 characters</dd>
* <dt>to</dt><dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>fromaddress</dt><dd>full from: line, up to 1024 characters</dd>
* <dt>from</dt><dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>ccaddress</dt><dd>full cc: line, up to 1024 characters</dd>
* <dt>cc</dt><dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>bccaddress</dt><dd>full bcc: line, up to 1024 characters</dd>
* <dt>bcc</dt><dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>reply_toaddress</dt><dd>full Reply-To: line, up to 1024 characters</dd>
* <dt>reply_to</dt><dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>senderaddress</dt><dd>full sender: line, up to 1024 characters</dd>
* <dt>sender</dt><dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>return_pathaddress</dt><dd>full Return-Path: line, up to 1024 characters</dd>
* <dt>return_path</dt><dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>remail -</dt>
* <dt>date</dt><dd>The message date as found in its headers</dd>
* <dt>Date</dt><dd>Same as date</dd>
* <dt>subject</dt><dd>The message subject</dd>
* <dt>Subject</dt><dd>Same a subject</dd>
* <dt>in_reply_to -</dt>
* <dt>message_id -</dt>
* <dt>newsgroups -</dt>
* <dt>followup_to -</dt>
* <dt>references -</dt>
* <dt>Recent</dt><dd>R if recent and seen, N if recent and not seen, ' ' if not recent.</dd>
* <dt>Unseen</dt><dd>U if not seen AND not recent, ' ' if seen OR not seen and recent</dd>
* <dt>Flagged</dt><dd>F if flagged, ' ' if not flagged</dd>
* <dt>Answered</dt><dd>A if answered, ' ' if unanswered</dd>
* <dt>Deleted</dt><dd>D if deleted, ' ' if not deleted</dd>
* <dt>Draft</dt><dd>X if draft, ' ' if not draft</dd>
* <dt>Msgno</dt><dd>The message number</dd>
* <dt>MailDate -</dt>
* <dt>Size</dt><dd>The message size</dd>
* <dt>udate</dt><dd>mail message date in Unix time</dd>
* <dt>fetchfrom</dt><dd>from line formatted to fit fromlength characters</dd>
* <dt>fetchsubject</dt><dd>subject line formatted to fit subjectlength characters</dd>
* </dl>
*/
function imap_headerinfo ($stream_id, $msg_no, $from_length = 0, $subject_length = 0) {}
@ -270,7 +270,7 @@ function imap_rfc822_parse_adrlist ($address, $default_host) {}
* @param int $options [optional] <p>
* The optional <i>options</i> are a bit mask
* with one or more of the following:
* <b>FT_UID</b> - The <i>msg_number</i> is a UID
* <b>FT_UID</b> - The <i>msg_number</i> is a UID</p>
* @return string the body of the specified message, as a string.
*/
function imap_body ($imap_stream, $msg_number, $options = 0) {}
@ -304,7 +304,7 @@ function imap_bodystruct ($imap_stream, $msg_number, $section) {}
* </p>
* @param int $options [optional] <p>
* A bitmask with one or more of the following:
* <b>FT_UID</b> - The <i>msg_number</i> is a UID
* <b>FT_UID</b> - The <i>msg_number</i> is a UID</p>
* @return string a particular section of the body of the specified messages as a
* text string.
*/
@ -323,7 +323,7 @@ function imap_fetchbody ($imap_stream, $msg_number, $section, $options = 0) {}
* </p>
* @param int $options [optional] <p>
* A bitmask with one or more of the following:
* <b>FT_UID</b> - The <i>msg_number</i> is a UID
* <b>FT_UID</b> - The <i>msg_number</i> is a UID</p>
* @return string the MIME headers of a particular section of the body of the specified messages as a
* text string.
* @since 5.3.6
@ -347,7 +347,7 @@ function imap_fetchmime ($imap_stream, $msg_number, $section, $options = 0) {}
* </p>
* @param int $options [optional] <p>
* A bitmask with one or more of the following:
* <b>FT_UID</b> - The <i>msg_number</i> is a UID
* <b>FT_UID</b> - The <i>msg_number</i> is a UID</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.1.3
*/
@ -363,7 +363,7 @@ function imap_savebody ($imap_stream, $file, $msg_number, $part_number = "", $op
* @param int $options [optional] <p>
* The possible <i>options</i> are:
* <b>FT_UID</b> - The <i>msgno</i>
* argument is a UID
* argument is a UID</p>
* @return string the header of the specified message as a text string.
*/
function imap_fetchheader ($imap_stream, $msg_number, $options = 0) {}
@ -602,7 +602,7 @@ function imap_listscan ($imap_stream, $ref, $pattern, $content) {}
* </p>
* @param int $options [optional] <p>
* <i>options</i> is a bitmask of one or more of
* <b>CP_UID</b> - the sequence numbers contain UIDS
* <b>CP_UID</b> - the sequence numbers contain UIDS</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function imap_mail_copy ($imap_stream, $msglist, $mailbox, $options = 0) {}
@ -621,7 +621,7 @@ function imap_mail_copy ($imap_stream, $msglist, $mailbox, $options = 0) {}
* </p>
* @param int $options [optional] <p>
* <i>options</i> is a bitmask and may contain the single option:
* <b>CP_UID</b> - the sequence numbers contain UIDS
* <b>CP_UID</b> - the sequence numbers contain UIDS</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function imap_mail_move ($imap_stream, $msglist, $mailbox, $options = 0) {}
@ -818,7 +818,7 @@ function imap_utf8 ($mime_encoded_text) {}
* </p>
* <p>
* flags is also set, which contains a bitmask which can
* be checked against any of the above constants.
* be checked against any of the above constants.</p>
*/
function imap_status ($imap_stream, $mailbox, $options) {}
@ -892,7 +892,7 @@ function imap_mailboxmsginfo ($imap_stream) {}
* @param int $options [optional] <p>
* A bit mask that may contain the single option:
* <b>ST_UID</b> - The sequence argument contains UIDs
* instead of sequence numbers
* instead of sequence numbers</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function imap_setflag_full ($imap_stream, $sequence, $flag, $options = NIL) {}
@ -914,7 +914,7 @@ function imap_setflag_full ($imap_stream, $sequence, $flag, $options = NIL) {}
* <i>options</i> are a bit mask and may contain
* the single option:
* <b>ST_UID</b> - The sequence argument contains UIDs
* instead of sequence numbers
* instead of sequence numbers</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function imap_clearflag_full ($imap_stream, $sequence, $flag, $options = 0) {}
@ -925,14 +925,14 @@ function imap_clearflag_full ($imap_stream, $sequence, $flag, $options = 0) {}
* @param resource $imap_stream
* @param int $criteria <p>
* Criteria can be one (and only one) of the following:
* <b>SORTDATE</b> - message Date
* <b>SORTDATE</b> - message Date</p>
* @param int $reverse <p>
* Set this to 1 for reverse sorting
* </p>
* @param int $options [optional] <p>
* The <i>options</i> are a bitmask of one or more of the
* following:
* <b>SE_UID</b> - Return UIDs instead of sequence numbers
* <b>SE_UID</b> - Return UIDs instead of sequence numbers</p>
* @param string $search_criteria [optional]
* @param string $charset [optional]
* @return array an array of message numbers sorted by the given
@ -1082,7 +1082,7 @@ function imap_last_error () {}
* allowed. Any multi-word arguments (e.g.
* FROM "joey smith") must be quoted. Results will match
* all <i>criteria</i> entries.
* ALL - return all messages matching the rest of the criteria
* ALL - return all messages matching the rest of the criteria</p>
* @param int $options [optional] <p>
* Valid values for <i>options</i> are
* <b>SE_UID</b>, which causes the returned array to
@ -1342,42 +1342,42 @@ function imap_mail ($to, $subject, $message, $additional_headers = null, $cc = n
* @param $default_host [optional]
* @return object Returns the information in an object with following properties:
* <dl>
* <dt>toaddress <dd>full to: line, up to 1024 characters
* <dt>to <dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host
* <dt>fromaddress <dd>full from: line, up to 1024 characters
* <dt>from <dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host
* <dt>ccaddress <dd>full cc: line, up to 1024 characters
* <dt>cc <dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host
* <dt>bccaddress <dd>full bcc: line, up to 1024 characters
* <dt>bcc <dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host
* <dt>reply_toaddress <dd>full Reply-To: line, up to 1024 characters
* <dt>reply_to <dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host
* <dt>senderaddress <dd>full sender: line, up to 1024 characters
* <dt>sender <dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host
* <dt>return_pathaddress <dd>full Return-Path: line, up to 1024 characters
* <dt>return_path <dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host
* <dt>remail -
* <dt>date <dd>The message date as found in its headers
* <dt>Date <dd>Same as date
* <dt>subject <dd>The message subject
* <dt>Subject <dd>Same a subject
* <dt>in_reply_to -
* <dt>message_id -
* <dt>newsgroups -
* <dt>followup_to -
* <dt>references -
* <dt>Recent <dd>R if recent and seen, N if recent and not seen, ' ' if not recent.
* <dt>Unseen <dd>U if not seen AND not recent, ' ' if seen OR not seen and recent
* <dt>Flagged <dd>F if flagged, ' ' if not flagged
* <dt>Answered <dd>A if answered, ' ' if unanswered
* <dt>Deleted <dd>D if deleted, ' ' if not deleted
* <dt>Draft <dd>X if draft, ' ' if not draft
* <dt>Msgno <dd>The message number
* <dt>MailDate -
* <dt>Size <dd>The message size
* <dt>udate <dd>mail message date in Unix time
* <dt>fetchfrom <dd>from line formatted to fit fromlength characters
* <dt>fetchsubject <dd>subject line formatted to fit subjectlength characters
* <dt>toaddress</dt><dd>full to: line, up to 1024 characters</dd>
* <dt>to</dt><dd>an array of objects from the To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>fromaddress</dt><dd>full from: line, up to 1024 characters</dd>
* <dt>from</dt><dd>an array of objects from the From: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>ccaddress</dt><dd>full cc: line, up to 1024 characters</dd>
* <dt>cc</dt><dd>an array of objects from the Cc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>bccaddress</dt><dd>full bcc: line, up to 1024 characters</dd>
* <dt>bcc</dt><dd>an array of objects from the Bcc: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>reply_toaddress</dt><dd>full Reply-To: line, up to 1024 characters</dd>
* <dt>reply_to</dt><dd>an array of objects from the Reply-To: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>senderaddress</dt><dd>full sender: line, up to 1024 characters</dd>
* <dt>sender</dt><dd>an array of objects from the Sender: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>return_pathaddress</dt><dd>full Return-Path: line, up to 1024 characters</dd>
* <dt>return_path</dt><dd>an array of objects from the Return-Path: line, with the following properties: personal, adl, mailbox, and host</dd>
* <dt>remail -</dt>
* <dt>date</dt><dd>The message date as found in its headers</dd>
* <dt>Date</dt><dd>Same as date</dd>
* <dt>subject</dt><dd>The message subject</dd>
* <dt>Subject</dt><dd>Same a subject</dd>
* <dt>in_reply_to -</dt>
* <dt>message_id -</dt>
* <dt>newsgroups -</dt>
* <dt>followup_to -</dt>
* <dt>references -</dt>
* <dt>Recent</dt><dd>R if recent and seen, N if recent and not seen, ' ' if not recent.</dd>
* <dt>Unseen</dt><dd>U if not seen AND not recent, ' ' if seen OR not seen and recent</dd>
* <dt>Flagged</dt><dd>F if flagged, ' ' if not flagged</dd>
* <dt>Answered</dt><dd>A if answered, ' ' if unanswered</dd>
* <dt>Deleted</dt><dd>D if deleted, ' ' if not deleted</dd>
* <dt>Draft</dt><dd>X if draft, ' ' if not draft</dd>
* <dt>Msgno</dt><dd>The message number</dd>
* <dt>MailDate -</dt>
* <dt>Size</dt><dd>The message size</dd>
* <dt>udate</dt><dd>mail message date in Unix time</dd>
* <dt>fetchfrom</dt><dd>from line formatted to fit fromlength characters</dd>
* <dt>fetchsubject</dt><dd>subject line formatted to fit subjectlength characters</dd>
* </dl>
*/
function imap_header ($stream_id, $msg_no, $from_length = 0, $subject_length = 0, $default_host = null) {}

View File

@ -59,9 +59,9 @@ function inotify_queue_len( $inotify_instance )
*
* <ul>
* <li><b>wd</b> is a watch descriptor returned by inotify_add_watch()</li>
* <li><b>mask</b> is a bit mask of events
* <li><b>cookie</b> is a unique id to connect related events (e.g. IN_MOVE_FROM and IN_MOVE_TO)
* <li><b>name</b> is the name of a file (e.g. if a file was modified in a watched directory)
* <li><b>mask</b> is a bit mask of events</li>
* <li><b>cookie</b> is a unique id to connect related events (e.g. IN_MOVE_FROM and IN_MOVE_TO)</li>
* <li><b>name</b> is the name of a file (e.g. if a file was modified in a watched directory)</li>
* </ul>
*/
function inotify_read( $inotify_instance )

View File

@ -945,8 +945,8 @@ function fbird_prepare ($query) {}
* @param resource $query <p>
* An InterBase query prepared by fbird_prepare.
* </p>
* @param mixed ...$bind_arg [optional] <p>
* @return resource|bool If the query raises an error, returns false. If it is successful and
* @param mixed ...$bind_arg [optional]
* @return resource|bool <p>If the query raises an error, returns false. If it is successful and
* there is a (possibly empty) result set (such as with a SELECT query),
* returns a result identifier. If the query was successful and there were
* no results, returns true.
@ -955,7 +955,7 @@ function fbird_prepare ($query) {}
* In PHP 5.0.0 and up, this function returns the number of rows affected by
* the query (if > 0 and applicable to the statement type). A query that
* succeeded, but did not affect any rows (e.g. an UPDATE of a non-existent
* record) will return true.
* record) will return true.</p>
*/
function fbird_execute ($query, ...$bind_arg) {}

View File

@ -1860,7 +1860,7 @@ class IntlDateFormatter {
* by ICU's database, not PHP's.
* </p>
* </li>
*<li>
* <li>
* <p>
* A {@link "https://secure.php.net/manual/en/language.types.string.php" string}, which should be a valid ICU timezone identifier.
* See <b>IntlTimeZone::createTimeZoneIDEnumeration()</b>. Raw offsets such as <em>"GMT+08:30"</em> are also accepted.
@ -2947,13 +2947,13 @@ class IntlCalendar {
* </p>
* @param int $second [optional] <p>
* The new value for <b>IntlCalendar::FIELD_SECOND</b>.
*</p>
* </p>
* @return bool Returns <b>TRUE</b> on success and <b>FALSE</b> on failure.
*/
public function set($year, $month, $dayOfMonth = null, $hour = null, $minute = null, $second = null) { }
/**
* (PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)<br/>
* (PHP 5 >= 5.5.0 PECL intl >= 3.0.0a1)<br/>
* Set a time field or several common fields at once
* @link https://secure.php.net/manual/en/intlcalendar.set.php
* @param int $field One of the IntlCalendar date/time field constants. These are integer values between 0 and IntlCalendar::FIELD_COUNT.
@ -3435,7 +3435,6 @@ function collator_get_strength(Collator $object) { }
* @param int $strength <p>Strength to set.</p>
* <p>
* Possible values are:
* <p>
* <b>Collator::PRIMARY</b>
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -3454,7 +3453,6 @@ function collator_set_strength(Collator $object, $strength) { }
* Optional sorting type, one of the following:
* </p>
* <p>
* <p>
* <b>Collator::SORT_REGULAR</b>
* - compare items normally (don't change types)
* </p>
@ -3480,7 +3478,6 @@ function collator_sort_with_sort_keys(Collator $object, array &$array) { }
* @param string[] &$array <p>Array of strings to sort.</p>
* @param int $sort_flag [optional] <p>
* Optional sorting type, one of the following:
* <p>
* <b>Collator::SORT_REGULAR</b>
* - compare items normally (don't change types)
* </p>
@ -5060,7 +5057,7 @@ function intlcal_before(IntlCalendar $calendarObject, IntlCalendar $calendar) {
* </p>
* @param int $second [optional] <p>
* The new value for <b>IntlCalendar::FIELD_SECOND</b>.
*</p>
* </p>
* @return bool Returns <b>TRUE</b> on success and <b>FALSE</b> on failure.
* @since 5.5
*/
@ -5225,7 +5222,7 @@ function intlcal_get_first_day_of_week($calendar) { }
* @param int $field <p>
* One of the {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} date/time {@link https://secure.php.net/manual/en/class.intlcalendar.php#intlcalendar.constants field constants}. These are integer
* values between <em>0</em> and
* <b>IntlCalendar::FIELD_COUNT</b>.
* <b>IntlCalendar::FIELD_COUNT</b>.</p>
* @return int
* An {@link https://secure.php.net/manual/en/language.types.integer.php int} representing a field value, in the field's
* unit, or <b>FALSE</b> on failure.
@ -5262,7 +5259,7 @@ function intlcal_get($calendar, $field) { }
* <b>IntlCalendar::FIELD_COUNT</b>.
* </p>
* @return int
* An {@link https://secure.php.net/manual/en/language.types.integer.ph int} representing a field value in the field's
* <p>An {@link https://secure.php.net/manual/en/language.types.integer.ph int} representing a field value in the field's
* unit or <b>FALSE</b> on failure.
* </p>
* @since 5.5
@ -5280,7 +5277,7 @@ function intlcal_get_least_maximum($calendar, $field) { }
* @param int $field <p>
* One of the {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} date/time {@link https://secure.php.net/manual/en/class.intlcalendar.php#intlcalendar.constants field constants}. These are integer
* values between <em>0</em> and
* <b>IntlCalendar::FIELD_COUNT</b>.
* <b>IntlCalendar::FIELD_COUNT</b>.</p>
* @return int
* An {@link https://secure.php.net/manual/en/language.types.integer.php int} representing a field value, in the field's
* unit, or <b>FALSE</b> on failure.
@ -6045,7 +6042,7 @@ function resourcebundle_get_error_message(ResourceBundle $bundle) { }
* </p>
* @param int $direction [optional] <p>
* The direction, defaults to
* >Transliterator::FORWARD.
* Transliterator::FORWARD.
* May also be set to
* Transliterator::REVERSE.
* </p>
@ -6065,7 +6062,7 @@ function transliterator_create($id, $direction = null) { }
* </p>
* @param int $direction [optional] <p>
* The direction, defaults to
* >Transliterator::FORWARD.
* Transliterator::FORWARD.
* May also be set to
* Transliterator::REVERSE.
* </p>

View File

@ -235,7 +235,7 @@ function ldap_unbind ($ldap): bool
* Specifies how aliases should be handled during the search. It can be
* one of the following:
* <b>LDAP_DEREF_NEVER</b> - (default) aliases are never
* dereferenced.
* dereferenced.</p>
* @param array|null $controls [optional] Array of LDAP Controls to send with the request.
* @return resource|false a search result identifier or <b>FALSE</b> on error.
*/
@ -294,7 +294,7 @@ function ldap_read ($ldap, array|string $base, array|string $filter, array $attr
* Specifies how aliases should be handled during the search. It can be
* one of the following:
* <b>LDAP_DEREF_NEVER</b> - (default) aliases are never
* dereferenced.
* dereferenced.</p>
* @param array|null $controls [optional] Array of LDAP Controls to send with the request.
* @return resource|false a search result identifier or <b>FALSE</b> on error.
*/
@ -357,7 +357,7 @@ function ldap_list ($ldap, array|string $base, array|string $filter, array $attr
* Specifies how aliases should be handled during the search. It can be
* one of the following:
* <b>LDAP_DEREF_NEVER</b> - (default) aliases are never
* dereferenced.
* dereferenced.</p>
* @param array|null $controls [optional] Array of LDAP Controls to send with the request.
* @return resource|false a search result identifier or <b>FALSE</b> on error.
*/
@ -1215,14 +1215,12 @@ function ldap_escape (string $value, string $ignore = "", int $flags = 0): strin
* </p>
* <p>
* Possible values for <em>modtype</em> include:
* </p><dl>
*
* </p>
* <dl>
*
* <dt>
* <b>LDAP_MODIFY_BATCH_ADD</b></dt>
*
* <dd>
*
* <p>
* Each value specified through <em>values</em> is added (as
* an additional value) to the attribute named by
@ -1232,9 +1230,7 @@ function ldap_escape (string $value, string $ignore = "", int $flags = 0): strin
*
* <dt>
* <b>LDAP_MODIFY_BATCH_REMOVE</b></dt>
*
* <dd>
*
* <p>
* Each value specified through <em>values</em> is removed
* from the attribute named by <em>attrib</em>. Any value of
@ -1242,11 +1238,10 @@ function ldap_escape (string $value, string $ignore = "", int $flags = 0): strin
* will remain untouched.
* </p>
* </dd>
*
* <dt>
* <b>LDAP_MODIFY_BATCH_REMOVE_ALL</b></dt>
*
* <dd>
*
* <p>
* All values are removed from the attribute named by
* <em>attrib</em>. A <em>values</em> entry must
@ -1256,22 +1251,21 @@ function ldap_escape (string $value, string $ignore = "", int $flags = 0): strin
*
* <dt>
* <b>LDAP_MODIFY_BATCH_REPLACE</b></dt>
*
* <dd>
*
* <p>
* All current values of the attribute named by
* <em>attrib</em> are replaced with the values specified
* through <em>values</em>.
* </p>
* </dd>
*
* </dl>
* <p>
* Note that any value for <em>attrib</em> must be a string, any
* value for <em>values</em> must be an array of strings, and
* any value for <em>modtype</em> must be one of the
* <b>LDAP_MODIFY_BATCH_*</b> constants listed above.
* </p></p>
* </p>
* @param array|null $controls [optional] Array of LDAP Controls to send with the request.
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4

View File

@ -155,7 +155,7 @@ function mailparse_msg_parse ($mimemail, $data) {}
* Parses a {@link http://www.faqs.org/rfcs/rfc822 RFC 822} compliant recipient list, such as that found in the To: header.
* @link https://php.net/manual/en/function.mailparse-rfc822-parse-addresses.php
* @param string $addresses <p>
* A string containing addresses, like in: Wez Furlong <wez@example.com>, doe@example.com
* A string containing addresses, like in: <pre>Wez Furlong <wez@example.com>, doe@example.com</pre>
* Note: This string must not include the header name.
* </p>
* @return array <p>

View File

@ -1585,8 +1585,8 @@ final class layerObj
* layer object. The matching between the sld document and the layer
* will be done using the layer's name. If a namedlayer argument is
* passed (argument is optional), the NamedLayer in the sld that
* matchs it will be used to style the layer. See :ref:`SLD HowTo
* <sld>` for more information on the SLD support.
* matchs it will be used to style the layer. See :ref:`SLD HowTo <sld>`
* for more information on the SLD support.
*
* @param string $sldurl
* @param string $namedlayer
@ -2717,8 +2717,8 @@ final class mapObj
final public function getSymbolObjectById($symbolid) {}
/**
* Available only if WMS support is enabled. Load a :ref:`WMS Map
* Context <map_context>` XML file into the current mapObj. If the
* Available only if WMS support is enabled. Load a :ref:`WMS Map Context <map_context>`
* XML file into the current mapObj. If the
* map already contains some layers then the layers defined in the
* WMS Map context document are added to the current map. The 2nd
* argument unique_layer_name is optional and if set to MS_TRUE
@ -2780,8 +2780,8 @@ final class mapObj
* the map. Returns MS_DONE (2) if there is no valid OWS request in
* the req object, MS_SUCCESS (0) if an OWS request was successfully
* processed and MS_FAILURE (1) if an OWS request was not
* successfully processed. OWS requests include :ref:`WMS
* <wms_server>`, :ref:`WFS <wfs_server>`, :ref:`WCS <wcs_server>`
* successfully processed. OWS requests include :ref:`WMS <wms_server>`,
* :ref:`WFS <wfs_server>`, :ref:`WCS <wcs_server>`
* and :ref:`SOS <sos_server>` requests supported by MapServer.
* Results of a dispatched request are written to stdout and can be
* captured using the msIO services (ie. ms_ioinstallstdouttobuffer()

View File

@ -185,10 +185,11 @@ function mb_detect_order (array|string|null $encoding = null): array|bool
* @link https://php.net/manual/en/function.mb-substitute-character.php
* @param string|int|null $substitute_character [optional] <p>
* Specify the Unicode value as an integer,
* or as one of the following strings:<ul>
* <li>"none" : no output
* <li>"long": Output character code value (Example: U+3000, JIS+7E7E)
* <li>"entity": Output character entity (Example: Ȁ)
* or as one of the following strings:</p><ul>
* <li>"none" : no output</li>
* <li>"long": Output character code value (Example: U+3000, JIS+7E7E)</li>
* <li>"entity": Output character entity (Example: Ȁ)</li>
* </ul>
* @return bool|int|string If substchar is set, it returns true for success,
* otherwise returns false.
* If substchar is not set, it returns the Unicode value,

View File

@ -762,19 +762,38 @@ class MongoDB {
/**
* (PECL mongo &gt;= 1.0.1)<br/>
* Log in to this database
*
* @link https://secure.php.net/manual/en/mongodb.authenticate.php
*
* @param string $username The username.
* @param string $password The password (in plaintext).
*
* @return array <p>Returns database response. If the login was successful, it will return 1.</p>
* <p>
* <span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">array(</span><span style="color: #DD0000">"ok"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br></span><span style="color: #0000BB">?&gt;</span>
* </span>
* <span style="color: #0000BB">&lt;?php<br></span>
* <span style="color: #007700">array(</span>
* <span style="color: #DD0000">"ok"&nbsp;</span>
* <span style="color: #007700">=&gt;&nbsp;</span>
* <span style="color: #0000BB">1</span>
* <span style="color: #007700">);<br></span>
* <span style="color: #0000BB">?&gt;</span>
* </p>
* <p> If something went wrong, it will return </p>
* <p>
* <span style="color: #0000BB">&lt;?php<br></span><span style="color: #007700">array(</span><span style="color: #DD0000">"ok"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"errmsg"&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">"auth&nbsp;fails"</span><span style="color: #007700">);<br></span><span style="color: #0000BB">?&gt;</span></p>
* <p>("auth fails" could be another message, depending on database version and
* what went wrong)</p>
* <span style="color: #0000BB">&lt;?php<br></span>
* <span style="color: #007700">array(</span>
* <span style="color: #DD0000">"ok"&nbsp;</span>
* <span style="color: #007700">=&gt;&nbsp;</span>
* <span style="color: #0000BB">0</span>
* <span style="color: #007700">,&nbsp;</span>
* <span style="color: #DD0000">"errmsg"&nbsp;</span>
* <span style="color: #007700">=&gt;&nbsp;</span>
* <span style="color: #DD0000">"auth&nbsp;fails"</span>
* <span style="color: #007700">);<br></span>
* <span style="color: #0000BB">?&gt;</span>
* </p>
* <p>("auth fails" could be another message, depending on database version and
* what went wrong)</p>
*/
public function authenticate($username, $password) {}
@ -988,14 +1007,14 @@ class MongoCollection {
* This special behavior does not mean that the parameter is passed by reference.
* @param array $options Options for the insert.
* <dl>
* <dt>"w"
* <dd>See WriteConcerns. The default value for MongoClient is 1.
* <dt>"fsync"
* <dd>Boolean, defaults to FALSE. Forces the insert to be synced to disk before returning success. If TRUE, an acknowledged insert is implied and will override setting w to 0.
* <dt>"timeout"
* <dd>Integer, defaults to MongoCursor::$timeout. If "safe" is set, this sets how long (in milliseconds) for the client to wait for a database response. If the database does not respond within the timeout period, a MongoCursorTimeoutException will be thrown.
* <dt>"safe"
* <dd>Deprecated. Please use the WriteConcern w option.
* <dt>"w"</dt>
* <dd>See WriteConcerns. The default value for MongoClient is 1.</dd>
* <dt>"fsync"</dt>
* <dd>Boolean, defaults to FALSE. Forces the insert to be synced to disk before returning success. If TRUE, an acknowledged insert is implied and will override setting w to 0.</dd>
* <dt>"timeout"</dt>
* <dd>Integer, defaults to MongoCursor::$timeout. If "safe" is set, this sets how long (in milliseconds) for the client to wait for a database response. If the database does not respond within the timeout period, a MongoCursorTimeoutException will be thrown.</dd>
* <dt>"safe"</dt>
* <dd>Deprecated. Please use the WriteConcern w option.</dd>
* </dl>
* @throws MongoException if the inserted document is empty or if it contains zero-length keys. Attempting to insert an object with protected and private properties will cause a zero-length key error.
* @throws MongoCursorException if the "w" option is set and the write fails.
@ -1004,26 +1023,26 @@ class MongoCollection {
* Otherwise, returns TRUE if the inserted array is not empty (a MongoException will be thrown if the inserted array is empty).
* If an array is returned, the following keys may be present:
* <dl>
* <dt>ok
* <dd>This should almost be 1 (unless last_error itself failed).
* <dt>err
* <dd>If this field is non-null, an error occurred on the previous operation. If this field is set, it will be a string describing the error that occurred.
* <dt>code
* <dd>If a database error occurred, the relevant error code will be passed back to the client.
* <dt>errmsg
* <dd>This field is set if something goes wrong with a database command. It is coupled with ok being 0. For example, if w is set and times out, errmsg will be set to "timed out waiting for slaves" and ok will be 0. If this field is set, it will be a string describing the error that occurred.
* <dt>n
* <dd>If the last operation was an update, upsert, or a remove, the number of documents affected will be returned. For insert operations, this value is always 0.
* <dt>wtimeout
* <dd>If the previous option timed out waiting for replication.
* <dt>waited
* <dd>How long the operation waited before timing out.
* <dt>wtime
* <dd>If w was set and the operation succeeded, how long it took to replicate to w servers.
* <dt>upserted
* <dd>If an upsert occurred, this field will contain the new record's _id field. For upserts, either this field or updatedExisting will be present (unless an error occurred).
* <dt>updatedExisting
* <dd>If an upsert updated an existing element, this field will be true. For upserts, either this field or upserted will be present (unless an error occurred).
* <dt>ok</dt>
* <dd>This should almost be 1 (unless last_error itself failed).</dd>
* <dt>err</dt>
* <dd>If this field is non-null, an error occurred on the previous operation. If this field is set, it will be a string describing the error that occurred.</dd>
* <dt>code</dt>
* <dd>If a database error occurred, the relevant error code will be passed back to the client.</dd>
* <dt>errmsg</dt>
* <dd>This field is set if something goes wrong with a database command. It is coupled with ok being 0. For example, if w is set and times out, errmsg will be set to "timed out waiting for slaves" and ok will be 0. If this field is set, it will be a string describing the error that occurred.</dd>
* <dt>n</dt>
* <dd>If the last operation was an update, upsert, or a remove, the number of documents affected will be returned. For insert operations, this value is always 0.</dd>
* <dt>wtimeout</dt>
* <dd>If the previous option timed out waiting for replication.</dd>
* <dt>waited</dt>
* <dd>How long the operation waited before timing out.</dd>
* <dt>wtime</dt>
* <dd>If w was set and the operation succeeded, how long it took to replicate to w servers.</dd>
* <dt>upserted</dt>
* <dd>If an upsert occurred, this field will contain the new record's _id field. For upserts, either this field or updatedExisting will be present (unless an error occurred).</dd>
* <dt>updatedExisting</dt>
* <dd>If an upsert updated an existing element, this field will be true. For upserts, either this field or upserted will be present (unless an error occurred).</dd>
* </dl>
*/
public function insert($a, array $options = array()) {}
@ -1539,7 +1558,7 @@ class MongoCursor implements Iterator {
public function info(){}
/**
* PECL mongo >=1.0.11
* PECL mongo >= 1.0.11
* Limits the number of elements returned in one batch.
* <p>A cursor typically fetches a batch of result objects and store them locally.
* This method sets the batchSize value to configure the amount of documents retrieved from the server in one data packet.
@ -1577,7 +1596,7 @@ class MongoCursor implements Iterator {
public function batchSize($batchSize){}
/**
* (PECL mongo >=1.5.0)
* (PECL mongo >= 1.5.0)
* Sets a server-side timeout for this query
* @link https://php.net/manual/en/mongocursor.maxtimems.php
* @param int $ms <p>
@ -1763,7 +1782,7 @@ class MongoGridFS extends MongoCollection {
/**
* Saves an uploaded file directly from a POST to the database
* @link https://secure.php.net/manual/en/mongogridfs.storeupload.php
* @param string $name The name attribute of the uploaded file, from <input type="file" name="something"/>.
* @param string $name The name attribute of the uploaded file, from <code>&#x3C;input type=&#x22;file&#x22; name=&#x22;something&#x22;/&#x3E;</code>
* @param array $metadata An array of extra fields for the uploaded file.
* @return mixed Returns the _id of the uploaded file.
*/

View File

@ -1856,12 +1856,10 @@ function mysqli_get_host_info (mysqli $mysql): string {}
* Return information about open and cached links
* @link https://php.net/manual/en/function.mysqli-get-links-stats.php
* @return array mysqli_get_links_stats() returns an associative array with three elements, keyed as follows:
* <p>
* <dl>
* <dt>
* <code>total</code></dt>
* <dd>
*
* <p>
* An integer indicating the total number of open links in
* any state.
@ -1870,9 +1868,7 @@ function mysqli_get_host_info (mysqli $mysql): string {}
*
* <dt>
* <code>active_plinks</code></dt>
*
* <dd>
*
* <p>
* An integer representing the number of active persistent
* connections.
@ -1881,9 +1877,7 @@ function mysqli_get_host_info (mysqli $mysql): string {}
*
* <dt>
* <code>cached_plinks</code></dt>
*
* <dd>
*
* <p>
* An integer representing the number of inactive persistent
* connections.
@ -1891,7 +1885,6 @@ function mysqli_get_host_info (mysqli $mysql): string {}
* </dd>
*
* </dl>
* </p>
* @since 5.6
*/
function mysqli_get_links_stats(): array {}
@ -2833,50 +2826,36 @@ define ('MYSQLI_NUM', 2);
define ('MYSQLI_BOTH', 3);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH', 0);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_STMT_ATTR_CURSOR_TYPE', 1);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_CURSOR_TYPE_NO_CURSOR', 0);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_CURSOR_TYPE_READ_ONLY', 1);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_CURSOR_TYPE_FOR_UPDATE', 2);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_CURSOR_TYPE_SCROLLABLE', 4);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_STMT_ATTR_PREFETCH_ROWS', 2);
@ -3224,8 +3203,6 @@ define ('MYSQLI_TYPE_NEWDECIMAL', 246);
define ('MYSQLI_TYPE_BIT', 16);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_SET_CHARSET_NAME', 7);
@ -3295,71 +3272,51 @@ define ('MYSQLI_REPORT_OFF', 0);
define ('MYSQLI_DEBUG_TRACE_ENABLED', 0);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED', 16);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_SERVER_QUERY_NO_INDEX_USED', 32);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_GRANT', 1);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_LOG', 2);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_TABLES', 4);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_HOSTS', 8);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_STATUS', 16);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_THREADS', 32);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_SLAVE', 64);
/**
* <p>
* </p>
* @link https://php.net/manual/en/mysqli.constants.php
*/
define ('MYSQLI_REFRESH_MASTER', 128);

View File

@ -177,7 +177,6 @@ function ncurses_beep () {}
* @link https://php.net/manual/en/function.ncurses-can-change-color.php
* @return bool Return true if the terminal has color capabilities and you can change
* the colors, false otherwise.
* </p>
*/
function ncurses_can_change_color () {}
@ -285,7 +284,6 @@ function ncurses_werase ($window) {}
* Returns current erase character
* @link https://php.net/manual/en/function.ncurses-erasechar.php
* @return string The current erase char, as a string.
* </p>
*/
function ncurses_erasechar () {}
@ -1110,7 +1108,6 @@ function ncurses_keyok ($keycode, $enable) {}
* @link https://php.net/manual/en/function.ncurses-termname.php
* @return string|null the shortname of the terminal, truncated to 14 characters.
* On errors, returns null.
* </p>
*/
function ncurses_termname () {}
@ -1119,7 +1116,6 @@ function ncurses_termname () {}
* @link https://php.net/manual/en/function.ncurses-longname.php
* @return string|null the description, as a string truncated to 128 characters.
* On errors, returns null.
* </p>
*/
function ncurses_longname () {}
@ -1162,7 +1158,8 @@ function ncurses_getmouse (array &$mevent) {}
* @link https://php.net/manual/en/function.ncurses-ungetmouse.php
* @param array $mevent <p>
* An associative array specifying the event options:
* <p>"id" : Id to distinguish multiple devices</p>
* <b>"id"</b> : Id to distinguish multiple devices
* </p>
* @return bool false on success, true otherwise.
*/
function ncurses_ungetmouse (array $mevent) {}

View File

@ -399,7 +399,7 @@ function oci_unregister_taf_callback($connection) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Associates a PHP variable with a column for query fetches
* @link https://php.net/manual/en/function.oci-define-by-name.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -468,6 +468,7 @@ function oci_define_by_name ($statement, $column_name, &$variable, $type = SQLT_
* </p>
* <p>
* Possible values for <i>type</i> are:
* </p>
* <p>
* <b>SQLT_BFILEE</b> or <b>OCI_B_BFILE</b>
* - for BFILEs;
@ -502,7 +503,6 @@ function oci_bind_by_name ($statement, $bv_name, &$variable, $maxlength = -1, $t
* available types below:
* </p>
* <p>
* <p>
* <b>SQLT_NUM</b> - for arrays of NUMBER.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -691,7 +691,7 @@ function oci_cancel ($statement) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Fetches the next row from a query into internal buffers
* @link https://php.net/manual/en/function.oci-fetch.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -704,11 +704,11 @@ function oci_fetch ($statement) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Returns the next row from a query as an object
* @link https://php.net/manual/en/function.oci-fetch-object.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
* @return object|false An object. Each attribute of the object corresponds to a
* @return object|false <p>An object. Each attribute of the object corresponds to a
* column of the row. If there are no more rows in
* the <i>statement</i> then <b>FALSE</b> is returned.
* </p>
@ -732,6 +732,7 @@ function oci_fetch ($statement) {}
* <p>
* Attribute values will be <b>NULL</b> for any NULL
* data fields.
* </p>
*/
function oci_fetch_object ($statement) {}
@ -739,7 +740,7 @@ function oci_fetch_object ($statement) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Returns the next row from a query as a numeric array
* @link https://php.net/manual/en/function.oci-fetch-row.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -752,7 +753,7 @@ function oci_fetch_row ($statement) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Returns the next row from a query as an associative array
* @link https://php.net/manual/en/function.oci-fetch-assoc.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -765,7 +766,7 @@ function oci_fetch_assoc ($statement) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Returns the next row from a query as an associative or numeric array
* @link https://php.net/manual/en/function.oci-fetch-array.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -817,7 +818,7 @@ function oci_fetch_assoc ($statement) {}
* Use the addition operator &#x00022;+&#x00022; to specify more than
* one mode at a time.
* </p>
* @return array|false An array with associative and/or numeric indices. If there
* @return array|false <p>An array with associative and/or numeric indices. If there
* are no more rows in the <i>statement</i> then
* <b>FALSE</b> is returned.
* </p>
@ -844,6 +845,7 @@ function oci_fetch_assoc ($statement) {}
* use <b>OCI_NUM</b> or add a column alias to the query
* to ensure name uniqueness, see example #7. Otherwise only one
* column will be returned via PHP.
* </p>
*/
function oci_fetch_array ($statement, $mode = null) {}
@ -864,7 +866,7 @@ function ocifetchinto ($statement_resource, &$result, $mode = null) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Fetches multiple rows from a query into a two-dimensional array
* @link https://php.net/manual/en/function.oci-fetch-all.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -1168,19 +1170,21 @@ function oci_close ($connection) {}
* @param string $password <p>
* The password for <i>username</i>.
* </p>
* @param string $connection_string [optional] Contains
* @param string $connection_string [optional] <p>Contains
* the Oracle instance to connect to. It can be
* an Easy Connect
* string, or a Connect Name from
* the tnsnames.ora file, or the name of a local
* Oracle instance.
* </p>
* <p>
* If not specified, PHP uses
* environment variables such as <b>TWO_TASK</b> (on Linux)
* or <b>LOCAL</b> (on Windows)
* and <b>ORACLE_SID</b> to determine the
* Oracle instance to connect to.
* </p>
* <p>
* To use the Easy Connect naming method, PHP must be linked with Oracle
* 10g or greater Client libraries. The Easy Connect string for Oracle
* 10g is of the form:
@ -1191,6 +1195,7 @@ function oci_close ($connection) {}
* utility lsnrctl status on the database server
* machine.
* </p>
* <p>
* The tnsnames.ora file can be in the Oracle Net
* search path, which
* includes $ORACLE_HOME/network/admin
@ -1199,20 +1204,23 @@ function oci_close ($connection) {}
* that $TNS_ADMIN/tnsnames.ora is read. Make sure
* the web daemon has read access to the file.
* </p>
* @param string $character_set [optional] Determines
* @param string $character_set [optional] <p>Determines
* the character set used by the Oracle Client libraries. The character
* set does not need to match the character set used by the database. If
* it doesn't match, Oracle will do its best to convert data to and from
* the database character set. Depending on the character sets this may
* not give usable results. Conversion also adds some time overhead.
* </p>
* <p>
* If not specified, the
* Oracle Client libraries determine a character set from
* the <b>NLS_LANG</b> environment variable.
* </p>
* <p>
* Passing this parameter can
* reduce the time taken to connect.
* </p>
* <p>
* @param int $session_mode [optional] This
* parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the
* following values: <b>OCI_DEFAULT</b>,
@ -1224,6 +1232,7 @@ function oci_close ($connection) {}
* need to set oci8.privileged_connect
* to On.
* </p>
* <p>
* PHP 5.3 (PECL OCI8 1.3.4) introduced the
* <b>OCI_CRED_EXT</b> mode value. This tells Oracle to use
* External or OS authentication, which must be configured in the
@ -1232,10 +1241,12 @@ function oci_close ($connection) {}
* oci8.privileged_connect
* may be On or Off.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> may be combined with the
* <b>OCI_SYSOPER</b> or
* <b>OCI_SYSDBA</b> modes.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> is not supported on Windows for
* security reasons.
* </p>
@ -1253,19 +1264,21 @@ function oci_connect ($username, $password, $connection_string = null, $characte
* @param string $password <p>
* The password for <i>username</i>.
* </p>
* @param string $connection_string [optional] Contains
* @param string $connection_string [optional] <p>Contains
* the Oracle instance to connect to. It can be
* an Easy Connect
* string, or a Connect Name from
* the tnsnames.ora file, or the name of a local
* Oracle instance.
* </p>
* <p>
* If not specified, PHP uses
* environment variables such as <b>TWO_TASK</b> (on Linux)
* or <b>LOCAL</b> (on Windows)
* and <b>ORACLE_SID</b> to determine the
* Oracle instance to connect to.
* </p>
* <p>
* To use the Easy Connect naming method, PHP must be linked with Oracle
* 10g or greater Client libraries. The Easy Connect string for Oracle
* 10g is of the form:
@ -1276,6 +1289,7 @@ function oci_connect ($username, $password, $connection_string = null, $characte
* utility lsnrctl status on the database server
* machine.
* </p>
* <p>
* The tnsnames.ora file can be in the Oracle Net
* search path, which
* includes $ORACLE_HOME/network/admin
@ -1284,21 +1298,23 @@ function oci_connect ($username, $password, $connection_string = null, $characte
* that $TNS_ADMIN/tnsnames.ora is read. Make sure
* the web daemon has read access to the file.
* </p>
* @param string $character_set [optional] Determines
* @param string $character_set [optional] <p>Determines
* the character set used by the Oracle Client libraries. The character
* set does not need to match the character set used by the database. If
* it doesn't match, Oracle will do its best to convert data to and from
* the database character set. Depending on the character sets this may
* not give usable results. Conversion also adds some time overhead.
* </p>
* <p>
* If not specified, the
* Oracle Client libraries determine a character set from
* the <b>NLS_LANG</b> environment variable.
* </p>
* <p>
* Passing this parameter can
* reduce the time taken to connect.
* </p>
* @param int $session_mode [optional] This
* @param int $session_mode [optional] <p>This
* parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the
* following values: <b>OCI_DEFAULT</b>,
* <b>OCI_SYSOPER</b> and <b>OCI_SYSDBA</b>.
@ -1309,6 +1325,7 @@ function oci_connect ($username, $password, $connection_string = null, $characte
* need to set oci8.privileged_connect
* to On.
* </p>
* <p>
* PHP 5.3 (PECL OCI8 1.3.4) introduced the
* <b>OCI_CRED_EXT</b> mode value. This tells Oracle to use
* External or OS authentication, which must be configured in the
@ -1317,10 +1334,12 @@ function oci_connect ($username, $password, $connection_string = null, $characte
* oci8.privileged_connect
* may be On or Off.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> may be combined with the
* <b>OCI_SYSOPER</b> or
* <b>OCI_SYSDBA</b> modes.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> is not supported on Windows for
* security reasons.
* </p>
@ -1338,19 +1357,21 @@ function oci_new_connect ($username, $password, $connection_string = null, $char
* @param string $password <p>
* The password for <i>username</i>.
* </p>
* @param string $connection_string [optional] Contains
* @param string $connection_string [optional] <p>Contains
* the Oracle instance to connect to. It can be
* an Easy Connect
* string, or a Connect Name from
* the tnsnames.ora file, or the name of a local
* Oracle instance.
* </p>
* <p>
* If not specified, PHP uses
* environment variables such as <b>TWO_TASK</b> (on Linux)
* or <b>LOCAL</b> (on Windows)
* and <b>ORACLE_SID</b> to determine the
* Oracle instance to connect to.
* </p>
* <p>
* To use the Easy Connect naming method, PHP must be linked with Oracle
* 10g or greater Client libraries. The Easy Connect string for Oracle
* 10g is of the form:
@ -1361,6 +1382,7 @@ function oci_new_connect ($username, $password, $connection_string = null, $char
* utility lsnrctl status on the database server
* machine.
* </p>
* <p>
* The tnsnames.ora file can be in the Oracle Net
* search path, which
* includes $ORACLE_HOME/network/admin
@ -1369,21 +1391,23 @@ function oci_new_connect ($username, $password, $connection_string = null, $char
* that $TNS_ADMIN/tnsnames.ora is read. Make sure
* the web daemon has read access to the file.
* </p>
* @param string $character_set [optional] Determines
* @param string $character_set [optional] <p>Determines
* the character set used by the Oracle Client libraries. The character
* set does not need to match the character set used by the database. If
* it doesn't match, Oracle will do its best to convert data to and from
* the database character set. Depending on the character sets this may
* not give usable results. Conversion also adds some time overhead.
* </p>
* <p>
* If not specified, the
* Oracle Client libraries determine a character set from
* the <b>NLS_LANG</b> environment variable.
* </p>
* <p>
* Passing this parameter can
* reduce the time taken to connect.
* </p>
* @param int $session_mode [optional] This
* @param int $session_mode [optional] <p>This
* parameter is available since version PHP 5 (PECL OCI8 1.1) and accepts the
* following values: <b>OCI_DEFAULT</b>,
* <b>OCI_SYSOPER</b> and <b>OCI_SYSDBA</b>.
@ -1394,6 +1418,7 @@ function oci_new_connect ($username, $password, $connection_string = null, $char
* need to set oci8.privileged_connect
* to On.
* </p>
* <p>
* PHP 5.3 (PECL OCI8 1.3.4) introduced the
* <b>OCI_CRED_EXT</b> mode value. This tells Oracle to use
* External or OS authentication, which must be configured in the
@ -1402,10 +1427,12 @@ function oci_new_connect ($username, $password, $connection_string = null, $char
* oci8.privileged_connect
* may be On or Off.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> may be combined with the
* <b>OCI_SYSOPER</b> or
* <b>OCI_SYSDBA</b> modes.
* </p>
* <p>
* <b>OCI_CRED_EXT</b> is not supported on Windows for
* security reasons.
* </p>
@ -1556,7 +1583,7 @@ function oci_new_descriptor ($connection, $type = OCI_DTYPE_LOB) {}
* (PHP 5, PECL OCI8 &gt;= 1.1.0)<br/>
* Sets number of rows to be prefetched by queries
* @link https://php.net/manual/en/function.oci-set-prefetch.php
* @param resource $statement A valid OCI8 statement
* @param resource $statement <p>A valid OCI8 statement
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
@ -1571,7 +1598,7 @@ function oci_set_prefetch ($statement, $rows) {}
* (PHP 5.3.2, PECL OCI8 &gt;= 1.4.0)<br/>
* Sets the client identifier
* @link https://php.net/manual/en/function.oci-set-client-identifier.php
* @param resource $connection An Oracle connection identifier,
* @param resource $connection <p>An Oracle connection identifier,
* returned by {@see oci_connect}, {@see oci_pconnect},
* or {@see oci_new_connect}.</p>
* @param string $client_identifier <p>
@ -1597,7 +1624,7 @@ function oci_set_edition ($edition) {}
* (PHP 5.3.2, PECL OCI8 &gt;= 1.4.0)<br/>
* Sets the module name
* @link https://php.net/manual/en/function.oci-set-module-name.php
* @param resource $connection An Oracle connection identifier,
* @param resource $connection <p>An Oracle connection identifier,
* returned by {@see oci_connect}, {@see oci_pconnect},
* or {@see oci_new_connect}.</p>
* @param string $module_name <p>
@ -1611,7 +1638,7 @@ function oci_set_module_name ($connection, $module_name) {}
* (PHP 5.3.2, PECL OCI8 &gt;= 1.4.0)<br/>
* Sets the action name
* @link https://php.net/manual/en/function.oci-set-action.php
* @param resource $connection An Oracle connection identifier,
* @param resource $connection <p>An Oracle connection identifier,
* returned by {@see oci_connect}, {@see oci_pconnect},
* or {@see oci_new_connect}.</p>
* @param string $action_name <p>
@ -1625,7 +1652,7 @@ function oci_set_action ($connection, $action_name) {}
* (PHP 5.3.2, PECL OCI8 &gt;= 1.4.0)<br/>
* Sets the client information
* @link https://php.net/manual/en/function.oci-set-client-info.php
* @param resource $connection An Oracle connection identifier,
* @param resource $connection <p>An Oracle connection identifier,
* returned by {@see oci_connect}, {@see oci_pconnect},
* or {@see oci_new_connect}.</p>
* @param string $client_info <p>
@ -2041,6 +2068,7 @@ function ociloadlob ($lob_descriptor) {}
* {@see oci_connect()},
* {@see oci_pconnect()}, or
* {@see oci_new_connect()}.
* </p>
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
function ocicommit ($connection_resource) {}
@ -2139,7 +2167,7 @@ function ocicollappend ($collection, $value) {}
* @link https://php.net/manual/en/function.ocicollgetelem.php
* @param OCI_Collection $collection
* @param int $index <p>The element index. First index is 0.</p>
* @return mixed <p>Returns <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>; string if element is column of a string datatype or number if element is numeric field.
* @return mixed <p>Returns <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>; string if element is column of a string datatype or number if element is numeric field.</p>
*/
function ocicollgetelem ($collection, $index) {}
@ -2171,7 +2199,7 @@ function ocicollsize ($collection) {}
* @link https://php.net/manual/en/function.ocicollmax.php
* @param OCI_Collection $collection
* @return int|false <p> Returns the maximum number as an integer, or <b>FALSE</b> on errors.
* If the returned value is 0, then the number of elements is not limited.
* If the returned value is 0, then the number of elements is not limited.</p>
*/
function ocicollmax ($collection) {}

View File

@ -6,7 +6,7 @@ use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
/**
* Toggle autocommit behaviour
* @link https://php.net/manual/en/function.odbc-autocommit.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param bool $OnOff [optional] <p>
* If <i>OnOff</i> is <b>TRUE</b>, auto-commit is enabled, if
@ -16,10 +16,10 @@ use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
* auto-commit status for <i>connection_id</i>. Non-zero is
* returned if auto-commit is on, 0 if it is off, or <b>FALSE</b> if an error
* occurs.
* </p>
* <p>
* If <i>OnOff</i> is set, this function returns <b>TRUE</b> on
* success and <b>FALSE</b> on failure.
* </p>
*/
function odbc_autocommit ($connection_id, $OnOff = false) {}
@ -40,6 +40,7 @@ function odbc_autocommit ($connection_id, $OnOff = false) {}
* @param int $mode <p>
* Possible values for <i>mode</i> are:
* <b>ODBC_BINMODE_PASSTHRU</b>: Passthru BINARY data
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function odbc_binmode ($result_id, $mode) {}
@ -47,7 +48,7 @@ function odbc_binmode ($result_id, $mode) {}
/**
* Close an ODBC connection
* @link https://php.net/manual/en/function.odbc-close.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return void No value is returned.
*/
@ -63,7 +64,7 @@ function odbc_close_all () {}
/**
* Lists the column names in specified tables
* @link https://php.net/manual/en/function.odbc-columns.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier [optional] <p>
* The qualifier.
@ -103,7 +104,7 @@ function odbc_columns ($connection_id, $qualifier = null, $schema = null, $table
/**
* Commit an ODBC transaction
* @link https://php.net/manual/en/function.odbc-commit.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
@ -127,9 +128,10 @@ function odbc_commit ($connection_id) {}
* for this connection. This parameter is not normally needed, but
* can be useful for working around problems with some ODBC drivers.
* </p>
* The following constants are defined for cursortype:
* <p>
* The following constants are defined for cursortype:
* SQL_CUR_USE_IF_NEEDED
* </p>
* @return resource|false an ODBC connection or (<b>FALSE</b>) on error.
*/
function odbc_connect ($dsn, $user, $password, $cursor_type = null) {}
@ -147,7 +149,7 @@ function odbc_cursor ($result_id) {}
/**
* Returns information about a current connection
* @link https://php.net/manual/en/function.odbc-data-source.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param int $fetch_type <p>
* The <i>fetch_type</i> can be one of two constant types:
@ -190,30 +192,30 @@ function odbc_execute ($result_id, array $parameters_array = null) {}
/**
* Get the last error code
* @link https://php.net/manual/en/function.odbc-error.php
* @param resource $connection_id [optional] The ODBC connection identifier,
* @param resource $connection_id [optional] <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return string If <i>connection_id</i> is specified, the last state
* of that connection is returned, else the last state of any connection
* is returned.
* </p>
* <p>
* This function returns meaningful value only if last odbc query failed
* (i.e. <b>odbc_exec</b> returned <b>FALSE</b>).
* </p>
*/
function odbc_error ($connection_id = null) {}
/**
* Get the last error message
* @link https://php.net/manual/en/function.odbc-errormsg.php
* @param resource $connection_id [optional] The ODBC connection identifier,
* @param resource $connection_id [optional] <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return string If <i>connection_id</i> is specified, the last state
* of that connection is returned, else the last state of any connection
* is returned.
* </p>
* <p>
* This function returns meaningful value only if last odbc query failed
* (i.e. <b>odbc_exec</b> returned <b>FALSE</b>).
* </p>
*/
function odbc_errormsg ($connection_id = null) {}
@ -221,7 +223,7 @@ function odbc_errormsg ($connection_id = null) {}
/**
* Prepare and execute an SQL statement
* @link https://php.net/manual/en/function.odbc-exec.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $query_string <p>
* The SQL statement.
@ -238,7 +240,7 @@ function odbc_exec ($connection_id, $query_string, $flags = null) {}
/**
* Prepare and execute an SQL statement
* @link https://php.net/manual/en/function.odbc-exec.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $query_string <p>
* The SQL statement.
@ -402,7 +404,7 @@ function odbc_free_result ($result_id) {}
/**
* Retrieves information about data types supported by the data source
* @link https://php.net/manual/en/function.odbc-gettypeinfo.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param int $data_type [optional] <p>
* The data type, which can be used to restrict the information to a
@ -410,7 +412,6 @@ function odbc_free_result ($result_id) {}
* </p>
* @return resource|false an ODBC result identifier or
* <b>FALSE</b> on failure.
* </p>
* <p>
* The result set has the following columns:
* TYPE_NAME
@ -431,6 +432,7 @@ function odbc_free_result ($result_id) {}
* </p>
* <p>
* The result set is ordered by DATA_TYPE and TYPE_NAME.
* </p>
*/
function odbc_gettypeinfo ($connection_id, $data_type = null) {}
@ -495,7 +497,7 @@ function odbc_pconnect ($dsn, $user, $password, $cursor_type = null) {}
/**
* Prepares a statement for execution
* @link https://php.net/manual/en/function.odbc-prepare.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $query_string <p>
* The query string statement being prepared.
@ -537,7 +539,7 @@ function odbc_result_all ($result_id, $format = null) {}
/**
* Rollback a transaction
* @link https://php.net/manual/en/function.odbc-rollback.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
@ -569,7 +571,7 @@ function odbc_setoption ($id, $function, $option, $param) {}
/**
* Retrieves special columns
* @link https://php.net/manual/en/function.odbc-specialcolumns.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param int $type When the type argument is <b>SQL_BEST_ROWID</b>,
* <b>odbc_specialcolumns</b> returns the
@ -595,7 +597,6 @@ function odbc_setoption ($id, $function, $option, $param) {}
* </p>
* @return resource|false an ODBC result identifier or <b>FALSE</b> on
* failure.
* </p>
* <p>
* The result set has the following columns:
* SCOPE
@ -606,13 +607,14 @@ function odbc_setoption ($id, $function, $option, $param) {}
* LENGTH
* SCALE
* PSEUDO_COLUMN
* </p>
*/
function odbc_specialcolumns ($connection_id, $type, $qualifier, $owner, $table, $scope, $nullable) {}
/**
* Retrieve statistics about a table
* @link https://php.net/manual/en/function.odbc-statistics.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier <p>
* The qualifier.
@ -652,7 +654,7 @@ function odbc_statistics ($connection_id, $qualifier, $owner, $table_name, $uniq
/**
* Get the list of table names stored in a specific data source
* @link https://php.net/manual/en/function.odbc-tables.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier [optional] <p>
* The qualifier.
@ -676,7 +678,6 @@ function odbc_statistics ($connection_id, $qualifier, $owner, $table_name, $uniq
* </p>
* @return resource|false an ODBC result identifier containing the information
* or <b>FALSE</b> on failure.
* </p>
* <p>
* The result set has the following columns:
* TABLE_QUALIFIER
@ -684,13 +685,14 @@ function odbc_statistics ($connection_id, $qualifier, $owner, $table_name, $uniq
* TABLE_NAME
* TABLE_TYPE
* REMARKS
* </p>
*/
function odbc_tables ($connection_id, $qualifier = null, $owner = null, $name = null, $types = null) {}
/**
* Gets the primary keys for a table
* @link https://php.net/manual/en/function.odbc-primarykeys.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier
* @param string $owner
@ -711,7 +713,7 @@ function odbc_primarykeys ($connection_id, $qualifier, $owner, $table) {}
/**
* Lists columns and associated privileges for the given table
* @link https://php.net/manual/en/function.odbc-columnprivileges.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier <p>
* The qualifier.
@ -730,7 +732,6 @@ function odbc_primarykeys ($connection_id, $qualifier, $owner, $table) {}
* @return resource|false an ODBC result identifier or <b>FALSE</b> on failure.
* This result identifier can be used to fetch a list of columns and
* associated privileges.
* </p>
* <p>
* The result set has the following columns:
* TABLE_QUALIFIER
@ -744,13 +745,14 @@ function odbc_primarykeys ($connection_id, $qualifier, $owner, $table) {}
* <p>
* The result set is ordered by TABLE_QUALIFIER, TABLE_OWNER and
* TABLE_NAME.
* </p>
*/
function odbc_columnprivileges ($connection_id, $qualifier, $owner, $table_name, $column_name) {}
/**
* Lists tables and the privileges associated with each table
* @link https://php.net/manual/en/function.odbc-tableprivileges.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $qualifier <p>
* The qualifier.
@ -780,7 +782,7 @@ function odbc_tableprivileges ($connection_id, $qualifier, $owner, $name) {}
/**
* Retrieves a list of foreign keys
* @link https://php.net/manual/en/function.odbc-foreignkeys.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @param string $pk_qualifier <p>
* The primary key qualifier.
@ -817,6 +819,7 @@ function odbc_tableprivileges ($connection_id, $qualifier, $owner, $name) {}
* FK_NAME
* PK_NAME
* </p>
* <p>
* If <i>pk_table</i> contains a table name,
* <b>odbc_foreignkeys</b> returns a result set
* containing the primary key of the specified table and all of the
@ -830,7 +833,7 @@ function odbc_tableprivileges ($connection_id, $qualifier, $owner, $name) {}
* <b>odbc_foreignkeys</b> returns the foreign keys in
* the table specified in <i>fk_table</i> that refer
* to the primary key of the table specified in
* <i>pk_table
* <i>pk_table</i>
* </p>
*/
function odbc_foreignkeys ($connection_id, $pk_qualifier, $pk_owner, $pk_table, $fk_qualifier, $fk_owner, $fk_table) {}
@ -838,9 +841,9 @@ function odbc_foreignkeys ($connection_id, $pk_qualifier, $pk_owner, $pk_table,
/**
* Get the list of procedures stored in a specific data source
* @link https://php.net/manual/en/function.odbc-procedures.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return resource|false an ODBC
* @return resource|false <p>an ODBC
* result identifier containing the information or <b>FALSE</b> on failure.
* </p>
* <p>
@ -853,15 +856,16 @@ function odbc_foreignkeys ($connection_id, $pk_qualifier, $pk_owner, $pk_table,
* NUM_RESULT_SETS
* REMARKS
* PROCEDURE_TYPE
* </p>
*/
function odbc_procedures ($connection_id) {}
/**
* Retrieve information about parameters to procedures
* @link https://php.net/manual/en/function.odbc-procedurecolumns.php
* @param resource $connection_id The ODBC connection identifier,
* @param resource $connection_id <p>The ODBC connection identifier,
* see <b>odbc_connect</b> for details.</p>
* @return resource|false the list of input and output parameters, as well as the
* @return resource|false <p>the list of input and output parameters, as well as the
* columns that make up the result set for the specified procedures.
* Returns an ODBC result identifier or <b>FALSE</b> on failure.
* </p>
@ -880,6 +884,7 @@ function odbc_procedures ($connection_id) {}
* RADIX
* NULLABLE
* REMARKS
* </p>
*/
function odbc_procedurecolumns ($connection_id) {}

View File

@ -105,7 +105,6 @@ function openssl_pkey_get_private($private_key, ?string $passphrase = "")
* <li>a string having the format
* <var>file://path/to/file.pem</var>. The named file must
* contain a PEM encoded certificate/public key (it may contain both).
* </span>
* </li>
* <li>A PEM formatted public key.</li>
* </ol></p>
@ -179,10 +178,9 @@ function openssl_get_privatekey($private_key, ?string $passphrase)
* <li>a string having the format
* <var>file://path/to/file.pem</var>. The named file must
* contain a PEM encoded certificate/public key (it may contain both).
* </span>
* </li>
* <li>A PEM formatted public key.</li>
* </ol> </p>
* </ol></p>
* @return OpenSSLAsymmetricKey|false a positive key resource identifier on success, or FALSE on error.
*/
#[LanguageLevelTypeAware(["8.0" => "OpenSSLAsymmetricKey|false"], default: "resource|false")]
@ -452,104 +450,6 @@ function openssl_pkcs12_export_to_file(#[LanguageLevelTypeAware(["8.0" => "OpenS
function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase): bool
{ }
#[PhpStormStubsElementAvailable(to: '7.4')]
/**
* Generates a CSR
* @link https://php.net/manual/en/function.openssl-csr-new.php
* @param array $distinguished_names <p>
* The Distinguished Name to be used in the certificate.
* </p>
* @param resource &$private_key <p>
* <i>privkey</i> should be set to a private key that was
* previously generated by <b>openssl_pkey_new</b> (or
* otherwise obtained from the other openssl_pkey family of functions).
* The corresponding public portion of the key will be used to sign the
* CSR.
* </p>
* @param array|null $options [optional] <p>
* By default, the information in your system openssl.conf
* is used to initialize the request; you can specify a configuration file
* section by setting the config_section_section key of
* <i>configargs</i>. You can also specify an alternative
* openssl configuration file by setting the value of the
* config key to the path of the file you want to use.
* The following keys, if present in <i>configargs</i>
* behave as their equivalents in the openssl.conf, as
* listed in the table below.
* <table>
* Configuration overrides
* <tr valign="top">
* <td><i>configargs</i> key</td>
* <td>type</td>
* <td>openssl.conf equivalent</td>
* <td>description</td>
* </tr>
* <tr valign="top">
* <td>digest_alg</td>
* <td>string</td>
* <td>default_md</td>
* <td>Selects which digest method to use</td>
* </tr>
* <tr valign="top">
* <td>x509_extensions</td>
* <td>string</td>
* <td>x509_extensions</td>
* <td>Selects which extensions should be used when creating an x509
* certificate</td>
* </tr>
* <tr valign="top">
* <td>req_extensions</td>
* <td>string</td>
* <td>req_extensions</td>
* <td>Selects which extensions should be used when creating a CSR</td>
* </tr>
* <tr valign="top">
* <td>private_key_bits</td>
* <td>integer</td>
* <td>default_bits</td>
* <td>Specifies how many bits should be used to generate a private
* key</td>
* </tr>
* <tr valign="top">
* <td>private_key_type</td>
* <td>integer</td>
* <td>none</td>
* <td>Specifies the type of private key to create. This can be one
* of <b>OPENSSL_KEYTYPE_DSA</b>,
* <b>OPENSSL_KEYTYPE_DH</b> or
* <b>OPENSSL_KEYTYPE_RSA</b>.
* The default value is <b>OPENSSL_KEYTYPE_RSA</b> which
* is currently the only supported key type.
* </td>
* </tr>
* <tr valign="top">
* <td>encrypt_key</td>
* <td>boolean</td>
* <td>encrypt_key</td>
* <td>Should an exported key (with passphrase) be encrypted?</td>
* </tr>
* <tr valign="top">
* <td>encrypt_key_cipher</td>
* <td>integer</td>
* <td>none</td>
* <td>
* One of cipher constants.
* </td>
* </tr>
* </table>
* </p>
* @param array|null $extra_attributes [optional] <p>
* <i>extraattribs</i> is used to specify additional
* configuration options for the CSR. Both <i>dn</i> and
* <i>extraattribs</i> are associative arrays whose keys are
* converted to OIDs and applied to the relevant part of the request.
* </p>
* @return false|resource the CSR.
*/
function openssl_csr_new(array $distinguished_names, &$private_key, ?array $options, ?array $extra_attributes)
{ }
#[PhpStormStubsElementAvailable('8.0')]
/**
* Generates a CSR
* @link https://php.net/manual/en/function.openssl-csr-new.php
@ -641,9 +541,10 @@ function openssl_csr_new(array $distinguished_names, &$private_key, ?array $opti
* <i>extraattribs</i> are associative arrays whose keys are
* converted to OIDs and applied to the relevant part of the request.
* </p>
* @return OpenSSLCertificateSigningRequest|false the CSR.
* @return OpenSSLCertificateSigningRequest|resource|false the CSR.
*/
function openssl_csr_new(array $distinguished_names, &$private_key, ?array $options, ?array $extra_attributes): OpenSSLCertificateSigningRequest|false
#[LanguageLevelTypeAware(["8.0" => "OpenSSLCertificateSigningRequest|false"], default: "resource|false")]
function openssl_csr_new(array $distinguished_names, &$private_key, ?array $options, ?array $extra_attributes)
{ }
/**

View File

@ -166,7 +166,7 @@ function pcntl_wait (&$status, int $flags = 0, &$resource_usage): int
* void<b>handler</b>
* <b>int<i>signo</i></b>
* <i>signo</i>
* The signal being handled.
* The signal being handled.</p>
* @param bool $restart_syscalls [optional] <p>
* Specifies whether system call restarting should be used when this
* signal arrives.
@ -187,7 +187,7 @@ function pcntl_signal_dispatch (): bool
/**
* Checks if status code represents a normal exit
* @link https://php.net/manual/en/function.pcntl-wifexited.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child status code represents a normal exit, <b>FALSE</b>
@ -200,7 +200,7 @@ function pcntl_wifexited (int $status): bool
/**
* Checks whether the child process is currently stopped
* @link https://php.net/manual/en/function.pcntl-wifstopped.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child process which caused the return is
@ -213,7 +213,7 @@ function pcntl_wifstopped (int $status): bool
/**
* Checks whether the status code represents a termination due to a signal
* @link https://php.net/manual/en/function.pcntl-wifsignaled.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child process exited because of a signal which was
@ -226,7 +226,7 @@ function pcntl_wifsignaled (int $status): bool
/**
* Returns the return code of a terminated child
* @link https://php.net/manual/en/function.pcntl-wexitstatus.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int|false the return code, as an integer.
@ -246,7 +246,7 @@ function pcntl_wifcontinued (int $status): bool
/**
* Returns the signal which caused the child to terminate
* @link https://php.net/manual/en/function.pcntl-wtermsig.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int|false the signal number, as an integer.
@ -258,7 +258,7 @@ function pcntl_wtermsig (int $status): int|false
/**
* Returns the signal which caused the child to stop
* @link https://php.net/manual/en/function.pcntl-wstopsig.php
* @param int $status The <i>status</i>
* @param int $status <p>The <i>status</i>
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int|false the signal number.

View File

@ -31,7 +31,7 @@
* The mode parameter is the mode in which spellchecker will work.
* There are several modes available:
* <b>PSPELL_FAST</b> - Fast mode (least number of
* suggestions)
* suggestions)</p>
* @return int|false the dictionary link identifier on success or <b>FALSE</b> on failure.
*/
function pspell_new ($language, $spelling = null, $jargon = null, $encoding = null, $mode = 0) {}
@ -68,7 +68,7 @@ function pspell_new ($language, $spelling = null, $jargon = null, $encoding = nu
* @param int $mode [optional] <p>
* The mode in which spellchecker will work. There are several modes available:
* <b>PSPELL_FAST</b> - Fast mode (least number of
* suggestions)
* suggestions)</p>
* @return int the dictionary link identifier for use in other pspell functions.
*/
function pspell_new_personal ($personal, $language, $spelling = null, $jargon = null, $encoding = null, $mode = 0) {}
@ -213,7 +213,7 @@ function pspell_config_runtogether ($dictionary_link, $flag) {}
* The mode parameter is the mode in which spellchecker will work.
* There are several modes available:
* <b>PSPELL_FAST</b> - Fast mode (least number of
* suggestions)
* suggestions)</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function pspell_config_mode ($dictionary_link, $mode) {}

View File

@ -4002,7 +4002,7 @@ class Redis
* @return int The number of elements added to the geospatial key
*
* @link https://redis.io/commands/geoadd
* @since >=3.2
* @since >= 3.2
*
* @example
* <pre>
@ -4029,7 +4029,7 @@ class Redis
* @return array One or more Redis Geohash encoded strings
*
* @link https://redis.io/commands/geohash
* @since >=3.2
* @since >= 3.2
*
* @example
* <pre>
@ -4056,7 +4056,7 @@ class Redis
* @return array One or more longitude/latitude positions
*
* @link https://redis.io/commands/geopos
* @since >=3.2
* @since >= 3.2
*
* @example
* <pre>
@ -4098,7 +4098,7 @@ class Redis
* @return float The distance between the two passed members in the units requested (meters by default)
*
* @link https://redis.io/commands/geodist
* @since >=3.2
* @since >= 3.2
*
* @example
* <pre>

View File

@ -235,6 +235,7 @@ function session_unset()
* Write function that is called when session data is to be saved. This
* function expects two parameters: an identifier and the data associated
* with it.
* </p>
* <p>
* The "write" handler is not executed until after the output stream is
* closed. Thus, output from debugging statements in the "write"
@ -242,7 +243,6 @@ function session_unset()
* necessary, it is suggested that the debug output be written to a
* file instead.
* </p>
* </p>
* @param callback $destroy <p>
* The destroy handler, this is executed when a session is destroyed with
* <b>session_destroy</b> and takes the session id as its
@ -267,7 +267,6 @@ function session_set_save_handler (callable $open, callable $close, callable $re
* (PHP 5.4)<br/>
* Sets user-level session storage functions
* @link https://php.net/manual/en/function.session-set-save-handler.php
* </p>
* @param SessionHandlerInterface $session_handler An instance of a class implementing SessionHandlerInterface, such as SessionHandler,
* to register as the session handler. Since PHP 5.4 only.
* @param bool $register_shutdown [optional] Register session_write_close() as a register_shutdown_function() function.

View File

@ -15,7 +15,7 @@ use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware;
* The flags that you can use:
* "a" for access (sets SHM_RDONLY for shmat)
* use this flag when you need to open an existing shared memory
* segment for read only
* segment for read only</p>
* @param int $permissions <p>
* The permissions that you wish to assign to your memory segment, those
* are the same as permission for a file. Permissions need to be passed

View File

@ -16,9 +16,9 @@ class SNMP {
/**
* @var int Controls the method how the SNMP values will be returned
* <dl>
* <dt>SNMP_VALUE_LIBRARY <dd>The return values will be as returned by the Net-SNMP library.
* <dt>SNMP_VALUE_PLAIN <dd>The return values will be the plain value without the SNMP type hint.
* <dt>SNMP_VALUE_OBJECT <dd>The return values will be objects with the properties "value" and "type", where the latter is one of the SNMP_OCTET_STR, SNMP_COUNTER etc. constants. The way "value" is returned is based on which one of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN is set
* <dt>SNMP_VALUE_LIBRARY</dt><dd>The return values will be as returned by the Net-SNMP library.</dd>
* <dt>SNMP_VALUE_PLAIN</dt><dd>The return values will be the plain value without the SNMP type hint.</dd>
* <dt>SNMP_VALUE_OBJECT</dt><dd>The return values will be objects with the properties "value" and "type", where the latter is one of the SNMP_OCTET_STR, SNMP_COUNTER etc. constants. The way "value" is returned is based on which one of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN is set</dd>
* <dl>
* @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.max-oids
*/
@ -42,12 +42,12 @@ class SNMP {
* @var int Controls OID output format
* <p>OID .1.3.6.1.2.1.1.3.0 representation for various oid_output_format values
* <dl>
* <dt>SNMP_OID_OUTPUT_FULL <dd>.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUpTimeInstance
* <dt>SNMP_OID_OUTPUT_NUMERIC <dd>.1.3.6.1.2.1.1.3.0
* <dt>SNMP_OID_OUTPUT_MODULE <dd>DISMAN-EVENT-MIB::sysUpTimeInstance
* <dt>SNMP_OID_OUTPUT_SUFFIX <dd>sysUpTimeInstance
* <dt>SNMP_OID_OUTPUT_UCD <dd>system.sysUpTime.sysUpTimeInstance
* <dt>SNMP_OID_OUTPUT_NONE <dd>Undefined
* <dt>SNMP_OID_OUTPUT_FULL</dt><dd>.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUpTimeInstance</dd>
* <dt>SNMP_OID_OUTPUT_NUMERIC</dt><dd>.1.3.6.1.2.1.1.3.0</dd>
* <dt>SNMP_OID_OUTPUT_MODULE</dt><dd>DISMAN-EVENT-MIB::sysUpTimeInstance</dd>
* <dt>SNMP_OID_OUTPUT_SUFFIX</dt><dd>sysUpTimeInstance</dd>
* <dt>SNMP_OID_OUTPUT_UCD</dt><dd>system.sysUpTime.sysUpTimeInstance</dd>
* <dt>SNMP_OID_OUTPUT_NONE</dt><dd>Undefined</dd>
* </dl>
* @link https://secure.php.net/manual/en/class.snmp.php#snmp.props.oid-output-format
*/
@ -203,8 +203,8 @@ class SNMP {
* raised when count of OIDs in object_id array is greater than max_oids.
* When count of OIDs in object_id array is greater than max_oids object property set method will have to use multiple queries to perform requested value updates. In this case type and value checks are made per-chunk so second or subsequent requests may fail due to wrong type or value for OID requested. To mark this a warning is raised when count of OIDs in object_id array is greater than max_oids.</p>
* @param mixed $type <p>The MIB defines the type of each object id. It has to be specified as a single character from the below list.</p>
* <b>types:</b>
* <table>
* <b>types</b>
* <tbody>
* <tr><td>=</td><td>The type is taken from the MIB</td></tr>
* <tr><td>i</td><td>INTEGER</td> </tr>
@ -222,8 +222,8 @@ class SNMP {
* <p>
* If <b>OPAQUE_SPECIAL_TYPES</b> was defined while compiling the SNMP library, the following are also valid:
* </p>
* <b>types:</b>
* <table>
* <b>types</b>
* <tbody>
* <tr><td>U</td><td>unsigned int64</td></tr>
* <tr><td>I</td><td>signed int64</td></tr>
@ -238,9 +238,9 @@ class SNMP {
*
* <p>
* If the MIB-Files are loaded by into the MIB Tree with "snmp_read_mib" or by specifying it in the libsnmp config, '=' may be used as
* the <i>type</code></i> parameter for all object ids as the type can then be automatically read from the MIB.
* the <i>type</i> parameter for all object ids as the type can then be automatically read from the MIB.
* </p>
*
* <p>
* Note that there are two ways to set a variable of the type BITS like e.g.
* "SYNTAX BITS {telnet(0), ftp(1), http(2), icmp(3), snmp(4), ssh(5), https(6)}":
@ -630,9 +630,10 @@ function snmp2_real_walk ($host, $community, $object_id, $timeout = 1000000, $re
* @param string $object_id <p>
* The SNMP object id.
* </p>
* @param string $type The MIB defines the type of each object id. It has to be specified as a single character from the below list.
* @param string $type <p>The MIB defines the type of each object id. It has to be specified as a single character from the below list.
* </p>
* types
* <p>types:</p>
* <table>
* <tr valign="top"><td>=</td><td>The type is taken from the MIB</td></tr>
* <tr valign="top"><td>i</td><td>INTEGER</td> </tr>
* <tr valign="top"><td>u</td><td>INTEGER</td></tr>
@ -645,17 +646,18 @@ function snmp2_real_walk ($host, $community, $object_id, $timeout = 1000000, $re
* <tr valign="top"><td>a</td><td>IPADDRESS</td></tr>
* <tr valign="top"><td>b</td><td>BITS</td></tr>
* </table>
* If <b>OPAQUE_SPECIAL_TYPES</b> was defined while compiling the SNMP library, the following are also valid:
* <p>If <b>OPAQUE_SPECIAL_TYPES</b> was defined while compiling the SNMP library, the following are also valid:
* </p>
* types
* <p>types:</p>
* <table>
* <tr valign="top"><td>U</td><td>unsigned int64</td></tr>
* <tr valign="top"><td>I</td><td>signed int64</td></tr>
* <tr valign="top"><td>F</td><td>float</td></tr>
* <tr valign="top"><td>D</td><td>double</td></tr>
* </table>
* Most of these will use the obvious corresponding ASN.1 type. &#x00027;s&#x00027;, &#x00027;x&#x00027;, &#x00027;d&#x00027; and &#x00027;b&#x00027; are all different ways of specifying an OCTET STRING value, and
* <p>Most of these will use the obvious corresponding ASN.1 type. &#x00027;s&#x00027;, &#x00027;x&#x00027;, &#x00027;d&#x00027; and &#x00027;b&#x00027; are all different ways of specifying an OCTET STRING value, and
* the &#x00027;u&#x00027; unsigned type is also used for handling Gauge32 values.
* </p>
* </p><p>
* If the MIB-Files are loaded by into the MIB Tree with "snmp_read_mib" or by specifying it in the libsnmp config, &#x00027;=&#x00027; may be used as
* the <i>type</i> parameter for all object ids as the type can then be automatically read from the MIB.
* </p>
@ -870,11 +872,11 @@ function snmp3_real_walk ($host, $sec_name, $sec_level, $auth_protocol, $auth_pa
* @param string $object_id <p>
* The SNMP object id.
* </p>
* @param string $type The MIB defines the type of each object id. It has to be specified as a single character from the below list.
* <p>
* types
* @param string $type <p>The MIB defines the type of each object id. It has to be specified as a single character from the below list.</p>
* <p>types:</p>
* <table>
* <tr valign="top"><td>=</td><td>The type is taken from the MIB</td></tr>
* <tr valign="top"><td>i</td><td>INTEGER</td> </tr>
* <tr valign="top"><td>i</td><td>INTEGER</td></tr>
* <tr valign="top"><td>u</td><td>INTEGER</td></tr>
* <tr valign="top"><td>s</td><td>STRING</td></tr>
* <tr valign="top"><td>x</td><td>HEX STRING</td></tr>
@ -885,16 +887,16 @@ function snmp3_real_walk ($host, $sec_name, $sec_level, $auth_protocol, $auth_pa
* <tr valign="top"><td>a</td><td>IPADDRESS</td></tr>
* <tr valign="top"><td>b</td><td>BITS</td></tr>
* </table>
* If <b>OPAQUE_SPECIAL_TYPES</b> was defined while compiling the SNMP library, the following are also valid:
* <p>If <b>OPAQUE_SPECIAL_TYPES</b> was defined while compiling the SNMP library, the following are also valid:
* </p>
* <p>
* types
* <p>types:</p>
* <table>
* <tr valign="top"><td>U</td><td>unsigned int64</td></tr>
* <tr valign="top"><td>I</td><td>signed int64</td></tr>
* <tr valign="top"><td>F</td><td>float</td></tr>
* <tr valign="top"><td>D</td><td>double</td></tr>
* </table>
* Most of these will use the obvious corresponding ASN.1 type. &#x00027;s&#x00027;, &#x00027;x&#x00027;, &#x00027;d&#x00027; and &#x00027;b&#x00027; are all different ways of specifying an OCTET STRING value, and
* <p>Most of these will use the obvious corresponding ASN.1 type. &#x00027;s&#x00027;, &#x00027;x&#x00027;, &#x00027;d&#x00027; and &#x00027;b&#x00027; are all different ways of specifying an OCTET STRING value, and
* the &#x00027;u&#x00027; unsigned type is also used for handling Gauge32 values.
* </p>
* <p>

View File

@ -435,7 +435,7 @@ function socket_write ($socket, $buffer, $length = 0) {}
* </p>
* <p>
* <b>socket_read</b> returns a zero length string ("")
* when there is no more data to read.
* when there is no more data to read.</p>
*/
function socket_read ($socket, $length, $type = PHP_BINARY_READ) {}

View File

@ -1606,7 +1606,7 @@ function sqlsrv_free_stmt($stmt){}
* Number of bytes for fields of binary type (binary(n), varbinary(n), UDT). NULL for other SQL Server data types.</li>
* <li>Precision - The precision for types of variable precision (real, numeric, decimal, datetime2, datetimeoffset, and
* time). NULL for other SQL Server data types.</li>
* Scale - The scale for types of variable scale (numeric, decimal, datetime2, datetimeoffset, and time). NULL for other
* <li>Scale - The scale for types of variable scale (numeric, decimal, datetime2, datetimeoffset, and time). NULL for other
* SQL Server data types.</li>
* <li>Nullable - An enumerated value indicating whether the column is nullable (SQLSRV_NULLABLE_YES), the column is not
* nullable (SQLSRV_NULLABLE_NO), or it is not known if the column is nullable (SQLSRV_NULLABLE_UNKNOWN).</li></ul>

View File

@ -26,7 +26,7 @@ use JetBrains\PhpStorm\Pure;
* Unix - If not explicitly set in the <i>php.ini</i>, the default extension
* directory depends on
* whether PHP has been built with --enable-debug
* or not
* or not</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. If the functionality of loading modules is not available
* or has been disabled (either by setting
* enable_dl off or by enabling safe mode

View File

@ -49,7 +49,7 @@ define("PASSWORD_DEFAULT", "2y");
* <p>
* Values for this constant:
* </p>
*<ul>
* <ul>
* <li>
* PHP 5.6.0 - <b>PASSWORD_BCRYPT_DEFAULT_COST</b>
* </li>
@ -73,7 +73,7 @@ define("PASSWORD_BCRYPT_DEFAULT_COST", 10);
* <p>
* Values for this constant:
* </p>
*<ul>
* <ul>
* <li>
* PHP 5.5.0 - <b>PASSWORD_BCRYPT</b>
* </li>

View File

@ -333,7 +333,7 @@ function wordwrap (string $string, int $width = 75, string $break = "\n", bool $
* <tr>
* <td><b>ENT_QUOTES</b></td>
* <td>Will convert both double and single quotes.</td>
*</tr>
* </tr>
*
* <tr>
* <td><b>ENT_NOQUOTES</b></td>
@ -563,9 +563,7 @@ function htmlspecialchars_decode (string $string, int $flags): string
* See the description
* of these modes in htmlspecialchars.
* </p>
* @param string $encoding <dd>
*
* <p>
* @param string $encoding [optional] <p>
* Encoding to use.
* If omitted, the default value for this argument is ISO-8859-1 in
* versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
@ -1234,7 +1232,7 @@ function php_sapi_name (): string|false
* mode is a single character that defines what
* information is returned:
* 'a': This is the default. Contains all modes in
* the sequence "s n r v m".
* the sequence "s n r v m".</p>
* @return string the description, as a string.
*/
#[Pure]

View File

@ -411,7 +411,7 @@ function str_word_count (string $string, int $format = 0, ?string $characters):
* @param int $length [optional] <p>
* Maximum length of the chunk.
* </p>
* @return string[]|false If the optional split_length parameter is
* @return string[]|false <p>If the optional split_length parameter is
* specified, the returned array will be broken down into chunks with each
* being split_length in length, otherwise each chunk
* will be one character in length.
@ -498,8 +498,8 @@ function strcoll (string $string1, string $string2): int
* Formats a number as a currency string
* @link https://php.net/manual/en/function.money-format.php
* @param string $format <p>
* The format specification consists of the following sequence:
* <p>a % character</p>
* The format specification consists of the following sequence:<br>
* a % character</p>
* @param float $number <p>
* The number to be formatted.
* </p>
@ -664,6 +664,8 @@ function lcfirst (string $string): string
* The input string.
* </p>
* @param string $separators [optional] <p>
* The optional separators contains the word separator characters.
* </p>
* @return string the modified string.
*/
#[Pure]
@ -1088,7 +1090,6 @@ function join (array|string $separator = "", ?array $array): string
* Set locale information
* @link https://php.net/manual/en/function.setlocale.php
* @param int $category <p>
* <p>
* <em>category</em> is a named constant specifying the
* category of the functions affected by the locale setting:
* </p><ul>
@ -1110,7 +1111,7 @@ function join (array|string $separator = "", ?array $array): string
* <b>LC_NUMERIC</b> for decimal separator (See also
* {@see localeconv()})
* </li>
*<li>
* <li>
* <b>LC_TIME</b> for date and time formatting with
* {@see strftime()}
*
@ -1139,7 +1140,7 @@ function join (array|string $separator = "", ?array $array): string
* for a possibly not available locale.
* </p>
* @param string ...$rest [optional]
* @return string|false the new current locale, or false if the locale functionality is
* @return string|false <p>the new current locale, or false if the locale functionality is
* not implemented on your platform, the specified locale does not exist or
* the category name is invalid.
* </p>
@ -1152,7 +1153,7 @@ function join (array|string $separator = "", ?array $array): string
* <p>
* The return value of setlocale depends
* on the system that PHP is running. It returns exactly
* what the system setlocale function returns.
* what the system setlocale function returns.</p>
*/
function setlocale (int $category, array|string|int $locales, ...$rest): string|false
{}

View File

@ -12,15 +12,15 @@ use JetBrains\PhpStorm\Pure;
* constant name of the element. The following is a list of constant names
* for item that may be used and their description.
* Some of these constants may not be defined or hold no value for certain
* locales.
* <table>
* locales.</p>
* nl_langinfo Constants
* <table>
* <tr valign="top">
* <td>Constant</td>
* <td>Description</td>
* </tr>
* <tr valign="top">
* LC_TIME Category Constants</td>
* <tr colspan="2" valign="top" bgcolor="silver">
* <td >LC_TIME Category Constants</td>
* </tr>
* <tr valign="top">
* <td>ABDAY_(1-7)</td>
@ -82,8 +82,8 @@ use JetBrains\PhpStorm\Pure;
* <td>ERA_T_FMT</td>
* <td>Time in alternate era format (string can be used in strftime).</td>
* </tr>
* <tr valign="top">
* LC_MONETARY Category Constants</td>
* <tr colspan="2" valign="top" bgcolor="silver">
* <td>LC_MONETARY Category Constants</td>
* </tr>
* <tr valign="top">
* <td>INT_CURR_SYMBOL</td>
@ -143,7 +143,9 @@ use JetBrains\PhpStorm\Pure;
* </tr>
* <tr valign="top">
* <td>P_SIGN_POSN</td>
* Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL.
* <td>Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL.</td>
* </tr>
* </table>
* @return string|false the element as a string, or false if item
* is not valid.
*/
@ -334,7 +336,7 @@ function strchr (string $haystack, string $needle, bool $before_needle = false):
* An optional sign specifier that forces a sign
* (- or +) to be used on a number. By default, only the - sign is used
* on a number if it's negative. This specifier forces positive numbers
* to have the + sign attached as well, and was added in PHP 4.3.0.
* to have the + sign attached as well, and was added in PHP 4.3.0.</p>
* @param string|int|float ...$values [optional] <p>
* </p>
* @return string a string produced according to the formatting string

View File

@ -158,6 +158,7 @@ function serialize (mixed $value): string
* </p>
* <p>
* unserialize_callback_func directive
* </p>
* <p>
* It's possible to set a callback-function which will be called,
* if an undefined class should be instantiated during unserializing.
@ -178,13 +179,13 @@ function serialize (mixed $value): string
* Omitting this option is the same as defining it as TRUE: PHP will attempt
* to instantiate objects of any class.
* </p>
* @return mixed The converted value is returned, and can be a boolean,
* @return mixed <p>The converted value is returned, and can be a boolean,
* integer, float, string,
* array or object.
* </p>
* <p>
* In case the passed string is not unserializeable, false is returned and
* E_NOTICE is issued.
* E_NOTICE is issued.</p>
*/
function unserialize (string $data, array $options = []): mixed
{}
@ -744,7 +745,7 @@ function headers_list (): array
/**
* Fetches all HTTP request headers from the current request
* @link https://php.net/manual/en/function.apache-request-headers.php
* @return array|false An associative array of all the HTTP headers in the current request, or <b>FALSE</b on failure.
* @return array|false An associative array of all the HTTP headers in the current request, or <b>FALSE</b> on failure.
*/
#[Pure]
function apache_request_headers (): bool|array

View File

@ -998,13 +998,11 @@ function tmpfile ()
* The optional parameter flags can be one, or
* more, of the following constants:
* FILE_USE_INCLUDE_PATH
* Search for the file in the include_path.
* Search for the file in the include_path.</p>
* @param resource $context [optional] <p>
* A context resource created with the
* stream_context_create function.
* </p>
* <p>
* </p>
* @return array|false the file in an array. Each element of the array corresponds to a
* line in the file, with the newline still attached. Upon failure,
* file returns false.

View File

@ -491,8 +491,8 @@ function stream_socket_sendto ($socket, string $data, int $flags, string $addres
* </p>
* @param int|null $crypto_method [optional] <p>
* Setup encryption on the stream.
* Valid methods are
* STREAM_CRYPTO_METHOD_SSLv2_CLIENT
* Valid methods are:<br>
* STREAM_CRYPTO_METHOD_SSLv2_CLIENT</p>
* @param resource $session_stream [optional] <p>
* Seed the stream with settings from session_stream.
* </p>
@ -671,7 +671,7 @@ function fputcsv ($stream, array $fields, string $separator = ",", string $enclo
* </p>
* @param int $operation <p>
* operation is one of the following:
* LOCK_SH to acquire a shared lock (reader).
* LOCK_SH to acquire a shared lock (reader).</p>
* @param int &$would_block [optional] <p>
* The optional third argument is set to 1 if the lock would block
* (EWOULDBLOCK errno condition).

View File

@ -443,7 +443,7 @@ function scandir (string $directory, int $sorting_order, $context): array|false
* </p>
* <p>
* On some systems it is impossible to distinguish between empty match and an
* error.
* error.</p>
*/
#[Pure]
function glob (string $pattern, int $flags): array|false
@ -898,7 +898,6 @@ function lchgrp (string $filename, string|int $group): bool
* about modes on Unix systems with 'man 1 chmod'
* and 'man 2 chmod'.
* </p>
* <p>
* @return bool true on success or false on failure.
*/
function chmod (string $filename, int $permissions): bool

View File

@ -485,12 +485,12 @@ function arsort (array &$array, int $flags): bool
* </p>
* @param int $flags [optional] <p>
* The optional second parameter sort_flags
* may be used to modify the sorting behavior using these values:
* may be used to modify the sorting behavior using these values.
* </p>
* <p>
* Sorting type flags:
* Sorting type flags:<br>
* SORT_REGULAR - compare items normally
* (don't change types)
* (don't change types)</p>
* @return bool true on success or false on failure.
*/
function sort (array &$array, int $flags): bool
@ -853,12 +853,12 @@ function array_search (mixed $needle, array $haystack, bool $strict): string|int
* by the extract_type. It can be one of the
* following values:
* EXTR_OVERWRITE
* If there is a collision, overwrite the existing variable.
* @param string $prefix [optional] Only overwrite the variable if it already exists in the
* If there is a collision, overwrite the existing variable.</p>
* @param string $prefix [optional] <p>Only overwrite the variable if it already exists in the
* current symbol table, otherwise do nothing. This is useful
* for defining a list of valid variables and then extracting
* only those variables you have defined out of
* $_REQUEST, for example.
* $_REQUEST, for example.</p>
* @return int the number of variables successfully imported into the symbol
* table.
*/

View File

@ -110,19 +110,20 @@ class StubsPhpDocTest extends TestCase
$phpdoc = preg_replace(
[
'#/>#',
'#<br ?/>#',
'#<br>#i',
'#->#',
'#>=#',
'#=>#',
'#"->"#',
'# >= #',
'#\(>=#',
'#\'>\'#',
'# > #',
'#\?>#',
'#\d>#',
'#`<.*>`#U',
'#>`#',
'#\'>\'#',
'#<br>#i',
'#^>#',
'#`.*<.*>`#U',
'#<pre>.*</pre>#sU',
'#<code>.*</code>#sU',
'#@author.*<.*>#U'
],
'',

View File

@ -81,7 +81,7 @@ function xml_set_object (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], defaul
* <b>array<i>attribs</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @param callable $end_handler <p>
* The function named by <i>end_element_handler</i>
* must accept two parameters:
@ -90,7 +90,7 @@ function xml_set_object (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], defaul
* <b>string<i>name</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_element_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $start_handler, $end_handler): bool {}
@ -114,7 +114,7 @@ function xml_set_element_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"
* <b>string<i>data</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_character_data_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool {}
@ -139,7 +139,7 @@ function xml_set_character_data_handler (#[LanguageLevelTypeAware(["8.0" => "Xml
* <b>string<i>data</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_processing_instruction_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool {}
@ -163,7 +163,7 @@ function xml_set_processing_instruction_handler (#[LanguageLevelTypeAware(["8.0"
* <b>string<i>data</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_default_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool {}
@ -192,7 +192,7 @@ function xml_set_default_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the
* handler.
* handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_unparsed_entity_decl_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool {}
@ -219,7 +219,7 @@ function xml_set_unparsed_entity_decl_handler (#[LanguageLevelTypeAware(["8.0" =
* <b>string<i>public_id</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_notation_decl_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool
@ -251,7 +251,7 @@ function xml_set_notation_decl_handler (#[LanguageLevelTypeAware(["8.0" => "XmlP
* <b>string<i>public_id</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_external_entity_ref_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool
@ -281,7 +281,7 @@ function xml_set_external_entity_ref_handler (#[LanguageLevelTypeAware(["8.0" =>
* <b>string<i>uri</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_start_namespace_decl_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool
@ -310,7 +310,7 @@ function xml_set_start_namespace_decl_handler (#[LanguageLevelTypeAware(["8.0" =
* <b>string<i>prefix</i></b>
* <i>parser</i>
* The first parameter, parser, is a
* reference to the XML parser calling the handler.
* reference to the XML parser calling the handler.</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function xml_set_end_namespace_decl_handler (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, $handler): bool
@ -371,33 +371,18 @@ function xml_parse (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "r
function xml_parse_into_struct (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser, string $data, &$values, &$index): int
{}
#[PhpStormStubsElementAvailable(to: '7.4')]
/**
* Get XML parser error code
* @link https://php.net/manual/en/function.xml-get-error-code.php
* @param resource $parser <p>
* @param XmlParser|resource $parser <p>
* A reference to the XML parser to get error code from.
* </p>
* @return int|false This function returns <b>FALSE</b> if <i>parser</i> does
* not refer to a valid parser, or else it returns one of the error
* codes listed in the error codes
* @return int|false Returns one of the error codes listed in the error codes
* section.
*/
#[Pure]
function xml_get_error_code ($parser): int|false {}
#[PhpStormStubsElementAvailable('8.0')]
/**
* Get XML parser error code
* @link https://php.net/manual/en/function.xml-get-error-code.php
* @param XmlParser $parser <p>
* A reference to the XML parser to get error code from.
* </p>
* @return int Returns one of the error codes listed in the error codes
* section.
*/
#[Pure]
function xml_get_error_code (XmlParser $parser): int {}
#[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")]
function xml_get_error_code (#[LanguageLevelTypeAware(["8.0" => "XmlParser"], default: "resource")] $parser) {}
/**
* Get XML parser error string

View File

@ -46,7 +46,7 @@ function xmlrpc_decode_request ($xml, &$method, $encoding = null) {}
* @param null|array $output_options [optional] <p>
* Array specifying output options may contain (default values are
* emphasised):
* <p>output_type: php, xml</p>
* output_type: php, xml</p>
* @return string a string containing the XML representation of the request.
*/
function xmlrpc_encode_request ($method, $params, ?array $output_options = null) {}