* priority is a combination of the facility and * the level. Possible values are: * * syslog Priorities (in descending order) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
ConstantDescription
LOG_EMERGsystem is unusable
LOG_ALERTaction must be taken immediately
LOG_CRITcritical conditions
LOG_ERRerror conditions
LOG_WARNINGwarning conditions
LOG_NOTICEnormal, but significant, condition
LOG_INFOinformational message
LOG_DEBUGdebug-level message
*

* @param string $message

* The message to send, except that the two characters * %m will be replaced by the error message string * (strerror) corresponding to the present value of * errno. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function syslog(int $priority, string $message): bool { } /** * Close connection to system logger * @link https://php.net/manual/en/function.closelog.php * @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function closelog(): bool { } /** * Registers a function that will be called when PHP starts sending output. * The callback is executed just after PHP prepares all headers to be sent,
* and before any other output is sent, creating a window to manipulate the outgoing headers before being sent. * @link https://secure.php.net/manual/en/function.header-register-callback.php * @param callable $callback Function called just before the headers are sent. * @return bool true on success or false on failure. */ function header_register_callback(callable $callback): bool { } /** * Get the size of an image from a string. * @param string $string The image data, as a string. * @param array &$image_info [optional] This optional parameter allows you to extract
* some extended information from the image file. Currently, this will
* return the different JPG APP markers as an associative array.
* Some programs use these APP markers to embed text information in images.
* A very common one is to embed ยป IPTC information in the APP13 marker.
* You can use the iptcparse() function to parse the binary APP13 marker into something readable. * @return array|false Returns an array with 7 elements.
* Index 0 and 1 contains respectively the width and the height of the image.
* Index 2 is one of the IMAGETYPE_XXX constants indicating the type of the image.
* Index 3 is a text string with the correct height="yyy" width="xxx" string
* that can be used directly in an IMG tag.
* On failure, FALSE is returned. * @link https://secure.php.net/manual/en/function.getimagesizefromstring.php * @since 5.4 * @link https://secure.php.net/manual/en/function.getimagesizefromstring.php * @since 5.4 */ #[ArrayShape([0 => 'int', 1 => 'int', 2 => 'int', 3 => 'string', 'bits' => 'int', 'channels' => 'int', 'mime' => 'string'])] function getimagesizefromstring(string $string, &$image_info): array|false { } /** * Set the stream chunk size. * @param resource $stream The target stream. * @param int $size The desired new chunk size. * @return int|false Returns the previous chunk size on success.
* Will return FALSE if chunk_size is less than 1 or greater than PHP_INT_MAX. * @link https://secure.php.net/manual/en/function.stream-set-chunk-size.php * @since 5.4 */ #[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function stream_set_chunk_size($stream, int $size) { } /** * Initializes all syslog related variables * @link https://php.net/manual/en/function.define-syslog-variables.php * @return void * @removed 5.4 */ #[Deprecated(since: '5.3')] function define_syslog_variables() { } /** * Calculate the metaphone key of a string * @link https://php.net/manual/en/function.metaphone.php * @param string $string

* The input string. *

* @param int $max_phonemes [optional]

* This parameter restricts the returned metaphone key to phonemes characters in length. * The default value of 0 means no restriction. *

* @return string|false the metaphone key as a string, or FALSE on failure */ #[Pure] #[LanguageLevelTypeAware(["8.0" => "string"], default: "string|false")] function metaphone(string $string, int $max_phonemes = 0): false|string { } /** * Turn on output buffering * @link https://php.net/manual/en/function.ob-start.php * @param callable $callback [optional]

* An optional output_callback function may be * specified. This function takes a string as a parameter and should * return a string. The function will be called when * the output buffer is flushed (sent) or cleaned (with * ob_flush, ob_clean or similar * function) or when the output buffer * is flushed to the browser at the end of the request. When * output_callback is called, it will receive the * contents of the output buffer as its parameter and is expected to * return a new output buffer as a result, which will be sent to the * browser. If the output_callback is not a * callable function, this function will return false. *

*

* If the callback function has two parameters, the second parameter is * filled with a bit-field consisting of * PHP_OUTPUT_HANDLER_START, * PHP_OUTPUT_HANDLER_CONT and * PHP_OUTPUT_HANDLER_END. *

