code
stringlengths
31
1.39M
docstring
stringlengths
23
16.8k
func_name
stringlengths
1
126
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
166
url
stringlengths
50
220
license
stringclasses
7 values
#[Pure] function array_values(array $array) : array { }
Return all the values of an array @link https://php.net/manual/en/function.array-values.php @param array $array <p> The array. </p> @return array an indexed array of values. @meta
array_values
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_count_values(array $array) : array { }
Counts all the values of an array @link https://php.net/manual/en/function.array-count-values.php @param array $array <p> The array of values to count </p> @return array an associative array of values from input as keys and their count as value.
array_count_values
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_column(array $array, string|int|null $column_key, string|int|null $index_key = null) : array { }
Return the values from a single column in the input array @link https://secure.php.net/manual/en/function.array-column.php @param array $array <p>A multi-dimensional array (record set) from which to pull a column of values.</p> @param string|int|null $column_key <p>The column of values to return. This value may be the integer key of the column you wish to retrieve, or it may be the string key name for an associative array. It may also be NULL to return complete arrays (useful together with index_key to reindex the array).</p> @param string|int|null $index_key [optional] <p>The column to use as the index/keys for the returned array. This value may be the integer key of the column, or it may be the string key name.</p> @return array Returns an array of values representing a single column from the input array. @since 5.5
array_column
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_reverse(array $array, bool $preserve_keys = \false) : array { }
Return an array with elements in reverse order @link https://php.net/manual/en/function.array-reverse.php @param array $array <p> The input array. </p> @param bool $preserve_keys [optional] <p> If set to true keys are preserved. </p> @return array the reversed array. @meta
array_reverse
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_pad(array $array, int $length, mixed $value) : array { }
Pad array to the specified length with a value @link https://php.net/manual/en/function.array-pad.php @param array $array <p> Initial array of values to pad. </p> @param int $length <p> New size of the array. </p> @param mixed $value <p> Value to pad if input is less than pad_size. </p> @return array a copy of the input padded to size specified by pad_size with value pad_value. If pad_size is positive then the array is padded on the right, if it's negative then on the left. If the absolute value of pad_size is less than or equal to the length of the input then no padding takes place.
array_pad
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_flip(array $array) : array { }
Exchanges all keys with their associated values in an array @link https://php.net/manual/en/function.array-flip.php @param int[]|string[] $array <p> An array of key/value pairs to be flipped. </p> @return int[]|string[] Returns the flipped array.
array_flip
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_change_key_case(array $array, int $case = \CASE_LOWER) : array { }
Changes the case of all keys in an array @link https://php.net/manual/en/function.array-change-key-case.php @param array $array <p> The array to work on </p> @param int $case <p> Either CASE_UPPER or CASE_LOWER (default) </p> @return array an array with its keys lower or uppercased @meta
array_change_key_case
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_unique(array $array, int $flags = \SORT_STRING) : array { }
Removes duplicate values from an array @link https://php.net/manual/en/function.array-unique.php @param array $array <p> The input array. </p> @param int $flags [optional] <p> The optional second parameter sort_flags may be used to modify the sorting behavior using these values: </p> <p> Sorting type flags: </p><ul> <li> <b>SORT_REGULAR</b> - compare items normally (don't change types) </li> <li> <b>SORT_NUMERIC</b> - compare items numerically </li> <li> <b>SORT_STRING</b> - compare items as strings </li> <li> <b>SORT_LOCALE_STRING</b> - compare items as strings, based on the current locale </li> </ul> @return array the filtered array. @meta
array_unique
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_intersect(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the intersection of arrays @link https://php.net/manual/en/function.array-intersect.php @param array $array <p> The array with main values to check. </p> @param array ...$arrays arrays to compare values against. @return array an array containing all the values of <code>array</code> that are present in all the arguments. Note that keys are preserved. @meta
array_intersect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_intersect_key(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the intersection of arrays using keys for comparison @link https://php.net/manual/en/function.array-intersect-key.php @param array $array <p> The array with main keys to check. </p> @param array ...$arrays @return array an array containing all the entries of <code>array</code> which have keys that are present in all the arguments. @meta
array_intersect_key
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_intersect_assoc(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the intersection of arrays with additional index check @link https://php.net/manual/en/function.array-intersect-assoc.php @param array $array <p> The array with main values to check. </p> @param array $arrays @return array an associative array containing all the values in <code>array</code> that are present in all of the arguments. @meta
array_intersect_assoc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_uintersect_uassoc(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] array $array2, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] callable $data_compare_func, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] callable $key_compare_func, #[PhpStormStubsElementAvailable(from: '8.0')] ...$rest) : array { }
Computes the intersection of arrays with additional index check, compares data and indexes by separate callback functions @link https://php.net/manual/en/function.array-uintersect-uassoc.php @param array $array <p> The first array. </p> @param array $array2 <p> The second array. </p> @param callable $data_compare_func <p> For comparison is used the user supplied callback function. It 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. </p> @param callable $key_compare_func <p> Key comparison callback function. </p> @param array ...$rest @return array an array containing all the values and keys of array1 that are present in all the arguments. @meta
array_uintersect_uassoc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_diff(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the difference of arrays @link https://php.net/manual/en/function.array-diff.php @param array $array <p> The array to compare from </p> @param array ...$arrays @return array an array containing all the entries from <code>array</code> that are not present in any of the other arrays. Keys in the array <code>array</code> are preserved. @meta
array_diff
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_diff_key(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the difference of arrays using keys for comparison @link https://php.net/manual/en/function.array-diff-key.php @param array $array <p> The array to compare from </p> @param array $arrays <p> An array to compare against </p> @return array an array containing all the entries from <code>array</code> whose keys are absent from all of the other arrays. @meta
array_diff_key
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_diff_assoc(array $array, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $arrays, array ...$arrays) : array { }
Computes the difference of arrays with additional index check @link https://php.net/manual/en/function.array-diff-assoc.php @param array $array <p> The array to compare from </p> @param array $arrays <p> An array to compare against </p> @return array an array containing all the values from <code>array</code> that are not present in any of the other arrays. @meta
array_diff_assoc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_sum(array $array) : int|float { }
Calculate the sum of values in an array @link https://php.net/manual/en/function.array-sum.php @param array $array <p> The input array. </p> @return int|float the sum of values as an integer or float.
array_sum
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_product(array $array) : int|float { }
Calculate the product of values in an array @link https://php.net/manual/en/function.array-product.php @param array $array <p> The array. </p> @return int|float the product as an integer or float.
array_product
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_chunk(array $array, int $length, bool $preserve_keys = \false) : array { }
Split an array into chunks @link https://php.net/manual/en/function.array-chunk.php @param array $array <p> The array to work on </p> @param int $length <p> The size of each chunk </p> @param bool $preserve_keys [optional] <p> When set to true keys will be preserved. Default is false which will reindex the chunk numerically </p> @return array a multidimensional numerically indexed array, starting with zero, with each dimension containing size elements.
array_chunk
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")] function array_combine(array $keys, array $values) { }
Creates an array by using one array for keys and another for its values @link https://php.net/manual/en/function.array-combine.php @param array $keys <p> Array of keys to be used. Illegal values for key will be converted to string. </p> @param array $values <p> Array of values to be used </p> @return array|false the combined array, false if the number of elements for each array isn't equal or if the arrays are empty. @meta
array_combine
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_key_exists($key, #[LanguageLevelTypeAware(["8.0" => "array"], default: "array|ArrayObject")] $array) : bool { }
Checks if the given key or index exists in the array @link https://php.net/manual/en/function.array-key-exists.php @param int|string $key <p> Value to check. </p> @param array|ArrayObject $array <p> An array with keys to check. </p> @return bool true on success or false on failure.
array_key_exists
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_key_first(array $array) : string|int|null { }
Gets the first key of an array Get the first key of the given array without affecting the internal array pointer. @link https://secure.php.net/array_key_first @param array $array An array @return string|int|null Returns the first key of array if the array is not empty; NULL otherwise. @since 7.3
array_key_first
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_key_last(array $array) : string|int|null { }
Gets the last key of an array Get the last key of the given array without affecting the internal array pointer. @link https://secure.php.net/array_key_last @param array $array An array @return string|int|null Returns the last key of array if the array is not empty; NULL otherwise. @since 7.3
array_key_last
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function array_is_list(array $array) : bool { }
@link https://secure.php.net/array_is_list @param array $array An array @return bool return true if the array keys are 0 .. count($array)-1 in that order. For other arrays, it returns false. For non-arrays, it throws a TypeError. @since 8.1
array_is_list
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function pos(object|array $array) : mixed { }
Alias: {@see current} @link https://php.net/manual/en/function.pos.php @param array|ArrayAccess $array @return mixed
pos
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function sizeof(\Countable|array $value, int $mode = \COUNT_NORMAL) : int { }
Alias: {@see \count} @link https://php.net/manual/en/function.sizeof.php @param array|Countable $value @param int $mode [optional] @return int<0, max>
sizeof
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function key_exists($key, array $array) : bool { }
Checks if the given key or index exists in the array. The name of this function is array_key_exists() in PHP > 4.0.6. @link https://php.net/manual/en/function.array-key-exists.php @param int|string $key <p> Value to check. </p> @param array $array <p> An array with keys to check. </p> @return bool true on success or false on failure.
key_exists
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Deprecated(since: "8.3")] function assert_options(int $option, mixed $value) : mixed { }
Set/get the various assert flags @link https://php.net/manual/en/function.assert-options.php @param int $option <p> <table> Assert Options <tr valign="top"> <td>Option</td> <td>INI Setting</td> <td>Default value</td> <td>Description</td> </tr> <tr valign="top"> <td>ASSERT_ACTIVE</td> <td>assert.active</td> <td>1</td> <td>enable assert evaluation</td> </tr> <tr valign="top"> <td>ASSERT_WARNING</td> <td>assert.warning</td> <td>1</td> <td>issue a PHP warning for each failed assertion</td> </tr> <tr valign="top"> <td>ASSERT_BAIL</td> <td>assert.bail</td> <td>0</td> <td>terminate execution on failed assertions</td> </tr> <tr valign="top"> <td>ASSERT_QUIET_EVAL</td> <td>assert.quiet_eval</td> <td>0</td> <td> disable error_reporting during assertion expression evaluation </td> </tr> <tr valign="top"> <td>ASSERT_CALLBACK</td> <td>assert.callback</td> <td>null</td> <td>Callback to call on failed assertions</td> </tr> </table> </p> @param mixed $value [optional] <p> An optional new value for the option. </p> @return mixed The original setting of any option.
assert_options
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[ExpectedValues([-1, 0, 1, \false, \true])] function version_compare(string $version1, string $version2, #[ExpectedValues(values: ["<", "lt", "<=", "le", ">", "gt", ">=", "ge", "==", "=", "eq", "!=", "<>", "ne"])] ?string $operator) : int|bool { }
Compares two "PHP-standardized" version number strings @link https://php.net/manual/en/function.version-compare.php @param string $version1 <p> First version number. </p> @param string $version2 <p> Second version number. </p> @param string|null $operator [optional] <p> If you specify the third optional operator argument, you can test for a particular relationship. The possible operators are: &lt;, lt, &lt;=, le, &gt;, gt, &gt;=, ge, ==, =, eq, !=, &lt;&gt;, ne respectively. </p> <p> This parameter is case-sensitive, so values should be lowercase. </p> @return int|bool By default, version_compare returns -1 if the first version is lower than the second, 0 if they are equal, and 1 if the second is lower. </p> <p> When using the optional operator argument, the function will return true if the relationship is the one specified by the operator, false otherwise.
version_compare
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure(\true)] function ftok(string $filename, string $project_id) : int { }
Convert a pathname and a project identifier to a System V IPC key @link https://php.net/manual/en/function.ftok.php @param string $filename <p> Path to an accessible file. </p> @param string $project_id <p> Project identifier. This must be a one character string. </p> @return int On success the return value will be the created key value, otherwise -1 is returned.
ftok
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function str_rot13(string $string) : string { }
Perform the rot13 transform on a string @link https://php.net/manual/en/function.str-rot13.php @param string $string <p> The input string. </p> @return string the ROT13 version of the given string.
str_rot13
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure(\true)] function stream_get_filters() : array { }
Retrieve list of registered filters @link https://php.net/manual/en/function.stream-get-filters.php @return list<string> an indexed array containing the name of all stream filters available.
stream_get_filters
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function stream_isatty($stream) : bool { }
Check if a stream is a TTY @link https://php.net/manual/en/function.stream-isatty.php @param resource $stream @return bool @since 7.2
stream_isatty
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure(\true)] function realpath_cache_get() : array { }
Get the contents of the realpath cache. @link https://php.net/manual/en/function.realpath-cache-get.php @return array Returns an array of realpath cache entries. The keys are original path entries, and the values are arrays of data items, containing the resolved path, expiration date, and other options kept in the cache. @since 5.3.2
realpath_cache_get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure(\true)] function realpath_cache_size() : int { }
Get the amount of memory used by the realpath cache. @link https://php.net/manual/en/function.realpath-cache-size.php @return int Returns how much memory realpath cache is using. @since 5.3.2
realpath_cache_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function get_debug_type(mixed $value) : string { }
Get the type or object name of a variable @param mixed $value The variable being type checked. @return string Possibles values for the returned string are: - "int" - "float" - "bool" - "string" - "array" - "null" - A class name for named classes - "class@anonymous" for an anonymous classes - "resource (xxx)" for any resources where "xxx" is a name of resource - "resource (closed)" for closed resources @since 8.0
get_debug_type
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[Pure] function get_resource_id($resource) : int { }
A more obvious and type-safe form of "(int) $resource" @param resource $resource @return int @since 8.0
get_resource_id
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_9.php
MIT
#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: 'string|float|int|bool|null')] public function key() { }
Returns the yielded key or, if none was specified, an auto-incrementing key or null if the generator is already closed. @return TKey
key
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/standard/_types.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/_types.php
MIT
#[LanguageLevelTypeAware(["8.0" => "SysvMessageQueue|false"], default: "resource|false")] function msg_get_queue(int $key, int $permissions = 0666) { }
Create or attach to a message queue @link https://php.net/manual/en/function.msg-get-queue.php @param int $key <p> Message queue numeric ID </p> @param int $permissions [optional] <p> Queue permissions. Default to 0666. If the message queue already exists, the <i>perms</i> will be ignored. </p> @return resource|SysvMessageQueue|false a resource handle that can be used to access the System V message queue.
msg_get_queue
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/sysvmsg/sysvmsg.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sysvmsg/sysvmsg.php
MIT
#[ArrayShape(["msg_perm.uid" => "int", "msg_perm.gid" => "int", "msg_perm.mode" => "int", "msg_stime" => "int", "msg_rtime" => "int", "msg_ctime" => "int", "msg_qnum" => "int", "msg_qbytes" => "int", "msg_lspid" => "int", "msg_lrpid" => "int"])] function msg_stat_queue(#[LanguageLevelTypeAware(["8.0" => "SysvMessageQueue"], default: "resource")] $queue) : array|false { }
Returns information from the message queue data structure @link https://php.net/manual/en/function.msg-stat-queue.php @param SysvMessageQueue|resource $queue <p> Message queue resource handle </p> @return array|false The return value is an array whose keys and values have the following meanings: <table> Array structure for msg_stat_queue <tr valign="top"> <td>msg_perm.uid</td> <td> The uid of the owner of the queue. </td> </tr> <tr valign="top"> <td>msg_perm.gid</td> <td> The gid of the owner of the queue. </td> </tr> <tr valign="top"> <td>msg_perm.mode</td> <td> The file access mode of the queue. </td> </tr> <tr valign="top"> <td>msg_stime</td> <td> The time that the last message was sent to the queue. </td> </tr> <tr valign="top"> <td>msg_rtime</td> <td> The time that the last message was received from the queue. </td> </tr> <tr valign="top"> <td>msg_ctime</td> <td> The time that the queue was last changed. </td> </tr> <tr valign="top"> <td>msg_qnum</td> <td> The number of messages waiting to be read from the queue. </td> </tr> <tr valign="top"> <td>msg_qbytes</td> <td> The maximum number of bytes allowed in one message queue. On Linux, this value may be read and modified via /proc/sys/kernel/msgmnb. </td> </tr> <tr valign="top"> <td>msg_lspid</td> <td> The pid of the process that sent the last message to the queue. </td> </tr> <tr valign="top"> <td>msg_lrpid</td> <td> The pid of the process that received the last message from the queue. </td> </tr> </table>
msg_stat_queue
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/sysvmsg/sysvmsg.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sysvmsg/sysvmsg.php
MIT
#[LanguageLevelTypeAware(["8.0" => "SysvSemaphore|false"], default: "resource|false")] function sem_get(int $key, int $max_acquire = 1, int $permissions = 0666, bool $auto_release = \true) { }
Get a semaphore id @link https://php.net/manual/en/function.sem-get.php @param int $key @param int $max_acquire [optional] <p> The number of processes that can acquire the semaphore simultaneously is set to <i>max_acquire</i>. </p> @param int $permissions [optional] <p> The semaphore permissions. Actually this value is set only if the process finds it is the only process currently attached to the semaphore. </p> @param bool $auto_release [optional] <p> Specifies if the semaphore should be automatically released on request shutdown. </p> @return resource|false|SysvSemaphore a positive semaphore identifier on success, or <b>FALSE</b> on error.
sem_get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/sysvsem/sysvsem.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sysvsem/sysvsem.php
MIT
#[LanguageLevelTypeAware(["8.0" => "SysvSharedMemory|false"], default: "resource|false")] function shm_attach(int $key, ?int $size, int $permissions = 0666) { }
Creates or open a shared memory segment @link https://php.net/manual/en/function.shm-attach.php @param int $key <p> A numeric shared memory segment ID </p> @param int|null $size [optional] <p> The memory size. If not provided, default to the sysvshm.init_mem in the <i>php.ini</i>, otherwise 10000 bytes. </p> @param int $permissions [optional] <p> The optional permission bits. Default to 0666. </p> @return resource|SysvSharedMemory|false a shared memory segment identifier.
shm_attach
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/sysvshm/sysvshm.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sysvshm/sysvshm.php
MIT
#[Pure] function token_get_all(string $code, #[PhpStormStubsElementAvailable(from: '7.0')] int $flags = 0) : array { }
Split given source into PHP tokens @link https://php.net/manual/en/function.token-get-all.php @param string $code <p> The PHP source to parse. </p> @param int $flags <p> <p> Valid flags: </p><ul> <li> <b>TOKEN_PARSE</b> - Recognises the ability to use reserved words in specific contexts. </li> </ul> </p> @return array An array of token identifiers. Each individual token identifier is either a single character (i.e.: ;, ., &gt;, !, etc...), or a three element array containing the token index in element 0, the string content of the original token in element 1 and the line number in element 2.
token_get_all
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/tokenizer/tokenizer.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/tokenizer/tokenizer.php
MIT
#[Pure] function token_name(int $id) : string { }
Get the symbolic name of a given PHP token @link https://php.net/manual/en/function.token-name.php @param int $id <p> The token value. </p> @return string The symbolic name of the given <i>token</i>.
token_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/tokenizer/tokenizer.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/tokenizer/tokenizer.php
MIT
public function fileName(string $fileName, string $sheetName = 'Sheet1') : self { return $this; }
File Name @param string $fileName @param string $sheetName @return Excel
fileName
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function constMemory(string $fileName, string $sheetName = 'Sheet1') : self { return $this; }
Const memory model @param string $fileName @param string $sheetName @return Excel
constMemory
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function addSheet(?string $sheetName) : self { return $this; }
Add a new worksheet to a workbook. The worksheet name must be a valid Excel worksheet name, i.e. it must be less than 32 character and it cannot contain any of the characters: / \ [ ] : * ? In addition, you cannot use the same, case insensitive, `$sheetName` for more than one worksheet. @param string|null $sheetName @return Excel
addSheet
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function checkoutSheet(string $sheetName) : self { return $this; }
Checkout worksheet @param string $sheetName @return Excel
checkoutSheet
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function header(array $header) : self { return $this; }
Insert data on the first line of the worksheet @param array $header @return Excel
header
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function data(array $data) : self { return $this; }
Insert data on the worksheet @param array $data @return Excel
data
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function autoFilter(string $range) : self { return $this; }
Auto filter on the worksheet @param string $range @return Excel
autoFilter
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertText(int $row, int $column, $data, string $format = null, $formatHandle = null) : self { return $this; }
Insert data on the cell @param int $row @param int $column @param int|string|float $data @param string|null $format @param resource|null $formatHandle @return Excel
insertText
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertDate(int $row, int $column, int $timestamp, string $format = null, $formatHandle = null) : self { return $this; }
Insert date on the cell @param int $row @param int $column @param int $timestamp @param string|null $format @param resource|null $formatHandle @return Excel
insertDate
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertChart(int $row, int $column, $chartResource) : self { return $this; }
Insert chart on the cell @param int $row @param int $column @param resource $chartResource @return Excel
insertChart
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertUrl(int $row, int $column, string $url, $formatHandle = null) : self { return $this; }
Insert url on the cell @param int $row @param int $column @param string $url @param resource|null $formatHandle @return Excel
insertUrl
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertImage(int $row, int $column, string $imagePath, float $width = 1, float $height = 1) : self { return $this; }
Insert image on the cell @param int $row @param int $column @param string $imagePath @param float $width @param float $height @return Excel
insertImage
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function insertFormula(int $row, int $column, string $formula) : self { return $this; }
Insert Formula on the cell @param int $row @param int $column @param string $formula @return Excel
insertFormula
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function MergeCells(string $range, string $data) : self { return $this; }
Merge cells @param string $range @param string $data @return Excel
MergeCells
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function setColumn(string $range, float $cellWidth, $formatHandle = null) : self { return $this; }
Set column cells width or format @param string $range @param float $cellWidth @param resource|null $formatHandle @return Excel
setColumn
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function setRow(string $range, float $cellHeight, $formatHandle = null) : self { return $this; }
Set row cells height or format @param string $range @param float $cellHeight @param resource|null $formatHandle @return Excel
setRow
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function openFile(string $fileName) : self { return $this; }
Open xlsx file @param string $fileName @return Excel
openFile
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function openSheet(string $sheetName = null, int $skipFlag = 0x0) : self { return $this; }
Open sheet default open first sheet @param string|null $sheetName @param int $skipFlag @return Excel
openSheet
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function setType(array $types) : self { return $this; }
Set row cell data type @param array $types @return Excel
setType
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function getSheetData() : array { return []; }
Read values from the sheet @return array
getSheetData
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function nextRow() : array { return []; }
Read values from the sheet @return array
nextRow
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function freezePanes(int $row, int $column) : self { return $this; }
Freeze panes freezePanes(1, 0); // Freeze the first row. freezePanes(0, 1); // Freeze the first column. freezePanes(1, 1); // Freeze first row/column. @param int $row @param int $column @return static
freezePanes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function gridline(int $option) : self { return $this; }
Gridline Display or hide screen and print gridlines using one of the values of \Vtiful\Kernel\Excel::GRIDLINES_HIDE_ALL \Vtiful\Kernel\Excel::GRIDLINES_SHOW_ALL \Vtiful\Kernel\Excel::GRIDLINES_SHOW_PRINT \Vtiful\Kernel\Excel::GRIDLINES_SHOW_SCREEN Excel default is that the screen gridlines are on and the printed worksheet is off. @param int $option @return static
gridline
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function zoom(int $scale) : self { return $this; }
Worksheet zoom Set the worksheet zoom factor in the range 10 <= zoom <= 400: @param int $scale @return static
zoom
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function border(int $style) : self { return $this; }
Cells border @param int $style const BORDER_*** @return static
border
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function align(...$style) : self { return $this; }
Align @param int ...$style const FORMAT_ALIGN_**** @return static
align
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function number(string $format) : self { return $this; }
Number format @param string $format #,##0 @return static
number
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function fontColor(int $color) : self { return $this; }
Font color @param int $color const COLOR_**** @return static
fontColor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function font(string $fontName) : self { return $this; }
Font @param string $fontName @return static
font
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function fontSize(float $size) : self { return $this; }
Font size @param float $size @return static
fontSize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function underline(int $style) : self { return $this; }
Underline @param int $style const UNDERLINE_**** @return static
underline
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
public function background(int $color, int $pattern = self::PATTERN_SOLID) : self { return $this; }
Cell background @param int $color const COLOR_**** @param int $pattern const PATTERN_**** @return static
background
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xlswriter/xlswriter.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] function xml_parser_create(?string $encoding) { }
Create an XML parser @link https://php.net/manual/en/function.xml-parser-create.php @param string|null $encoding [optional] <p> The optional <i>encoding</i> specifies the character encoding for the input/output in PHP 4. Starting from PHP 5, the input encoding is automatically detected, so that the <i>encoding</i> parameter specifies only the output encoding. In PHP 4, the default output encoding is the same as the input charset. If empty string is passed, the parser attempts to identify which encoding the document is encoded in by looking at the heading 3 or 4 bytes. In PHP 5.0.0 and 5.0.1, the default output charset is ISO-8859-1, while in PHP 5.0.2 and upper is UTF-8. The supported encodings are ISO-8859-1, UTF-8 and US-ASCII. </p> @return resource|false|XMLParser a resource handle for the new XML parser.
xml_parser_create
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] function xml_parser_create_ns(?string $encoding, string $separator = ':') { }
Create an XML parser with namespace support @link https://php.net/manual/en/function.xml-parser-create-ns.php @param string|null $encoding [optional] <p> The optional <i>encoding</i> specifies the character encoding for the input/output in PHP 4. Starting from PHP 5, the input encoding is automatically detected, so that the <i>encoding</i> parameter specifies only the output encoding. In PHP 4, the default output encoding is the same as the input charset. In PHP 5.0.0 and 5.0.1, the default output charset is ISO-8859-1, while in PHP 5.0.2 and upper is UTF-8. The supported encodings are ISO-8859-1, UTF-8 and US-ASCII. </p> @param string $separator [optional] <p> With a namespace aware parser tag parameters passed to the various handler functions will consist of namespace and tag name separated by the string specified in <i>separator</i>. </p> @return resource|false|XMLParser a resource handle for the new XML parser.
xml_parser_create_ns
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_object(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, object $object) { }
Use XML Parser within an object @link https://php.net/manual/en/function.xml-set-object.php @param XMLParser|resource $parser <p> A reference to the XML parser to use inside the object. </p> @param object $object <p> The object where to use the XML parser. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_object
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_element_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $start_handler, $end_handler) { }
Set up start and end element handlers @link https://php.net/manual/en/function.xml-set-element-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up start and end element handler functions. </p> @param callable $start_handler <p> The function named by <i>start_element_handler</i> must accept three parameters: <b>start_element_handler</b> <b>resource<i>parser</i></b> <b>string<i>name</i></b> <b>array<i>attribs</i></b> <i>parser</i> The first parameter, parser, is a 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: <b>end_element_handler</b> <b>resource<i>parser</i></b> <b>string<i>name</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_element_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_character_data_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up character data handler @link https://php.net/manual/en/function.xml-set-character-data-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up character data handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept two parameters: <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>data</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_character_data_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_processing_instruction_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up processing instruction (PI) handler @link https://php.net/manual/en/function.xml-set-processing-instruction-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up processing instruction (PI) handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept three parameters: <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>target</i></b> <b>string<i>data</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_processing_instruction_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_default_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up default handler @link https://php.net/manual/en/function.xml-set-default-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up default handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept two parameters: <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>data</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_default_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_unparsed_entity_decl_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up unparsed entity declaration handler @link https://php.net/manual/en/function.xml-set-unparsed-entity-decl-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up unparsed entity declaration handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept six parameters: <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>entity_name</i></b> <b>string<i>base</i></b> <b>string<i>system_id</i></b> <b>string<i>public_id</i></b> <b>string<i>notation_name</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_unparsed_entity_decl_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_notation_decl_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up notation declaration handler @link https://php.net/manual/en/function.xml-set-notation-decl-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up notation declaration handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept five parameters: <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>notation_name</i></b> <b>string<i>base</i></b> <b>string<i>system_id</i></b> <b>string<i>public_id</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_notation_decl_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_external_entity_ref_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up external entity reference handler @link https://php.net/manual/en/function.xml-set-external-entity-ref-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser to set up external entity reference handler function. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept five parameters, and should return an integer value.If the value returned from the handler is <b>FALSE</b> (which it will be if no value is returned), the XML parser will stop parsing and <b>xml_get_error_code</b> will return <b>XML_ERROR_EXTERNAL_ENTITY_HANDLING</b>. <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>open_entity_names</i></b> <b>string<i>base</i></b> <b>string<i>system_id</i></b> <b>string<i>public_id</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_external_entity_ref_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_start_namespace_decl_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up start namespace declaration handler @link https://php.net/manual/en/function.xml-set-start-namespace-decl-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept three parameters, and should return an integer value. If the value returned from the handler is <b>FALSE</b> (which it will be if no value is returned), the XML parser will stop parsing and <b>xml_get_error_code</b> will return <b>XML_ERROR_EXTERNAL_ENTITY_HANDLING</b>. <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>prefix</i></b> <b>string<i>uri</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_start_namespace_decl_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(["8.2" => "true"], default: "bool")] function xml_set_end_namespace_decl_handler(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, $handler) { }
Set up end namespace declaration handler @link https://php.net/manual/en/function.xml-set-end-namespace-decl-handler.php @param XMLParser|resource $parser <p> A reference to the XML parser. </p> @param callable $handler <p> <i>handler</i> is a string containing the name of a function that must exist when <b>xml_parse</b> is called for <i>parser</i>. </p> <p> The function named by <i>handler</i> must accept two parameters, and should return an integer value. If the value returned from the handler is <b>FALSE</b> (which it will be if no value is returned), the XML parser will stop parsing and <b>xml_get_error_code</b> will return <b>XML_ERROR_EXTERNAL_ENTITY_HANDLING</b>. <b>handler</b> <b>resource<i>parser</i></b> <b>string<i>prefix</i></b> <i>parser</i> The first parameter, parser, is a reference to the XML parser calling the handler.</p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
xml_set_end_namespace_decl_handler
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[LanguageLevelTypeAware(['8.1' => 'int|false'], default: 'int')] function xml_parse_into_struct(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, string $data, &$values, &$index) { }
Parse XML data into an array structure @link https://php.net/manual/en/function.xml-parse-into-struct.php @param XMLParser|resource $parser <p> A reference to the XML parser. </p> @param string $data <p> A string containing the XML data. </p> @param array &$values <p> An array containing the values of the XML data </p> @param array &$index [optional] <p> An array containing pointers to the location of the appropriate values in the $values. </p> @return int <b>xml_parse_into_struct</b> returns 0 for failure and 1 for success. This is not the same as <b>FALSE</b> and <b>TRUE</b>, be careful with operators such as ===.
xml_parse_into_struct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function xml_get_error_code(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser) { }
Get XML parser error code @link https://php.net/manual/en/function.xml-get-error-code.php @param XMLParser|resource $parser <p> A reference to the XML parser to get error code from. </p> @return int|false Returns one of the error codes listed in the error codes section.
xml_get_error_code
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] function xml_error_string(int $error_code) : ?string { }
Get XML parser error string @link https://php.net/manual/en/function.xml-error-string.php @param int $error_code <p> An error code from <b>xml_get_error_code</b>. </p> @return string|null a string with a textual description of the error <i>code</i>, or <b>FALSE</b> if no description was found.
xml_error_string
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function xml_get_current_line_number(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser) { }
Get current line number for an XML parser @link https://php.net/manual/en/function.xml-get-current-line-number.php @param XMLParser|resource $parser <p> A reference to the XML parser to get line number 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 which line the parser is currently at in its data buffer.
xml_get_current_line_number
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function xml_get_current_column_number(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser) { }
Get current column number for an XML parser @link https://php.net/manual/en/function.xml-get-current-column-number.php @param XMLParser|resource $parser <p> A reference to the XML parser to get column number 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 which column on the current line (as given by <b>xml_get_current_line_number</b>) the parser is currently at.
xml_get_current_column_number
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function xml_get_current_byte_index(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser) { }
Get current byte index for an XML parser @link https://php.net/manual/en/function.xml-get-current-byte-index.php @param XMLParser|resource $parser <p> A reference to the XML parser to get byte index 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 which byte index the parser is currently at in its data buffer (starting at 0).
xml_get_current_byte_index
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[Pure] #[LanguageLevelTypeAware(["8.3" => "string|int|bool"], default: "string|int")] function xml_parser_get_option(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, int $option) { }
Get options from an XML parser @link https://php.net/manual/en/function.xml-parser-get-option.php @param XMLParser|resource $parser A reference to the XML parser to get an option from. @param int $option Which option to fetch. <b>XML_OPTION_CASE_FOLDING</b> and <b>XML_OPTION_TARGET_ENCODING</b> are available. See <b>xml_parser_set_option</b> for their description. @return string|int|bool This function returns <b>FALSE</b> if <i>parser</i> does not refer to a valid parser or if <i>option</i> isn't valid (generates also a <b>E_WARNING</b>). Else the option's value is returned.
xml_parser_get_option
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xml/xml.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xml/xml.php
MIT
#[TentativeType] public function getAttribute(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) : ?string { }
Get the value of a named attribute @link https://php.net/manual/en/xmlreader.getattribute.php @param string $name <p> The name of the attribute. </p> @return string|null The value of the attribute, or <b>NULL</b> if no attribute with the given <i>name</i> is found or not positioned on an element node. @since 5.1.2
getAttribute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT
#[TentativeType] public function getAttributeNo(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $index) : ?string { }
Get the value of an attribute by index @link https://php.net/manual/en/xmlreader.getattributeno.php @param int $index <p> The position of the attribute. </p> @return string|null The value of the attribute, or <b>NULL</b> if no attribute exists at <i>index</i> or not positioned of element. @since 5.1.2
getAttributeNo
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT
#[TentativeType] public function getAttributeNs(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $namespace) : ?string { }
Get the value of an attribute by localname and URI @link https://php.net/manual/en/xmlreader.getattributens.php @param string $name <p> The local name. </p> @param string $namespace <p> The namespace URI. </p> @return string|null The value of the attribute, or <b>NULL</b> if no attribute with the given <i>localName</i> and <i>namespaceURI</i> is found or not positioned of element. @since 5.1.2
getAttributeNs
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT
#[TentativeType] public function getParserProperty(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $property) : bool { }
Indicates if specified property has been set @link https://php.net/manual/en/xmlreader.getparserproperty.php @param int $property <p> One of the parser option constants. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. @since 5.1.2
getParserProperty
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT
#[TentativeType] public function isValid() : bool { }
Indicates if the parsed document is valid @link https://php.net/manual/en/xmlreader.isvalid.php @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. @since 5.1.2
isValid
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT
#[TentativeType] public function lookupNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $prefix) : ?string { }
Lookup namespace for a prefix @link https://php.net/manual/en/xmlreader.lookupnamespace.php @param string $prefix <p> String containing the prefix. </p> @return string|null <b>TRUE</b> on success or <b>FALSE</b> on failure. @since 5.1.2
lookupNamespace
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/xmlreader/xmlreader.php
MIT