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 bzcompress(string $data, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.0')] int $blocksize, #[PhpStormStubsElementAvailable(from: '7.1')] int $block_size = 4, int $work_factor = 0) : string|int
{
}
|
Compress a string into bzip2 encoded data
@link https://php.net/manual/en/function.bzcompress.php
@param string $data <p>
The string to compress.
</p>
@param int $block_size <p>
Specifies the blocksize used during compression and should be a number
from 1 to 9 with 9 giving the best compression, but using more
resources to do so.
</p>
@param int $work_factor [optional] <p>
Controls how the compression phase behaves when presented with worst
case, highly repetitive, input data. The value can be between 0 and
250 with 0 being a special case.
</p>
<p>
Regardless of the <i>workfactor</i>, the generated
output is the same.
</p>
@return string|int The compressed string, or an error number if an error occurred.
|
bzcompress
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/bz2/bz2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/bz2/bz2.php
|
MIT
|
#[Pure]
function bzdecompress(string $data, bool $use_less_memory = \false) : string|int|false
{
}
|
Decompresses bzip2 encoded data
@link https://php.net/manual/en/function.bzdecompress.php
@param string $data <p>
The string to decompress.
</p>
@param bool $use_less_memory [optional] <p>
If <b>TRUE</b>, an alternative decompression algorithm will be used which
uses less memory (the maximum memory requirement drops to around 2300K)
but works at roughly half the speed.
</p>
<p>
See the bzip2 documentation for more
information about this feature.
</p>
@return string|int|false The decompressed string, or an error number if an error occurred.
|
bzdecompress
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/bz2/bz2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/bz2/bz2.php
|
MIT
|
#[ArrayShape(["date" => "string", "month" => "int", "day" => "int", "year" => "int", "dow" => "int", "abbrevdayname" => "string", "dayname" => "string", "abbrevmonth" => "string", "monthname" => "string"])]
function cal_from_jd(int $julian_day, int $calendar) : array
{
}
|
Converts from Julian Day Count to a supported calendar
@link https://php.net/manual/en/function.cal-from-jd.php
@param int $julian_day <p>
Julian day as integer
</p>
@param int $calendar <p>
Calendar to convert to
</p>
@return array an array containing calendar information like month, day, year,
day of week, abbreviated and full names of weekday and month and the
date in string form "month/day/year".
|
cal_from_jd
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/calendar/calendar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/calendar/calendar.php
|
MIT
|
#[ArrayShape(["months" => "array", "abbrevmonths" => "array", "maxdaysinmonth" => "int", "calname" => "string", "calsymbol" => "string"])]
function cal_info(int $calendar = -1) : array
{
}
|
Returns information about a particular calendar
@link https://php.net/manual/en/function.cal-info.php
@param int $calendar [optional] <p>
Calendar to return information for. If no calendar is specified
information about all calendars is returned.
</p>
@return array
|
cal_info
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/calendar/calendar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/calendar/calendar.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ConfigurationException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.DomainException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.InvalidQueryException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.UnpreparedException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.InvalidArgumentException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ServerException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.RangeException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.UnauthorizedException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.LogicException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.UnavailableException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.AuthenticationException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.OverloadedException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ReadTimeoutException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.IsBootstrappingException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ProtocolException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ExecutionException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.InvalidSyntaxException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.RuntimeException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.TimeoutException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.ValidationException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.TruncateException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.AlreadyExistsException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.DivideByZeroException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
@param mixed $message
@param mixed $code
@param mixed $previous
@link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/Exception/class.WriteTimeoutException/#method-__construct
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/cassandra/cassandra.php
|
MIT
|
#[Pure]
function zend_version() : string
{
}
|
Gets the version of the current Zend engine
@link https://php.net/manual/en/function.zend-version.php
@return string the Zend Engine version number, as a string.
|
zend_version
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function func_num_args() : int
{
}
|
Returns the number of arguments passed to the function
@link https://php.net/manual/en/function.func-num-args.php
@return int the number of arguments passed into the current user-defined
function.
|
func_num_args
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function func_get_arg(int $position) : mixed
{
}
|
Return an item from the argument list
@link https://php.net/manual/en/function.func-get-arg.php
@param int $position <p>
The argument offset. Function arguments are counted starting from
zero.
</p>
@return mixed|false the specified argument, or false on error.
|
func_get_arg
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function func_get_args() : array
{
}
|
Returns an array comprising a function's argument list
@link https://php.net/manual/en/function.func-get-args.php
@return array an array in which each element is a copy of the corresponding
member of the current user-defined function's argument list.
|
func_get_args
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function strlen(string $string) : int
{
}
|
Get string length
@link https://php.net/manual/en/function.strlen.php
@param string $string <p>
The string being measured for length.
</p>
@return int<0,max> The length of the <i>string</i> on success,
and 0 if the <i>string</i> is empty.
|
strlen
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function strcmp(string $string1, string $string2) : int
{
}
|
Binary safe string comparison
@link https://php.net/manual/en/function.strcmp.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@return int less 0 if <i>str1</i> is less than
<i>str2</i>; > 0 if <i>str1</i>
is greater than <i>str2</i>, and 0 if they are
equal.
|
strcmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function strncmp(string $string1, string $string2, int $length) : int
{
}
|
Binary safe string comparison of the first n characters
@link https://php.net/manual/en/function.strncmp.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@param int $length <p>
Number of characters to use in the comparison.
</p>
@return int less 0 if <i>str1</i> is less than
<i>str2</i>; > 0 if <i>str1</i>
is greater than <i>str2</i>, and 0 if they are
equal.
|
strncmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function strcasecmp(string $string1, string $string2) : int
{
}
|
Binary safe case-insensitive string comparison
@link https://php.net/manual/en/function.strcasecmp.php
@param string $string1 <p>
The first string
</p>
@param string $string2 <p>
The second string
</p>
@return int less than 0 if <i>str1</i> is less than
<i>str2</i>; > 0 if <i>str1</i>
is greater than <i>str2</i>, and 0 if they are
equal.
|
strcasecmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function strncasecmp(string $string1, string $string2, int $length) : int
{
}
|
Binary safe case-insensitive string comparison of the first n characters
@link https://php.net/manual/en/function.strncasecmp.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@param int $length <p>
The length of strings to be used in the comparison.
</p>
@return int less than 0 if <i>str1</i> is less than
<i>str2</i>; > 0 if <i>str1</i> is
greater than <i>str2</i>, and 0 if they are equal.
|
strncasecmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function str_starts_with(string $haystack, string $needle) : bool
{
}
|
The function returns {@see true} if the passed $haystack starts from the
$needle string or {@see false} otherwise.
@param string $haystack
@param string $needle
@return bool
@since 8.0
|
str_starts_with
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function str_ends_with(string $haystack, string $needle) : bool
{
}
|
The function returns {@see true} if the passed $haystack ends with the
$needle string or {@see false} otherwise.
@param string $haystack
@param string $needle
@return bool
@since 8.0
|
str_ends_with
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function str_contains(string $haystack, string $needle) : bool
{
}
|
Checks if $needle is found in $haystack and returns a boolean value
(true/false) whether or not the $needle was found.
@param string $haystack
@param string $needle
@return bool
@since 8.0
|
str_contains
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Deprecated(reason: "Use a foreach loop instead", since: "7.2")]
function each(&$array) : array
{
}
|
Return the current key and value pair from an array and advance the array cursor
@link https://php.net/manual/en/function.each.php
@param array|ArrayObject &$array <p>
The input array.
</p>
@return array the current key and value pair from the array
<i>array</i>. This pair is returned in a four-element
array, with the keys 0, 1,
key, and value. Elements
0 and key contain the key name of
the array element, and 1 and value
contain the data.
</p>
<p>
If the internal pointer for the array points past the end of the
array contents, <b>each</b> returns
false.
@removed 8.0
|
each
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function defined(string $constant_name) : bool
{
}
|
Checks whether a given named constant exists
@link https://php.net/manual/en/function.defined.php
@param string $constant_name <p>
The constant name.
</p>
@return bool true if the named constant given by <i>name</i>
has been defined, false otherwise.
|
defined
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_called_class() : string
{
}
|
the "Late Static Binding" class name
@link https://php.net/manual/en/function.get-called-class.php
@return string
|
get_called_class
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_parent_class(object|string $object_or_class) : string|false
{
}
|
Retrieves the parent class name for object or class
@link https://php.net/manual/en/function.get-parent-class.php
@param object|string $object_or_class [optional] <p>
The tested object or class name
</p>
@return string|false <p>The name of the parent class of the class of which
<i>object</i> is an instance or the name.
</p>
<p>
If the object does not have a parent false will be returned.
</p>
<p>
If called without parameter outside object, this function returns false.</p>
|
get_parent_class
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function method_exists($object_or_class, string $method) : bool
{
}
|
Checks if the class method exists
@link https://php.net/manual/en/function.method-exists.php
@param object|string $object_or_class <p>
An object instance or a class name
</p>
@param string $method <p>
The method name
</p>
@return bool true if the method given by <i>method_name</i>
has been defined for the given <i>object</i>, false
otherwise.
|
method_exists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function property_exists($object_or_class, string $property) : bool
{
}
|
Checks if the object or class has a property
@link https://php.net/manual/en/function.property-exists.php
@param object|string $object_or_class <p>
The class name or an object of the class to test for
</p>
@param string $property <p>
The name of the property
</p>
@return bool true if the property exists, false if it doesn't exist or
null in case of an error.
|
property_exists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function function_exists(string $function) : bool
{
}
|
Return true if the given function has been defined
@link https://php.net/manual/en/function.function-exists.php
@param string $function <p>
The function name, as a string.
</p>
@return bool true if <i>function_name</i> exists and is a
function, false otherwise.
</p>
<p>
This function will return false for constructs, such as
<b>include_once</b> and <b>echo</b>.
|
function_exists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_included_files() : array
{
}
|
Returns an array with the names of included or required files
@link https://php.net/manual/en/function.get-included-files.php
@return string[] an array of the names of all files.
<p>
The script originally called is considered an "included file," so it will
be listed together with the files referenced by
<b>include</b> and family.
</p>
<p>
Files that are included or required multiple times only show up once in
the returned array.
</p>
|
get_included_files
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_required_files() : array
{
}
|
Alias of <b>get_included_files</b>
@link https://php.net/manual/en/function.get-required-files.php
@return string[]
|
get_required_files
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = \true) : bool
{
}
|
checks if the object has this class as one of its parents or implements it
@link https://php.net/manual/en/function.is-subclass-of.php
@param object|string $object_or_class <p>
A class name or an object instance
</p>
@param string $class <p>
The class name
</p>
@param bool $allow_string [optional] <p>
If this parameter set to false, string class name as object is not allowed.
This also prevents from calling autoloader if the class doesn't exist.
</p>
@return bool This function returns true if the object <i>object</i>,
belongs to a class which is a subclass of
<i>class_name</i>, false otherwise.
|
is_subclass_of
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function is_a(mixed $object_or_class, string $class, bool $allow_string = \false) : bool
{
}
|
Checks if the object is of this class or has this class as one of its parents
@link https://php.net/manual/en/function.is-a.php
@param object|string $object_or_class <p>
The tested object
</p>
@param string $class <p>
The class name
</p>
@param bool $allow_string [optional] <p>
If this parameter set to <b>FALSE</b>, string class name as <em><b>object</b></em>
is not allowed. This also prevents from calling autoloader if the class doesn't exist.
</p>
@return bool <b>TRUE</b> if the object is of this class or has this class as one of
its parents, <b>FALSE</b> otherwise.
|
is_a
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_class_vars(string $class) : array
{
}
|
Get the default properties of the class
@link https://php.net/manual/en/function.get-class-vars.php
@param string $class <p>
The class name
</p>
@return array an associative array of declared properties visible from the
current scope, with their default value.
The resulting array elements are in the form of
varname => value.
|
get_class_vars
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_object_vars(object $object) : array
{
}
|
Gets the properties of the given object
@link https://php.net/manual/en/function.get-object-vars.php
@param object $object <p>
An object instance.
</p>
@return array an associative array of defined object accessible non-static properties
for the specified <i>object</i> in scope. If a property have
not been assigned a value, it will be returned with a null value.
|
get_object_vars
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_class_methods(object|string $object_or_class) : array
{
}
|
Gets the class methods' names
@link https://php.net/manual/en/function.get-class-methods.php
@param object|string $object_or_class <p>
The class name or an object instance
</p>
@return string[] an array of method names defined for the class specified by
<i>class_name</i>. In case of an error, it returns null.
|
get_class_methods
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')]
function restore_error_handler() : bool
{
}
|
Restores the previous error handler function
@link https://php.net/manual/en/function.restore-error-handler.php
@return bool This function always returns true.
|
restore_error_handler
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')]
function restore_exception_handler() : bool
{
}
|
Restores the previously defined exception handler function
@link https://php.net/manual/en/function.restore-exception-handler.php
@return bool This function always returns true.
|
restore_exception_handler
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_declared_classes() : array
{
}
|
Returns an array with the name of the defined classes
@link https://php.net/manual/en/function.get-declared-classes.php
@return string[] an array of the names of the declared classes in the current script.
<p>
Note that depending on what extensions you have compiled or
loaded into PHP, additional classes could be present. This means that
you will not be able to define your own classes using these
names. There is a list of predefined classes in the Predefined Classes section of
the appendices.
</p>
|
get_declared_classes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_declared_interfaces() : array
{
}
|
Returns an array of all declared interfaces
@link https://php.net/manual/en/function.get-declared-interfaces.php
@return string[] an array of the names of the declared interfaces in the current
script.
|
get_declared_interfaces
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_declared_traits() : array
{
}
|
Returns an array of all declared traits
@return array with names of all declared traits in values. Returns NULL in case of a failure.
@link https://secure.php.net/manual/en/function.get-declared-traits.php
@see class_uses()
@since 5.4
|
get_declared_traits
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_defined_functions(#[PhpStormStubsElementAvailable(from: '7.1')] bool $exclude_disabled = \true) : array
{
}
|
Returns an array of all defined functions
@link https://php.net/manual/en/function.get-defined-functions.php
@param bool $exclude_disabled [optional] Whether disabled functions should be excluded from the return value.
@return array an multidimensional array containing a list of all defined
functions, both built-in (internal) and user-defined. The internal
functions will be accessible via $arr["internal"], and
the user defined ones using $arr["user"] (see example
below).
|
get_defined_functions
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_defined_vars() : array
{
}
|
Returns an array of all defined variables
@link https://php.net/manual/en/function.get-defined-vars.php
@return array A multidimensional array with all the variables.
|
get_defined_vars
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Deprecated(reason: "Use anonymous functions instead", since: "7.2")]
function create_function(string $args, string $code) : false|string
{
}
|
Create an anonymous (lambda-style) function
@link https://php.net/manual/en/function.create-function.php
@param string $args <p>
The function arguments.
</p>
@param string $code <p>
The function code.
</p>
@return string|false a unique function name as a string, or false on error.
@removed 8.0
|
create_function
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_loaded_extensions(bool $zend_extensions = \false) : array
{
}
|
Returns an array with the names of all modules compiled and loaded
@link https://php.net/manual/en/function.get-loaded-extensions.php
@param bool $zend_extensions [optional] <p>
Only return Zend extensions, if not then regular extensions, like
mysqli are listed. Defaults to false (return regular extensions).
</p>
@return string[] an indexed array of all the modules names.
|
get_loaded_extensions
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function extension_loaded(string $extension) : bool
{
}
|
Find out whether an extension is loaded
@link https://php.net/manual/en/function.extension-loaded.php
@param string $extension <p>
The extension name.
</p>
<p>
You can see the names of various extensions by using
<b>phpinfo</b> or if you're using the
CGI or CLI version of
PHP you can use the -m switch to
list all available extensions:
<pre>
$ php -m
[PHP Modules]
xml
tokenizer
standard
sockets
session
posix
pcre
overload
mysql
mbstring
ctype
[Zend Modules]
</pre>
</p>
@return bool true if the extension identified by <i>name</i>
is loaded, false otherwise.
|
extension_loaded
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure]
function get_extension_funcs(string $extension) : array|false
{
}
|
Returns an array with the names of the functions of a module
@link https://php.net/manual/en/function.get-extension-funcs.php
@param string $extension <p>
The module name.
</p>
<p>
This parameter must be in lowercase.
</p>
@return string[]|false an array with all the functions, or false if
<i>module_name</i> is not a valid extension.
|
get_extension_funcs
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function get_defined_constants(bool $categorize = \false) : array
{
}
|
Returns an associative array with the names of all the constants and their values
@link https://php.net/manual/en/function.get-defined-constants.php
@param bool $categorize [optional] <p>
Causing this function to return a multi-dimensional
array with categories in the keys of the first dimension and constants
and their values in the second dimension.
<code>
define("MY_CONSTANT", 1);
print_r(get_defined_constants(true));
</code>
The above example will output something similar to:
<pre>
Array
(
[Core] => Array
(
[E_ERROR] => 1
[E_WARNING] => 2
[E_PARSE] => 4
[E_NOTICE] => 8
[E_CORE_ERROR] => 16
[E_CORE_WARNING] => 32
[E_COMPILE_ERROR] => 64
[E_COMPILE_WARNING] => 128
[E_USER_ERROR] => 256
[E_USER_WARNING] => 512
[E_USER_NOTICE] => 1024
[E_STRICT] => 2048
[E_RECOVERABLE_ERROR] => 4096
[E_DEPRECATED] => 8192
[E_USER_DEPRECATED] => 16384
[E_ALL] => 32767
[TRUE] => 1
)
[pcre] => Array
(
[PREG_PATTERN_ORDER] => 1
[PREG_SET_ORDER] => 2
[PREG_OFFSET_CAPTURE] => 256
[PREG_SPLIT_NO_EMPTY] => 1
[PREG_SPLIT_DELIM_CAPTURE] => 2
[PREG_SPLIT_OFFSET_CAPTURE] => 4
[PREG_GREP_INVERT] => 1
)
[user] => Array
(
[MY_CONSTANT] => 1
)
)
</pre>
</p>
@return array
|
get_defined_constants
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[Pure(\true)]
function gc_enabled() : bool
{
}
|
Returns status of the circular reference collector
@link https://php.net/manual/en/function.gc-enabled.php
@return bool true if the garbage collector is enabled, false otherwise.
|
gc_enabled
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[ArrayShape(["runs" => "int", "collected" => "int", "threshold" => "int", "roots" => "int"])]
#[Pure(\true)]
function gc_status() : array
{
}
|
Gets information about the garbage collector
@link https://php.net/manual/en/function.gc-status.php
@return int[] associative array with the following elements:
<ul>
<li>"runs"</li>
<li>"collected"</li>
<li>"threshold"</li>
<li>"roots"</li>
</ul>
@since 7.3
|
gc_status
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core.php
|
MIT
|
#[PhpStormStubsElementAvailable(from: "5.4", to: "8.0")]
private final function __clone() : void
{
}
|
Clone the exception
Tries to clone the Exception, which results in Fatal error.
@link https://php.net/manual/en/exception.clone.php
@return void
|
__clone
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[PhpStormStubsElementAvailable("8.1")]
private function __clone() : void
{
}
|
Clone the exception
Tries to clone the Exception, which results in Fatal error.
@link https://php.net/manual/en/exception.clone.php
@return void
|
__clone
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $message = "", #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $code = 0, #[LanguageLevelTypeAware(['8.0' => 'Throwable|null'], default: 'Throwable')] $previous = null)
{
}
|
Construct the exception. Note: The message is NOT binary safe.
@link https://php.net/manual/en/exception.construct.php
@param string $message [optional] The Exception message to throw.
@param int $code [optional] The Exception code.
@param null|Throwable $previous [optional] The previous throwable used for the exception chaining.
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getMessage() : string
{
}
|
Gets the Exception message
@link https://php.net/manual/en/exception.getmessage.php
@return string the Exception message as a string.
|
getMessage
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getCode()
{
}
|
Gets the Exception code
@link https://php.net/manual/en/exception.getcode.php
@return mixed|int the exception code as integer in
<b>Exception</b> but possibly as other type in
<b>Exception</b> descendants (for example as
string in <b>PDOException</b>).
|
getCode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getFile() : string
{
}
|
Gets the file in which the exception occurred
@link https://php.net/manual/en/exception.getfile.php
@return string the filename in which the exception was created.
|
getFile
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getLine() : int
{
}
|
Gets the line in which the exception occurred
@link https://php.net/manual/en/exception.getline.php
@return int the line number where the exception was created.
|
getLine
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getTrace() : array
{
}
|
Gets the stack trace
@link https://php.net/manual/en/exception.gettrace.php
@return array the Exception stack trace as an array.
|
getTrace
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getPrevious() : ?\Throwable
{
}
|
Returns previous Exception
@link https://php.net/manual/en/exception.getprevious.php
@return null|Throwable Returns the previous {@see Throwable} if available, or <b>NULL</b> otherwise.
or null otherwise.
|
getPrevious
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public final function getTraceAsString() : string
{
}
|
Gets the stack trace as a string
@link https://php.net/manual/en/exception.gettraceasstring.php
@return string the Exception stack trace as a string.
|
getTraceAsString
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[TentativeType]
public function __toString() : string
{
}
|
String representation of the exception
@link https://php.net/manual/en/exception.tostring.php
@return string the string representation of the exception.
|
__toString
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $message = "", #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $code = 0, #[LanguageLevelTypeAware(['8.0' => 'Throwable|null'], default: 'Throwable')] $previous = null)
{
}
|
Construct the error object.
@link https://php.net/manual/en/error.construct.php
@param string $message [optional] The Error message to throw.
@param int $code [optional] The Error code.
@param null|Throwable $previous [optional] The previous throwable used for the exception chaining.
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[PhpStormStubsElementAvailable(from: "7.0", to: "8.0")]
private final function __clone() : void
{
}
|
Clone the error
Error can not be clone, so this method results in fatal error.
@return void
@link https://php.net/manual/en/error.clone.php
|
__clone
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[PhpStormStubsElementAvailable('8.1')]
private function __clone() : void
{
}
|
Clone the error
Error can not be clone, so this method results in fatal error.
@return void
@link https://php.net/manual/en/error.clone.php
|
__clone
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function __construct(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $message = "", #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $code = 0, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $severity = 1, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $filename = null, #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $line = null, #[LanguageLevelTypeAware(['8.0' => 'Throwable|null'], default: 'Throwable')] $previous = null)
{
}
|
Constructs the exception
@link https://php.net/manual/en/errorexception.construct.php
@param string $message [optional] The Exception message to throw.
@param int $code [optional] The Exception code.
@param int $severity [optional] The severity level of the exception.
@param string $filename [optional] The filename where the exception is thrown.
@param int $line [optional] The line number where the exception is thrown.
@param Exception $previous [optional] The previous exception used for the exception chaining.
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function bindTo(?object $newThis, object|string|null $newScope = 'static') : ?\Closure
{
}
|
Duplicates the closure with a new bound object and class scope
@link https://secure.php.net/manual/en/closure.bindto.php
@param object|null $newThis The object to which the given anonymous function should be bound, or NULL for the closure to be unbound.
@param object|class-string|null $newScope The class scope to which associate the closure is to be associated, or 'static' to keep the current one.
If an object is given, the type of the object will be used instead.
This determines the visibility of protected and private methods of the bound object.
@return Closure|null Returns the newly created Closure object or null on failure
|
bindTo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public static function bind(\Closure $closure, ?object $newThis, object|string|null $newScope = 'static') : ?\Closure
{
}
|
This method is a static version of Closure::bindTo().
See the documentation of that method for more information.
@link https://secure.php.net/manual/en/closure.bind.php
@param Closure $closure The anonymous functions to bind.
@param object|null $newThis The object to which the given anonymous function should be bound, or NULL for the closure to be unbound.
@param object|class-string|null $newScope The class scope to which associate the closure is to be associated, or 'static' to keep the current one.
If an object is given, the type of the object will be used instead.
This determines the visibility of protected and private methods of the bound object.
@return Closure|null Returns the newly created Closure object or null on failure
|
bind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public static function create(object $object) : \WeakReference
{
}
|
Create a new weak reference.
@link https://www.php.net/manual/en/weakreference.create.php
@template TIn of object
@param TIn $object Any object.
@return WeakReference<TIn> The freshly instantiated object.
@since 7.4
|
create
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function get() : ?object
{
}
|
Gets a weakly referenced object. If the object has already been
destroyed, NULL is returned.
@link https://www.php.net/manual/en/weakreference.get.php
@return T|null
@since 7.4
|
get
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function offsetExists($object) : bool
{
}
|
Returns {@see true} if the value for the object is contained in
the {@see WeakMap} and {@see false} instead.
@param TKey $object Any object
@return bool
|
offsetExists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function offsetGet($object) : mixed
{
}
|
Returns the existsing value by an object.
@param TKey $object Any object
@return TValue Value associated with the key object
|
offsetGet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function getIterator() : \Iterator
{
}
|
Returns an iterator in the "[object => mixed]" format.
@return Iterator<TKey, TValue>
|
getIterator
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
public function count() : int
{
}
|
Returns the number of items in the {@see WeakMap} instance.
@return int<0,max>
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Core/Core_c.php
|
MIT
|
#[Pure]
function ctype_alnum(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for alphanumeric character(s)
@link https://php.net/manual/en/function.ctype-alnum.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i> is either
a letter or a digit, <b>FALSE</b> otherwise.
|
ctype_alnum
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_alpha(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for alphabetic character(s)
@link https://php.net/manual/en/function.ctype-alpha.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i> is
a letter from the current locale, <b>FALSE</b> otherwise.
|
ctype_alpha
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_cntrl(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for control character(s)
@link https://php.net/manual/en/function.ctype-cntrl.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i> is
a control character from the current locale, <b>FALSE</b> otherwise.
|
ctype_cntrl
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_digit(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for numeric character(s)
@link https://php.net/manual/en/function.ctype-digit.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in the string
<i>text</i> is a decimal digit, <b>FALSE</b> otherwise.
|
ctype_digit
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_lower(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for lowercase character(s)
@link https://php.net/manual/en/function.ctype-lower.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i> is
a lowercase letter in the current locale.
|
ctype_lower
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_graph(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for any printable character(s) except space
@link https://php.net/manual/en/function.ctype-graph.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i> is
printable and actually creates visible output (no white space), <b>FALSE</b>
otherwise.
|
ctype_graph
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_print(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for printable character(s)
@link https://php.net/manual/en/function.ctype-print.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i>
will actually create output (including blanks). Returns <b>FALSE</b> if
<i>text</i> contains control characters or characters
that do not have any output or control function at all.
|
ctype_print
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_punct(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for any printable character which is not whitespace or an
alphanumeric character
@link https://php.net/manual/en/function.ctype-punct.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i>
is printable, but neither letter, digit or blank, <b>FALSE</b> otherwise.
|
ctype_punct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
#[Pure]
function ctype_space(#[LanguageLevelTypeAware(['8.1' => 'string'], default: 'mixed')] mixed $text) : bool
{
}
|
Check for whitespace character(s)
@link https://php.net/manual/en/function.ctype-space.php
@param string $text <p>
The tested string.
</p>
@return bool <b>TRUE</b> if every character in <i>text</i>
creates some sort of white space, <b>FALSE</b> otherwise. Besides the
blank character this also includes tab, vertical tab, line feed,
carriage return and form feed characters.
|
ctype_space
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php
|
MIT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.