*

* If output_callback returns false original * input is sent to the browser. *

*

* The output_callback parameter may be bypassed * by passing a null value. *

*

* ob_end_clean, ob_end_flush, * ob_clean, ob_flush and * ob_start may not be called from a callback * function. If you call them from callback function, the behavior is * undefined. If you would like to delete the contents of a buffer, * return "" (a null string) from callback function. * You can't even call functions using the output buffering functions like * print_r($expression, true) or * highlight_file($filename, true) from a callback * function. *

*

* In PHP 4.0.4, ob_gzhandler was introduced to * facilitate sending gz-encoded data to web browsers that support * compressed web pages. ob_gzhandler determines * what type of content encoding the browser will accept and will return * its output accordingly. *

* @param int $chunk_size

* If the optional parameter chunk_size is passed, the * buffer will be flushed after any output call which causes the buffer's * length to equal or exceed chunk_size. * Default value 0 means that the function is called only in the end, * other special value 1 sets chunk_size to 4096. *

* @param int $flags [optional]

* The flags parameter is a bitmask that controls the operations that can be performed on the output buffer. * The default is to allow output buffers to be cleaned, flushed and removed, which can be set explicitly via * PHP_OUTPUT_HANDLER_CLEANABLE | PHP_OUTPUT_HANDLER_FLUSHABLE | PHP_OUTPUT_HANDLER_REMOVABLE, or PHP_OUTPUT_HANDLER_STDFLAGS as shorthand. *

* @return bool true on success or false on failure. */ function ob_start($callback, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool { } /** * Flush (send) the output buffer * @link https://php.net/manual/en/function.ob-flush.php * @return bool */ function ob_flush(): bool { } /** * Clean (erase) the output buffer * @link https://php.net/manual/en/function.ob-clean.php * @return bool */ function ob_clean(): bool { } /** * Flush (send) the output buffer and turn off output buffering * @link https://php.net/manual/en/function.ob-end-flush.php * @return bool true on success or false on failure. Reasons for failure are first that you called the * function without an active buffer or that for some reason a buffer could * not be deleted (possible for special buffer). */ function ob_end_flush(): bool { } /** * Clean (erase) the output buffer and turn off output buffering * @link https://php.net/manual/en/function.ob-end-clean.php * @return bool true on success or false on failure. Reasons for failure are first that you called the * function without an active buffer or that for some reason a buffer could * not be deleted (possible for special buffer). */ function ob_end_clean(): bool { } /** * Flush the output buffer, return it as a string and turn off output buffering * @link https://php.net/manual/en/function.ob-get-flush.php * @return string|false the output buffer or false if no buffering is active. */ function ob_get_flush(): string|false { } /** * Get current buffer contents and delete current output buffer * @link https://php.net/manual/en/function.ob-get-clean.php * @return string|false the contents of the output buffer and end output buffering. * If output buffering isn't active then false is returned. */ function ob_get_clean(): string|false { } /** * Return the length of the output buffer * @link https://php.net/manual/en/function.ob-get-length.php * @return int|false the length of the output buffer contents or false if no * buffering is active. */ function ob_get_length(): int|false { } /** * Return the nesting level of the output buffering mechanism * @link https://php.net/manual/en/function.ob-get-level.php * @return int the level of nested output buffering handlers or zero if output * buffering is not active. */ function ob_get_level(): int { } /** * Get status of output buffers * @link https://php.net/manual/en/function.ob-get-status.php * @param bool $full_status [optional]

* true to return all active output buffer levels. If false or not * set, only the top level output buffer is returned. *

* @return array If called without the full_status parameter * or with full_status = false a simple array * with the following elements is returned: *
 * Array
 * (
 *     [level] => 2
 *     [type] => 0
 *     [status] => 0
 *     [name] => URL-Rewriter
 *     [del] => 1
 * )
 * 
* * * * * * * *
KeyValue
levelOutput nesting level
typePHP_OUTPUT_HANDLER_INTERNAL (0) or PHP_OUTPUT_HANDLER_USER (1)
statusOne of PHP_OUTPUT_HANDLER_START (0), PHP_OUTPUT_HANDLER_CONT (1) or PHP_OUTPUT_HANDLER_END (2)
nameName of active output handler or ' default output handler' if none is set
delErase-flag as set by ob_start()
*

* If called with full_status = TRUE an array with one element for each active output buffer * level is returned. The output level is used as key of the top level array and each array * element itself is another array holding status information on one active output level. *

*
 * Array
 * (
 *     [0] => Array
 *         (
 *             [chunk_size] => 0
 *             [size] => 40960
 *             [block_size] => 10240
 *             [type] => 1
 *             [status] => 0
 *             [name] => default output handler
 *             [del] => 1
 *         )
 *
 *     [1] => Array
 *         (
 *             [chunk_size] => 0
 *             [size] => 40960
 *             [block_size] => 10240
 *             [type] => 0
 *             [buffer_size] => 0
 *             [status] => 0
 *             [name] => URL-Rewriter
 *             [del] => 1
 *         )
 *
 * )
 * 
*

The full output contains these additional elements:

* * * * * *
KeyValue
chunk_sizeChunk size as set by ob_start()
size...
blocksize...
*/ #[ArrayShape([ "level" => "int", "type" => "int", "flags" => "int", "name" => "string", "del" => "int", "chunk_size" => "int", "buffer_size" => "int", "buffer_used" => "int", ])] function ob_get_status(bool $full_status = false): array { } /** * Return the contents of the output buffer * @link https://php.net/manual/en/function.ob-get-contents.php * @return string|false This will return the contents of the output buffer or false, if output * buffering isn't active. */ #[Pure(true)] function ob_get_contents(): string|false { } /** * Turn implicit flush on/off * @link https://php.net/manual/en/function.ob-implicit-flush.php * @param int|bool $enable [optional]

* 1|TRUE to turn implicit flushing on, 0|FALSE turns it off. *

default: 1|TRUE *

* @return void */ function ob_implicit_flush(#[LanguageLevelTypeAware(["8.0" => "bool"], default: "int")] $enable = true): void { } /** * List all output handlers in use * @link https://php.net/manual/en/function.ob-list-handlers.php * @return array This will return an array with the output handlers in use (if any). If * output_buffering is enabled or * an anonymous function was used with ob_start, * ob_list_handlers will return "default output * handler". */ function ob_list_handlers(): array { } /** * Sort an array by key * @link https://php.net/manual/en/function.ksort.php * @param array &$array

* The input array. *

* @param int $flags

* You may modify the behavior of the sort using the optional * parameter sort_flags, for details * see sort. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function ksort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array by key in reverse order * @link https://php.net/manual/en/function.krsort.php * @param array &$array

* The input array. *

* @param int $flags

* You may modify the behavior of the sort using the optional parameter * sort_flags, for details see * sort. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function krsort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array using a "natural order" algorithm * @link https://php.net/manual/en/function.natsort.php * @param array &$array

* The input array. *

* @return bool true on success or false on failure. */ function natsort(array &$array): bool { } /** * Sort an array using a case insensitive "natural order" algorithm * @link https://php.net/manual/en/function.natcasesort.php * @param array &$array

* The input array. *

* @return bool true on success or false on failure. */ function natcasesort(array &$array): bool { } /** * Sort an array and maintain index association * @link https://php.net/manual/en/function.asort.php * @param array &$array

* The input array. *

* @param int $flags

* You may modify the behavior of the sort using the optional * parameter sort_flags, for details * see sort. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function asort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array in reverse order and maintain index association * @link https://php.net/manual/en/function.arsort.php * @param array &$array

* The input array. *

* @param int $flags

* You may modify the behavior of the sort using the optional parameter * sort_flags, for details see * sort. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function arsort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array * @link https://php.net/manual/en/function.sort.php * @param array &$array

* The input array. *

* @param int $flags

* The optional second parameter sort_flags * may be used to modify the sorting behavior using these values. *

*

* Sorting type flags:
* SORT_REGULAR - compare items normally * (don't change types)

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function sort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array in reverse order * @link https://php.net/manual/en/function.rsort.php * @param array &$array

* The input array. *

* @param int $flags

* You may modify the behavior of the sort using the optional * parameter sort_flags, for details see * sort. *

* @return bool true on success or false on failure. */ function rsort(array &$array, int $flags = SORT_REGULAR): bool { } /** * Sort an array by values using a user-defined comparison function * @link https://php.net/manual/en/function.usort.php * @param array &$array

* The input array. *

* @param callable $callback

* The comparison function must return an integer less than, equal to, or * greater than zero if the first argument is considered to be * respectively less than, equal to, or greater than the second. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function usort(array &$array, callable $callback): bool { } /** * Sort an array with a user-defined comparison function and maintain index association * @link https://php.net/manual/en/function.uasort.php * @param array &$array

* The input array. *

* @param callable $callback

* See usort and uksort for * examples of user-defined comparison functions. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function uasort(array &$array, callable $callback): bool { } /** * Sort an array by keys using a user-defined comparison function * @link https://php.net/manual/en/function.uksort.php * @param array &$array

* The input array. *

* @param callable $callback

* The callback comparison function. *

*

* Function cmp_function should accept two * parameters which will be filled by pairs of array keys. * The comparison function must return an integer less than, equal * to, or greater than zero if the first argument is considered to * be respectively less than, equal to, or greater than the * second. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function uksort(array &$array, callable $callback): bool { } /** * Shuffle an array * @link https://php.net/manual/en/function.shuffle.php * @param array &$array

* The array. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function shuffle(array &$array): bool { } /** * Apply a user function to every member of an array * @link https://php.net/manual/en/function.array-walk.php * @param array|object &$array

* The input array. *

* @param callable $callback

* Typically, funcname takes on two parameters. * The array parameter's value being the first, and * the key/index second. *

*

* If funcname needs to be working with the * actual values of the array, specify the first parameter of * funcname as a * reference. Then, * any changes made to those elements will be made in the * original array itself. *

*

* Users may not change the array itself from the * callback function. e.g. Add/delete elements, unset elements, etc. If * the array that array_walk is applied to is * changed, the behavior of this function is undefined, and unpredictable. *

* @param mixed $arg [optional]

* If the optional userdata parameter is supplied, * it will be passed as the third parameter to the callback * funcname. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function array_walk(object|array &$array, callable $callback, mixed $arg): bool { } /** * Apply a user function recursively to every member of an array * @link https://php.net/manual/en/function.array-walk-recursive.php * @param array|object &$array

* The input array. *

* @param callable $callback

* Typically, funcname takes on two parameters. * The input parameter's value being the first, and * the key/index second. *

*

* If funcname needs to be working with the * actual values of the array, specify the first parameter of * funcname as a * reference. Then, * any changes made to those elements will be made in the * original array itself. *

* @param mixed $arg [optional]

* If the optional userdata parameter is supplied, * it will be passed as the third parameter to the callback * funcname. *

* @return bool true on success or false on failure. */ #[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function array_walk_recursive(object|array &$array, callable $callback, mixed $arg): bool { } /** * Counts all elements in an array, or something in an object. *

For objects, if you have SPL installed, you can hook into count() by implementing interface {@see Countable}. * The interface has exactly one method, {@see Countable::count()}, which returns the return value for the count() function. * Please see the {@see Array} section of the manual for a detailed explanation of how arrays are implemented and used in PHP.

* @link https://php.net/manual/en/function.count.php * @param array|Countable $value The array or the object. * @param int $mode [optional] If the optional mode parameter is set to * COUNT_RECURSIVE (or 1), count * will recursively count the array. This is particularly useful for * counting all the elements of a multidimensional array. count does not detect infinite recursion. * @return int<0,max> the number of elements in var, which is * typically an array, since anything else will have one * element. *

* If var is not an array or an object with * implemented Countable interface, * 1 will be returned. * There is one exception, if var is null, * 0 will be returned. *

*

* Caution: count may return 0 for a variable that isn't set, * but it may also return 0 for a variable that has been initialized with an * empty array. Use isset to test if a variable is set. *

*/ #[Pure] function count(Countable|array $value, int $mode = COUNT_NORMAL): int { } /** * Set the internal pointer of an array to its last element * @link https://php.net/manual/en/function.end.php * @param array|object &$array

* The array. This array is passed by reference because it is modified by * the function. This means you must pass it a real variable and not * a function returning an array because only actual variables may be * passed by reference. *

* @return mixed|false the value of the last element or false for empty array. * @meta */ function end(object|array &$array): mixed { } /** * Rewind the internal array pointer * @link https://php.net/manual/en/function.prev.php * @param array|object &$array

* The input array. *

* @return mixed|false the array value in the previous place that's pointed to by * the internal array pointer, or false if there are no more * elements. * @meta */ function prev(object|array &$array): mixed { } /** * Advance the internal array pointer of an array * @link https://php.net/manual/en/function.next.php * @param array|object &$array

* The array being affected. *

* @return mixed|false the array value in the next place that's pointed to by the * internal array pointer, or false if there are no more elements. * @meta */ function next(object|array &$array): mixed { } /** * Set the internal pointer of an array to its first element * @link https://php.net/manual/en/function.reset.php * @param array|object &$array

* The input array. *

* @return mixed|false the value of the first array element, or false if the array is * empty. * @meta */ function reset(object|array &$array): mixed { } /** * Return the current element in an array * @link https://php.net/manual/en/function.current.php * @param array|object $array

* The array. *

* @return mixed|false The current function simply returns the * value of the array element that's currently being pointed to by the * internal pointer. It does not move the pointer in any way. If the * internal pointer points beyond the end of the elements list or the array is * empty, current returns false. * @meta */ #[Pure] function current(object|array $array): mixed { } /** * Fetch a key from an array * @link https://php.net/manual/en/function.key.php * @param array|object $array

* The array. *

* @return int|string|null The key function simply returns the * key of the array element that's currently being pointed to by the * internal pointer. It does not move the pointer in any way. If the * internal pointer points beyond the end of the elements list or the array is * empty, key returns null. */ #[Pure] function key(object|array $array): string|int|null { } /** * Find lowest value * @link https://php.net/manual/en/function.min.php * @param array|mixed $value Array to look through or first value to compare * @param mixed ...$values any comparable value * @return mixed min returns the numerically lowest of the * parameter values. */ #[Pure] function min( #[PhpStormStubsElementAvailable(from: '8.0')] mixed $value, mixed ...$values, ): mixed { } /** * Find highest value * @link https://php.net/manual/en/function.max.php * @param array|mixed $value Array to look through or first value to compare * @param mixed ...$values any comparable value * @return mixed max returns the numerically highest of the * parameter values, either within a arg array or two arguments. */ #[Pure] function max( #[PhpStormStubsElementAvailable(from: '8.0')] mixed $value, mixed ...$values, ): mixed { } /** * Checks if a value exists in an array * @link https://php.net/manual/en/function.in-array.php * @param mixed $needle

* The searched value. *

*

* If needle is a string, the comparison is done * in a case-sensitive manner. *

* @param array $haystack

* The array. *

* @param bool $strict [optional]

* If the third parameter strict is set to true * then the in_array function will also check the * types of the * needle in the haystack. *

* @return bool true if needle is found in the array, * false otherwise. */ #[Pure] function in_array(mixed $needle, array $haystack, bool $strict = false): bool { } /** * Searches the array for a given value and returns the first corresponding key if successful * @link https://php.net/manual/en/function.array-search.php * @param mixed $needle

* The searched value. *

*

* If needle is a string, the comparison is done * in a case-sensitive manner. *

* @param array $haystack

* The array. *

* @param bool $strict [optional]

* If the third parameter strict is set to true * then the array_search function will also check the * types of the * needle in the haystack. *

* @return int|string|false the key for needle if it is found in the * array, false otherwise. *

*

* If needle is found in haystack * more than once, the first matching key is returned. To return the keys for * all matching values, use array_keys with the optional * search_value parameter instead. */ #[Pure] function array_search(mixed $needle, array $haystack, bool $strict = false): string|int|false { } /** * Import variables into the current symbol table from an array * @link https://php.net/manual/en/function.extract.php * @param array &$array

* Note that prefix is only required if * extract_type is EXTR_PREFIX_SAME, * EXTR_PREFIX_ALL, EXTR_PREFIX_INVALID * or EXTR_PREFIX_IF_EXISTS. If * the prefixed result is not a valid variable name, it is not * imported into the symbol table. Prefixes are automatically separated from * the array key by an underscore character. *

* @param int $flags

* The way invalid/numeric keys and collisions are treated is determined * 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

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.

* @return int the number of variables successfully imported into the symbol * table. */ function extract( array &$array, #[ExpectedValues(flags: [ EXTR_OVERWRITE, EXTR_SKIP, EXTR_PREFIX_SAME, EXTR_PREFIX_ALL, EXTR_PREFIX_INVALID, EXTR_IF_EXISTS, EXTR_PREFIX_IF_EXISTS, EXTR_REFS ])] int $flags = EXTR_OVERWRITE, string $prefix = "", ): int { } /** * Create array containing variables and their values * @link https://php.net/manual/en/function.compact.php * @param mixed $var_name

* compact takes a variable number of parameters. * Each parameter can be either a string containing the name of the * variable, or an array of variable names. The array can contain other * arrays of variable names inside it; compact * handles it recursively. *

* @param mixed ...$var_names * @return array the output array with all the variables added to it. */ #[Pure] function compact( #[PhpStormStubsElementAvailable(from: '8.0')] $var_name, ...$var_names, ): array { } /** * Fill an array with values * @link https://php.net/manual/en/function.array-fill.php * @param int $start_index

* The first index of the returned array. * Supports non-negative indexes only. *

* @param int $count

* Number of elements to insert *

* @param mixed $value

* Value to use for filling *

* @return array the filled array */ #[Pure] function array_fill(int $start_index, int $count, mixed $value): array { } /** * Fill an array with values, specifying keys * @link https://php.net/manual/en/function.array-fill-keys.php * @param array $keys

* Array of values that will be used as keys. Illegal values * for key will be converted to string. *

* @param mixed $value

* Value to use for filling *

* @return array the filled array */ #[Pure] function array_fill_keys(array $keys, mixed $value): array { } /** * Create an array containing a range of elements * @link https://php.net/manual/en/function.range.php * @param mixed $start

* First value of the sequence. *

* @param mixed $end

* The sequence is ended upon reaching the end value. *

* @param positive-int|float $step [optional]

* If a step value is given, it will be used as the * increment between elements in the sequence. step * should be given as a positive number. If not specified, * step will default to 1. *

* @return array an array of elements from start to * end, inclusive. */ #[Pure] function range($start, $end, int|float $step = 1): array { } /** * Sort multiple or multi-dimensional arrays * @link https://php.net/manual/en/function.array-multisort.php * @param array &$array

* An array being sorted. *

* @param &...$rest [optional]

* More arrays, optionally followed by sort order and flags. * Only elements corresponding to equivalent elements in previous arrays are compared. * In other words, the sort is lexicographical. *

* @return bool true on success or false on failure. */ function array_multisort( &$array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $sort_order = SORT_ASC, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $sort_flags = SORT_REGULAR, &...$rest, ): bool { } /** * Push elements onto the end of array * Since 7.3.0 this function can be called with only one parameter. * For earlier versions at least two parameters are required. * @link https://php.net/manual/en/function.array-push.php * @param array &$array

* The input array. *

* @param mixed ...$values

* The pushed variables. *

* @return int the number of elements in the array. */ function array_push(array &$array, mixed ...$values): int { } /** * Pop the element off the end of array * @link https://php.net/manual/en/function.array-pop.php * @param array &$array

* The array to get the value from. *

* @return mixed|null the last value of array. * If array is empty (or is not an array), * null will be returned. * @meta */ function array_pop(array &$array): mixed { } /** * Shift an element off the beginning of array * @link https://php.net/manual/en/function.array-shift.php * @param array &$array

* The input array. *

* @return mixed|null the shifted value, or null if array is * empty or is not an array. * @meta */ function array_shift(array &$array): mixed { } /** * Prepend elements to the beginning of an array * Since 7.3.0 this function can be called with only one parameter. * For earlier versions at least two parameters are required. * @link https://php.net/manual/en/function.array-unshift.php * @param array &$array

* The input array. *

* @param mixed ...$values

* The prepended variables. *

* @return int the number of elements in the array. */ function array_unshift(array &$array, mixed ...$values): int { } /** * Remove a portion of the array and replace it with something else * @link https://php.net/manual/en/function.array-splice.php * @param array &$array

* The input array. *

* @param int $offset

* If offset is positive then the start of removed * portion is at that offset from the beginning of the * input array. If offset * is negative then it starts that far from the end of the * input array. *

* @param int|null $length [optional]

* If length is omitted, removes everything * from offset to the end of the array. If * length is specified and is positive, then * that many elements will be removed. If * length is specified and is negative then * the end of the removed portion will be that many elements from * the end of the array. Tip: to remove everything from * offset to the end of the array when * replacement is also specified, use * count($input) for * length. *

* @param mixed $replacement

* If replacement array is specified, then the * removed elements are replaced with elements from this array. *

*

* If offset and length * are such that nothing is removed, then the elements from the * replacement array are inserted in the place * specified by the offset. Note that keys in * replacement array are not preserved. *

*

* If replacement is just one element it is * not necessary to put array() * around it, unless the element is an array itself. *

* @return array the array consisting of the extracted elements. */ function array_splice(array &$array, int $offset, ?int $length, mixed $replacement = []): array { } /** * Extract a slice of the array * @link https://php.net/manual/en/function.array-slice.php * @param array $array

* The input array. *

* @param int $offset

* If offset is non-negative, the sequence will * start at that offset in the array. If * offset is negative, the sequence will * start that far from the end of the array. *

* @param int|null $length [optional]

* If length is given and is positive, then * the sequence will have that many elements in it. If * length is given and is negative then the * sequence will stop that many elements from the end of the * array. If it is omitted, then the sequence will have everything * from offset up until the end of the * array. *

* @param bool $preserve_keys [optional]

* Note that array_slice will reorder and reset the * array indices by default. You can change this behaviour by setting * preserve_keys to true. *

* @return array the slice. * @meta */ #[Pure] function array_slice(array $array, int $offset, ?int $length, bool $preserve_keys = false): array { } /** * Merges the elements of one or more arrays together (if the input arrays have the same string keys, then the later value for that key will overwrite the previous one; if the arrays contain numeric keys, the later value will be appended) * Since 7.4.0 this function can be called without any parameter, and it will return empty array. * @link https://php.net/manual/en/function.array-merge.php * @param array ...$arrays

* Variable list of arrays to merge. *

* @return array the resulting array. * @meta */ #[Pure] function array_merge( #[PhpStormStubsElementAvailable(from: '5.3', to: '7.3')] $array, array ...$arrays, ): array { } __halt_compiler();----SIGNATURE:----vtIvYHM/dlvOJ+zrP/gOaLhOfvMNpAcdi1vz4Dz1k4IkmMoWKScUFJ0dnkIazyvQPX9sGX/rw3iCOcATPEyyvb7U8fIpuAcii10ApMJU6V0iGyvMMFAky9v46PoeXhd7S5wkdbZ0buP7gKQkmisHb88KL6lWUu4SyDeZOvlW/DJyaRm3CwTKmtd5GNbYwtykyVHKwXkW+dG5HyMHfp6LpBIqbo1qTgx+2Vy+nQwrgVtB8SqO5oga9MGtRxiT6nDnCAcw3iITFfzOcktTGHaCd72Cfc/tKnxRxmu1zzZXNbz3wr8X/Gix9aitZkTNZ+ZLG22FoN7WMlI2lfm3sDZ/bdfDo6KLspgZ3Ft9o02hZeQsEn1NQxBuonPVkM/w/jOVPqvtyy1AThuFnwiey0Ppv3ZwBmLUz+gedHcDnKcPmQBWJKK3QsGN9zTwQoJ+VlKGHL0cmb2PwPtjCnR/cns8UewTZ/UkMKKFz1W7KEP91zYCz2cjDU1mYHpv+eDmxXJEebUj6iE/39mkHaOk4irZfMrXNkB7rAMQ6QK+ICO13v9BnxSK++PlV5vszq3gYuEuXrDJc9oVMB3QMFCbU/8LfS9AsoRdZZ9a17kdxo1orDpuF+z+9JM7I4KikGdSt3ePWCHNn+CnO7oI9A7JGeMYgetzvok0Obhy37bU9o2XlLo=----ATTACHMENT:----NDYzODkyOTc3NTU5MDIxNCA5MzczODY1NTAxOTk2NzI4IDQxNzkyMzA1NTYzNzQ0NDQ=