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 getservbyname(string $service, string $protocol) : int|false
{
}
|
Get port number associated with an Internet service and protocol
@link https://php.net/manual/en/function.getservbyname.php
@param string $service <p>
The Internet service name, as a string.
</p>
@param string $protocol <p>
protocol is either "tcp"
or "udp" (in lowercase).
</p>
@return int|false the port number, or false if service or
protocol is not found.
|
getservbyname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getservbyport(int $port, string $protocol) : string|false
{
}
|
Get Internet service which corresponds to port and protocol
@link https://php.net/manual/en/function.getservbyport.php
@param int $port <p>
The port number.
</p>
@param string $protocol <p>
protocol is either "tcp"
or "udp" (in lowercase).
</p>
@return string|false the Internet service name as a string.
|
getservbyport
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getprotobyname(string $protocol) : int|false
{
}
|
Get protocol number associated with protocol name
@link https://php.net/manual/en/function.getprotobyname.php
@param string $protocol <p>
The protocol name.
</p>
@return int|false the protocol number or -1 if the protocol is not found.
|
getprotobyname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getprotobynumber(int $protocol) : string|false
{
}
|
Get protocol name associated with protocol number
@link https://php.net/manual/en/function.getprotobynumber.php
@param int $protocol <p>
The protocol number.
</p>
@return string|false the protocol name as a string.
|
getprotobynumber
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getmyuid() : int|false
{
}
|
Gets PHP script owner's UID
@link https://php.net/manual/en/function.getmyuid.php
@return int|false the user ID of the current script, or false on error.
|
getmyuid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getmygid() : int|false
{
}
|
Get PHP script owner's GID
@link https://php.net/manual/en/function.getmygid.php
@return int|false the group ID of the current script, or false on error.
|
getmygid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getmypid() : int|false
{
}
|
Gets PHP's process ID
@link https://php.net/manual/en/function.getmypid.php
@return int|false the current PHP process ID, or false on error.
|
getmypid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure]
function getmyinode() : int|false
{
}
|
Gets the inode of the current script
@link https://php.net/manual/en/function.getmyinode.php
@return int|false the current script's inode as an integer, or false on error.
|
getmyinode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_2.php
|
MIT
|
#[Pure(\true)]
function getlastmod() : int|false
{
}
|
Gets time of last page modification
@link https://php.net/manual/en/function.getlastmod.php
@return int|false the time of the last modification of the current
page. The value returned is a Unix timestamp, suitable for
feeding to date. Returns false on error.
|
getlastmod
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function base64_decode(string $string, bool $strict = \false) : string|false
{
}
|
Decodes data encoded with MIME base64
@link https://php.net/manual/en/function.base64-decode.php
@param string $string <p>
The encoded data.
</p>
@param bool $strict [optional] <p>
Returns false if input contains character from outside the base64
alphabet.
</p>
@return string|false the original data or false on failure. The returned data may be
binary.
|
base64_decode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function base64_encode(string $string) : string
{
}
|
Encodes data with MIME base64
@link https://php.net/manual/en/function.base64-encode.php
@param string $string <p>
The data to encode.
</p>
@return string The encoded data, as a string.
|
base64_encode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function convert_uuencode(string $string) : string
{
}
|
Uuencode a string
@link https://php.net/manual/en/function.convert-uuencode.php
@param string $string <p>
The data to be encoded.
</p>
@return string the uuencoded data.
|
convert_uuencode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function convert_uudecode(string $string) : string|false
{
}
|
Decode a uuencoded string
@link https://php.net/manual/en/function.convert-uudecode.php
@param string $string <p>
The uuencoded data.
</p>
@return string|false the decoded data as a string.
|
convert_uudecode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function abs(int|float $num) : int|float
{
}
|
Absolute value
@link https://php.net/manual/en/function.abs.php
@param int|float $num <p>
The numeric value to process
</p>
@return float|int The absolute value of number. If the
argument number is
of type float, the return type is also float,
otherwise it is integer (as float usually has a
bigger value range than integer).
|
abs
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
#[LanguageLevelTypeAware(["8.0" => "float"], default: "float|false")]
function ceil(int|float $num)
{
}
|
Round fractions up
@link https://php.net/manual/en/function.ceil.php
@param int|float $num <p>
The value to round
</p>
@return float|false value rounded up to the next highest
integer.
The return value of ceil is still of type
float as the value range of float is
usually bigger than that of integer.
|
ceil
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
#[LanguageLevelTypeAware(["8.0" => "float"], default: "float|false")]
function floor(int|float $num)
{
}
|
Round fractions down
@link https://php.net/manual/en/function.floor.php
@param int|float $num <p>
The numeric value to round
</p>
@return float|false value rounded to the next lowest integer.
The return value of floor is still of type
float because the value range of float is
usually bigger than that of integer.
|
floor
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function round(int|float $num, int $precision = 0, int $mode = \PHP_ROUND_HALF_UP) : float
{
}
|
Returns the rounded value of val to specified precision (number of digits after the decimal point).
precision can also be negative or zero (default).
Note: PHP doesn't handle strings like "12,300.2" correctly by default. See converting from strings.
@link https://php.net/manual/en/function.round.php
@param int|float $num <p>
The value to round
</p>
@param int $precision [optional] <p>
The optional number of decimal digits to round to.
</p>
@param int $mode [optional] <p>
One of PHP_ROUND_HALF_UP,
PHP_ROUND_HALF_DOWN,
PHP_ROUND_HALF_EVEN, or
PHP_ROUND_HALF_ODD.
</p>
@return float The rounded value
|
round
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function sin(float $num) : float
{
}
|
Sine
@link https://php.net/manual/en/function.sin.php
@param float $num <p>
A value in radians
</p>
@return float The sine of arg
|
sin
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function cos(float $num) : float
{
}
|
Cosine
@link https://php.net/manual/en/function.cos.php
@param float $num <p>
An angle in radians
</p>
@return float The cosine of arg
|
cos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function tan(float $num) : float
{
}
|
Tangent
@link https://php.net/manual/en/function.tan.php
@param float $num <p>
The argument to process in radians
</p>
@return float The tangent of arg
|
tan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function asin(float $num) : float
{
}
|
Arc sine
@link https://php.net/manual/en/function.asin.php
@param float $num <p>
The argument to process
</p>
@return float The arc sine of arg in radians
|
asin
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function acos(float $num) : float
{
}
|
Arc cosine
@link https://php.net/manual/en/function.acos.php
@param float $num <p>
The argument to process
</p>
@return float The arc cosine of arg in radians.
|
acos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function atan(float $num) : float
{
}
|
Arc tangent
@link https://php.net/manual/en/function.atan.php
@param float $num <p>
The argument to process
</p>
@return float The arc tangent of arg in radians.
|
atan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function atanh(float $num) : float
{
}
|
Inverse hyperbolic tangent
@link https://php.net/manual/en/function.atanh.php
@param float $num <p>
The argument to process
</p>
@return float Inverse hyperbolic tangent of arg
|
atanh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function atan2(float $y, float $x) : float
{
}
|
Arc tangent of two variables
@link https://php.net/manual/en/function.atan2.php
@param float $y <p>
Dividend parameter
</p>
@param float $x <p>
Divisor parameter
</p>
@return float The arc tangent of y/x
in radians.
|
atan2
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function sinh(float $num) : float
{
}
|
Hyperbolic sine
@link https://php.net/manual/en/function.sinh.php
@param float $num <p>
The argument to process
</p>
@return float The hyperbolic sine of arg
|
sinh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function cosh(float $num) : float
{
}
|
Hyperbolic cosine
@link https://php.net/manual/en/function.cosh.php
@param float $num <p>
The argument to process
</p>
@return float The hyperbolic cosine of arg
|
cosh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function tanh(float $num) : float
{
}
|
Hyperbolic tangent
@link https://php.net/manual/en/function.tanh.php
@param float $num <p>
The argument to process
</p>
@return float The hyperbolic tangent of arg
|
tanh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function asinh(float $num) : float
{
}
|
Inverse hyperbolic sine
@link https://php.net/manual/en/function.asinh.php
@param float $num <p>
The argument to process
</p>
@return float The inverse hyperbolic sine of arg
|
asinh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function acosh(float $num) : float
{
}
|
Inverse hyperbolic cosine
@link https://php.net/manual/en/function.acosh.php
@param float $num <p>
The value to process
</p>
@return float The inverse hyperbolic cosine of arg
|
acosh
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function expm1(float $num) : float
{
}
|
Returns exp(number) - 1, computed in a way that is accurate even
when the value of number is close to zero
@link https://php.net/manual/en/function.expm1.php
@param float $num <p>
The argument to process
</p>
@return float 'e' to the power of arg minus one
|
expm1
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function log1p(float $num) : float
{
}
|
Returns log(1 + number), computed in a way that is accurate even when
the value of number is close to zero
@link https://php.net/manual/en/function.log1p.php
@param float $num <p>
The argument to process
</p>
@return float log(1 + number)
|
log1p
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function pi() : float
{
}
|
Get value of pi
@link https://php.net/manual/en/function.pi.php
@return float The value of pi as float.
|
pi
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function is_finite(float $num) : bool
{
}
|
Finds whether a value is a legal finite number
@link https://php.net/manual/en/function.is-finite.php
@param float $num <p>
The value to check
</p>
@return bool true if val is a legal finite
number within the allowed range for a PHP float on this platform,
else false.
|
is_finite
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function is_nan(float $num) : bool
{
}
|
Finds whether a value is not a number
@link https://php.net/manual/en/function.is-nan.php
@param float $num <p>
The value to check
</p>
@return bool true if val is 'not a number',
else false.
|
is_nan
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function intdiv(int $num1, int $num2) : int
{
}
|
Integer division
@link https://php.net/manual/en/function.intdiv.php
@param int $num1 <p>Number to be divided.</p>
@param int $num2 <p>Number which divides the <b><i>dividend</i></b></p>
@return int
@since 7.0
@throws DivisionByZeroError <p>if divisor is 0</p>
@throws ArithmeticError <p>if the <b><i>dividend</i></b> is <b>PHP_INT_MIN</b> and the <b><i>divisor</i></b> is -1</p>
|
intdiv
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function is_infinite(float $num) : bool
{
}
|
Finds whether a value is infinite
@link https://php.net/manual/en/function.is-infinite.php
@param float $num <p>
The value to check
</p>
@return bool true if val is infinite, else false.
|
is_infinite
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function pow(mixed $num, mixed $exponent) : object|int|float
{
}
|
Exponential expression
@link https://php.net/manual/en/function.pow.php
@param mixed $num <p>
The base to use
</p>
@param mixed $exponent <p>
The exponent
</p>
@return object|int|float base raised to the power of exp.
If the result can be represented as integer it will be returned as type
integer, else it will be returned as type float.
If the power cannot be computed false will be returned instead.
|
pow
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function exp(float $num) : float
{
}
|
Calculates the exponent of <constant>e</constant>
@link https://php.net/manual/en/function.exp.php
@param float $num <p>
The argument to process
</p>
@return float 'e' raised to the power of arg
|
exp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function log(float $num, float $base = \M_E) : float
{
}
|
Natural logarithm
@link https://php.net/manual/en/function.log.php
@param float $num <p>
The value to calculate the logarithm for
</p>
@param float $base [optional] <p>
The optional logarithmic base to use
(defaults to 'e' and so to the natural logarithm).
</p>
@return float The logarithm of arg to
base, if given, or the
natural logarithm.
|
log
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function log10(float $num) : float
{
}
|
Base-10 logarithm
@link https://php.net/manual/en/function.log10.php
@param float $num <p>
The argument to process
</p>
@return float The base-10 logarithm of arg
|
log10
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function sqrt(float $num) : float
{
}
|
Square root
@link https://php.net/manual/en/function.sqrt.php
@param float $num <p>
The argument to process
</p>
@return float The square root of arg
or the special value NAN for negative numbers.
|
sqrt
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function hypot(float $x, float $y) : float
{
}
|
Calculate the length of the hypotenuse of a right-angle triangle
@link https://php.net/manual/en/function.hypot.php
@param float $x <p>
Length of first side
</p>
@param float $y <p>
Length of second side
</p>
@return float Calculated length of the hypotenuse
|
hypot
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function deg2rad(float $num) : float
{
}
|
Converts the number in degrees to the radian equivalent
@link https://php.net/manual/en/function.deg2rad.php
@param float $num <p>
Angular value in degrees
</p>
@return float The radian equivalent of number
|
deg2rad
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function rad2deg(float $num) : float
{
}
|
Converts the radian number to the equivalent number in degrees
@link https://php.net/manual/en/function.rad2deg.php
@param float $num <p>
A radian value
</p>
@return float The equivalent of number in degrees
|
rad2deg
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function bindec(string $binary_string) : int|float
{
}
|
Binary to decimal
@link https://php.net/manual/en/function.bindec.php
@param string $binary_string <p>
The binary string to convert
</p>
@return int|float The decimal value of binary_string
|
bindec
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function hexdec(string $hex_string) : int|float
{
}
|
Hexadecimal to decimal
@link https://php.net/manual/en/function.hexdec.php
@param string $hex_string <p>
The hexadecimal string to convert
</p>
@return int|float The decimal representation of hex_string
|
hexdec
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function octdec(string $octal_string) : int|float
{
}
|
Octal to decimal
@link https://php.net/manual/en/function.octdec.php
@param string $octal_string <p>
The octal string to convert
</p>
@return int|float The decimal representation of octal_string
|
octdec
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function decbin(int $num) : string
{
}
|
Decimal to binary
@link https://php.net/manual/en/function.decbin.php
@param int $num <p>
Decimal value to convert
</p>
<table>
Range of inputs on 32-bit machines
<tr valign="top">
<td>positive number</td>
<td>negative number</td>
<td>return value</td>
</tr>
<tr valign="top">
<td>0</td>
<td></td>
<td>0</td>
</tr>
<tr valign="top">
<td>1</td>
<td></td>
<td>1</td>
</tr>
<tr valign="top">
<td>2</td>
<td></td>
<td>10</td>
</tr>
<tr valign="top">
... normal progression ...</td>
</tr>
<tr valign="top">
<td>2147483646</td>
<td></td>
<td>1111111111111111111111111111110</td>
</tr>
<tr valign="top">
<td>2147483647 (largest signed integer)</td>
<td></td>
<td>1111111111111111111111111111111 (31 1's)</td>
</tr>
<tr valign="top">
<td>2147483648</td>
<td>-2147483648</td>
<td>10000000000000000000000000000000</td>
</tr>
<tr valign="top">
... normal progression ...</td>
</tr>
<tr valign="top">
<td>4294967294</td>
<td>-2</td>
<td>11111111111111111111111111111110</td>
</tr>
<tr valign="top">
<td>4294967295 (largest unsigned integer)</td>
<td>-1</td>
<td>11111111111111111111111111111111 (32 1's)</td>
</tr>
</table>
<table>
Range of inputs on 64-bit machines
<tr valign="top">
<td>positive number</td>
<td>negative number</td>
<td>return value</td>
</tr>
<tr valign="top">
<td>0</td>
<td></td>
<td>0</td>
</tr>
<tr valign="top">
<td>1</td>
<td></td>
<td>1</td>
</tr>
<tr valign="top">
<td>2</td>
<td></td>
<td>10</td>
</tr>
<tr valign="top">
... normal progression ...</td>
</tr>
<tr valign="top">
<td>9223372036854775806</td>
<td></td>
<td>111111111111111111111111111111111111111111111111111111111111110</td>
</tr>
<tr valign="top">
<td>9223372036854775807 (largest signed integer)</td>
<td></td>
<td>111111111111111111111111111111111111111111111111111111111111111 (31 1's)</td>
</tr>
<tr valign="top">
<td></td>
<td>-9223372036854775808</td>
<td>1000000000000000000000000000000000000000000000000000000000000000</td>
</tr>
<tr valign="top">
... normal progression ...</td>
</tr>
<tr valign="top">
<td></td>
<td>-2</td>
<td>1111111111111111111111111111111111111111111111111111111111111110</td>
</tr>
<tr valign="top">
<td></td>
<td>-1</td>
<td>1111111111111111111111111111111111111111111111111111111111111111 (64 1's)</td>
</tr>
</table>
@return string Binary string representation of number
|
decbin
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function decoct(int $num) : string
{
}
|
Decimal to octal
@link https://php.net/manual/en/function.decoct.php
@param int $num <p>
Decimal value to convert
</p>
@return string Octal string representation of number
|
decoct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function dechex(int $num) : string
{
}
|
Decimal to hexadecimal
@link https://php.net/manual/en/function.dechex.php
@param int $num <p>
Decimal value to convert
</p>
@return string Hexadecimal string representation of number
|
dechex
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function base_convert(string $num, int $from_base, int $to_base) : string
{
}
|
Convert a number between arbitrary bases
@link https://php.net/manual/en/function.base-convert.php
@param string $num <p>
The number to convert
</p>
@param int $from_base <p>
The base number is in
</p>
@param int $to_base <p>
The base to convert number to
</p>
@return string number converted to base tobase
|
base_convert
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function number_format(float $num, int $decimals = 0, ?string $decimal_separator = '.', ?string $thousands_separator = ',') : string
{
}
|
Format a number with grouped thousands
@link https://php.net/manual/en/function.number-format.php
@param float $num <p>
The number being formatted.
</p>
@param int $decimals [optional] <p>
Sets the number of decimal points.
</p>
@param string|null $decimal_separator [optional]
@param string|null $thousands_separator [optional]
@return string A formatted version of number.
|
number_format
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function fmod(float $num1, float $num2) : float
{
}
|
Returns the floating point remainder (modulo) of the division
of the arguments
@link https://php.net/manual/en/function.fmod.php
@param float $num1 <p>
The dividend
</p>
@param float $num2 <p>
The divisor
</p>
@return float The floating point remainder of
x/y
|
fmod
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function fdiv(float $num1, float $num2) : float
{
}
|
Performs a floating-point division under
IEEE 754 semantics. Division by zero is considered well-defined and
will return one of Inf, -Inf or NaN.
@param float $num1
@param float $num2
@return float
@since 8.0
|
fdiv
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function inet_ntop(string $ip) : string|false
{
}
|
Converts a packed internet address to a human readable representation
@link https://php.net/manual/en/function.inet-ntop.php
@param string $ip <p>
A 32bit IPv4, or 128bit IPv6 address.
</p>
@return string|false a string representation of the address or false on failure.
|
inet_ntop
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function inet_pton(string $ip) : string|false
{
}
|
Converts a human readable IP address to its packed in_addr representation
@link https://php.net/manual/en/function.inet-pton.php
@param string $ip <p>
A human readable IPv4 or IPv6 address.
</p>
@return string|false the in_addr representation of the given
address
|
inet_pton
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function ip2long(string $ip) : int|false
{
}
|
Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer
@link https://php.net/manual/en/function.ip2long.php
@param string $ip <p>
A standard format address.
</p>
@return int|false the IPv4 address or false if ip_address
is invalid.
|
ip2long
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function long2ip(int $ip) : string|false
{
}
|
Converts an long integer address into a string in (IPv4) internet standard dotted format
@link https://php.net/manual/en/function.long2ip.php
@param int $ip <p>
A proper address representation.
</p>
@return string|false the Internet IP address as a string.
|
long2ip
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
function getenv(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.0')] $varname, #[PhpStormStubsElementAvailable(from: '7.1')] ?string $name = null, #[PhpStormStubsElementAvailable(from: '5.6')] bool $local_only = \false) : array|string|false
{
}
|
Gets the value of an environment variable
@link https://php.net/manual/en/function.getenv.php
@param string|null $name <p>
The variable name.
</p>
@param bool $local_only [optional] <p>
Set to true to only return local environment variables (set by the operating system or putenv).
</p>
@return string|array|false the value of the environment variable
varname or an associative array with all environment variables if no variable name
is provided, or false on an error.
|
getenv
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
function sys_getloadavg() : array|false
{
}
|
Gets system load average
@link https://php.net/manual/en/function.sys-getloadavg.php
@return array|false an array with three samples (last 1, 5 and 15
minutes).
@since 5.1.3
|
sys_getloadavg
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
function microtime(#[TypeContract(true: "float", false: "string")] bool $as_float = \false) : string|float
{
}
|
Return current Unix timestamp with microseconds
@link https://php.net/manual/en/function.microtime.php
@param bool $as_float [optional] <p>
When called without the optional argument, this function returns the string
"msec sec" where sec is the current time measured in the number of
seconds since the Unix Epoch (0:00:00 January 1, 1970 GMT), and
msec is the microseconds part.
Both portions of the string are returned in units of seconds.
</p>
<p>
If the optional get_as_float is set to
true then a float (in seconds) is returned.
</p>
@return string|float
|
microtime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
#[ArrayShape(["sec" => "int", "usec" => "int", "minuteswest" => "int", "dsttime" => "int"])]
function gettimeofday(#[TypeContract(true: "float", false: "int[]")] bool $as_float = \false) : array|float
{
}
|
Get current time
@link https://php.net/manual/en/function.gettimeofday.php
@param bool $as_float [optional] <p>
When set to true, a float instead of an array is returned.
</p>
@return int[]|float By default an array is returned. If return_float
is set, then a float is returned.
</p>
<p>
Array keys:
"sec" - seconds since the Unix Epoch
"usec" - microseconds
"minuteswest" - minutes west of Greenwich
"dsttime" - type of dst correction
|
gettimeofday
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
function getrusage(int $mode = 0) : array|false
{
}
|
Gets the current resource usages
@link https://php.net/manual/en/function.getrusage.php
@param int $mode <p>
If who is 1, getrusage will be called with
RUSAGE_CHILDREN.
</p>
@return array|false an associative array containing the data returned from the system
call. All entries are accessible by using their documented field names.
|
getrusage
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function quoted_printable_decode(string $string) : string
{
}
|
Convert a quoted-printable string to an 8 bit string
@link https://php.net/manual/en/function.quoted-printable-decode.php
@param string $string <p>
The input string.
</p>
@return string the 8-bit binary string.
|
quoted_printable_decode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function quoted_printable_encode(string $string) : string
{
}
|
Convert a 8 bit string to a quoted-printable string
@link https://php.net/manual/en/function.quoted-printable-encode.php
@param string $string <p>
The input string.
</p>
@return string the encoded string.
|
quoted_printable_encode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
#[Deprecated(since: '7.4', reason: 'Us mb_convert_string(), iconv() or UConverter instead.')]
function convert_cyr_string(string $str, string $from, string $to) : string
{
}
|
Convert from one Cyrillic character set to another
@link https://php.net/manual/en/function.convert-cyr-string.php
@param string $str <p>
The string to be converted.
</p>
@param string $from <p>
The source Cyrillic character set, as a single character.
</p>
@param string $to <p>
The target Cyrillic character set, as a single character.
</p>
@return string the converted string.
@removed 8.0
@see mb_convert_string()
@see iconv()
@see UConverter
|
convert_cyr_string
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure(\true)]
function get_current_user() : string
{
}
|
Gets the name of the owner of the current PHP script
@link https://php.net/manual/en/function.get-current-user.php
@return string the username as a string.
|
get_current_user
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Pure]
function get_cfg_var(string $option) : array|string|false
{
}
|
Gets the value of a PHP configuration option
@link https://php.net/manual/en/function.get-cfg-var.php
@param string $option <p>
The configuration option name.
</p>
@return array|string|false the current value of the PHP configuration variable specified by
option, or false if an error occurs.
|
get_cfg_var
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Deprecated(since: '5.3')]
function magic_quotes_runtime(bool $new_setting)
{
}
|
Alias:
{@see set_magic_quotes_runtime}
@link https://php.net/manual/en/function.magic-quotes-runtime.php
@param bool $new_setting
@removed 7.0
|
magic_quotes_runtime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Deprecated(reason: "This function has been DEPRECATED as of PHP 5.4.0. Raises an E_CORE_ERROR", since: "5.3")]
function set_magic_quotes_runtime(bool $new_setting) : bool
{
}
|
Sets the current active configuration setting of magic_quotes_runtime
@link https://php.net/manual/en/function.set-magic-quotes-runtime.php
@param bool $new_setting <p>
false for off, true for on.
</p>
@return bool true on success or false on failure.
@removed 7.0
|
set_magic_quotes_runtime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Deprecated(since: '7.4')]
function get_magic_quotes_gpc() : int
{
}
|
Gets the current configuration setting of magic quotes gpc
@link https://php.net/manual/en/function.get-magic-quotes-gpc.php
@return int 0 if magic quotes gpc are off, 1 otherwise.
@removed 8.0
|
get_magic_quotes_gpc
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Deprecated(since: '7.4')]
function get_magic_quotes_runtime() : int
{
}
|
Gets the current active configuration setting of magic_quotes_runtime
@link https://php.net/manual/en/function.get-magic-quotes-runtime.php
@return int 0 if magic quotes runtime is off, 1 otherwise.
|
get_magic_quotes_runtime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[Deprecated(reason: "This function has been DEPRECATED as of PHP 5.3.0", since: "5.3")]
function import_request_variables(string $types, $prefix = null) : bool
{
}
|
Import GET/POST/Cookie variables into the global scope
@link https://php.net/manual/en/function.import-request-variables.php
@param string $types <p>
Using the types parameter, you can specify
which request variables to import. You can use 'G', 'P' and 'C'
characters respectively for GET, POST and Cookie. These characters are
not case sensitive, so you can also use any combination of 'g', 'p'
and 'c'. POST includes the POST uploaded file information.
</p>
<p>
Note that the order of the letters matters, as when using
"GP", the
POST variables will overwrite GET variables with the same name. Any
other letters than GPC are discarded.
</p>
@param string $prefix [optional] <p>
Variable name prefix, prepended before all variable's name imported
into the global scope. So if you have a GET value named
"userid", and provide a prefix
"pref_", then you'll get a global variable named
$pref_userid.
</p>
<p>
Although the prefix parameter is optional, you
will get an E_NOTICE level
error if you specify no prefix, or specify an empty string as a
prefix. This is a possible security hazard. Notice level errors are
not displayed using the default error reporting level.
</p>
@return bool true on success or false on failure.
@removed 5.4
|
import_request_variables
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_3.php
|
MIT
|
#[ArrayShape(["type" => "int", "message" => "string", "file" => "string", "line" => "int"])]
#[Pure(\true)]
function error_get_last() : ?array
{
}
|
Get the last occurred error
@link https://php.net/manual/en/function.error-get-last.php
@return array|null an associative array describing the last error with keys "type",
"message", "file" and "line". Returns null if there hasn't been an error
yet.
|
error_get_last
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Deprecated(reason: "use call_user_func() instead", since: "5.3")]
function call_user_method(string $method_name, object &$obj, ...$parameter) : mixed
{
}
|
Call a user method on an specific object
@link https://php.net/manual/en/function.call-user-method.php
@param string $method_name
@param object &$obj
@param mixed ...$parameter [optional]
@return mixed
@removed 7.0
@see call_user_func()
|
call_user_method
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Deprecated(reason: "use call_user_func() instead", since: "5.3")]
function call_user_method_array(string $method_name, object &$obj, array $params) : mixed
{
}
|
Call a user method given with an array of parameters
@link https://php.net/manual/en/function.call-user-method-array.php
@param string $method_name
@param object &$obj
@param array $params
@return mixed
@removed 7.0
@see call_user_func()
|
call_user_method_array
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[PhpStormStubsElementAvailable(from: '8.0')]
function var_dump(mixed $value, mixed ...$values) : void
{
}
|
Dumps information about a variable
@link https://php.net/manual/en/function.var-dump.php
@param mixed $value <p>
The variable you want to export.
</p>
@param mixed ...$values [optional]
@return void
|
var_dump
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')]
function var_dump(...$vars) : void
{
}
|
Dumps information about a variable
@link https://php.net/manual/en/function.var-dump.php
@param mixed ...$vars <p>
The variable you want to export.
</p>
@return void
|
var_dump
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function memory_get_usage(bool $real_usage = \false) : int
{
}
|
Returns the amount of memory allocated to PHP
@link https://php.net/manual/en/function.memory-get-usage.php
@param bool $real_usage [optional] <p>
Set this to true to get the real size of memory allocated from
system. If not set or false only the memory used by
emalloc() is reported.
</p>
@return int the memory amount in bytes.
|
memory_get_usage
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function memory_get_peak_usage(bool $real_usage = \false) : int
{
}
|
Returns the peak of memory allocated by PHP
@link https://php.net/manual/en/function.memory-get-peak-usage.php
@param bool $real_usage [optional] <p>
Set this to true to get the real size of memory allocated from
system. If not set or false only the memory used by
emalloc() is reported.
</p>
@return int the memory peak in bytes.
|
memory_get_peak_usage
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[LanguageLevelTypeAware(['8.2' => 'void'], default: 'null|bool')]
function register_shutdown_function(callable $callback, mixed ...$args) : ?bool
{
}
|
Register a function for execution on shutdown
@link https://php.net/manual/en/function.register-shutdown-function.php
@param callable $callback <p>
The shutdown function to register.
</p>
<p>
The shutdown functions are called as the part of the request so that
it's possible to send the output from them. There is currently no way
to process the data with output buffering functions in the shutdown
function.
</p>
<p>
Shutdown functions are called after closing all opened output buffers
thus, for example, its output will not be compressed if zlib.output_compression is
enabled.
</p>
@param mixed ...$args [optional] <p>
It is possible to pass parameters to the shutdown function by passing
additional parameters.
</p>
@return bool|null
|
register_shutdown_function
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function hrtime(bool $as_number = \false) : array|int|float|false
{
}
|
Get the system's high resolution time
@link https://secure.php.net/manual/en/function.hrtime.php
@param bool $as_number <p>Whether the high resolution time should be returned as array or number.<p>
@since 7.3
@return int[]|int|float|false Returns an array of integers in the form [seconds, nanoseconds], if the parameter get_as_number is false.
Otherwise the nanoseconds are returned as integer (64bit platforms) or float (32bit platforms).
|
hrtime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function php_strip_whitespace(string $filename) : string
{
}
|
Return source with stripped comments and whitespace
@link https://php.net/manual/en/function.php-strip-whitespace.php
@param string $filename <p>
Path to the PHP file.
</p>
@return string The stripped source code will be returned on success, or an empty string
on failure.
</p>
<p>
This function works as described as of PHP 5.0.1. Before this it would
only return an empty string. For more information on this bug and its
prior behavior, see bug report
#29606.
|
php_strip_whitespace
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function ini_get(string $option) : string|false
{
}
|
Gets the value of a configuration option
@link https://php.net/manual/en/function.ini-get.php
@link https://php.net/manual/en/ini.list.php
@param string $option <p>
The configuration option name.
</p>
@return string|false the value of the configuration option as a string on success, or
an empty string on failure or for null values.
|
ini_get
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
#[ArrayShape(["global_value" => "string", "local_value" => "string", "access" => "int"])]
function ini_get_all(?string $extension, #[PhpStormStubsElementAvailable(from: '7.0')] bool $details = \true) : array|false
{
}
|
Gets all configuration options
@link https://php.net/manual/en/function.ini-get-all.php
@link https://php.net/manual/en/ini.list.php
@param string|null $extension [optional] <p>
An optional extension name. If set, the function return only options
specific for that extension.
</p>
@param bool $details [optional] <p>
Retrieve details settings or only the current value for each setting.
Default is true (retrieve details).
</p>
@return array|false an associative array with directive name as the array key.
<p>
When details is true (default) the array will
contain global_value (set in
"php.ini"), local_value (perhaps set with
ini_set or ".htaccess"), and
access (the access level).
</p>
<p>
When details is false the value will be the
current value of the option.
</p>
<p>
See the manual section
for information on what access levels mean.
</p>
<p>
It's possible for a directive to have multiple access levels, which is
why access shows the appropriate bitmask values.
</p>
|
ini_get_all
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function get_include_path() : string|false
{
}
|
Gets the current include_path configuration option
@link https://php.net/manual/en/function.get-include-path.php
@return string|false the path, as a string.
|
get_include_path
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Deprecated(since: '7.4')]
function restore_include_path()
{
}
|
Restores the value of the include_path configuration option
@link https://php.net/manual/en/function.restore-include-path.php
@return void
@removed 8.0
|
restore_include_path
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function headers_list() : array
{
}
|
Returns a list of response headers sent (or ready to send)
@link https://php.net/manual/en/function.headers-list.php
@return array a numerically indexed array of headers.
|
headers_list
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function connection_aborted() : int
{
}
|
Check whether client disconnected
@link https://php.net/manual/en/function.connection-aborted.php
@return int 1 if client disconnected, 0 otherwise.
|
connection_aborted
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function connection_status() : int
{
}
|
Returns connection status bitfield
@link https://php.net/manual/en/function.connection-status.php
@return int the connection status bitfield, which can be used against the
CONNECTION_XXX constants to determine the connection
status.
|
connection_status
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function parse_ini_file(string $filename, bool $process_sections = \false, int $scanner_mode = \INI_SCANNER_NORMAL) : array|false
{
}
|
Parse a configuration file
@link https://php.net/manual/en/function.parse-ini-file.php
@param string $filename <p>
The filename of the ini file being parsed.
</p>
@param bool $process_sections [optional] <p>
By setting the process_sections
parameter to true, you get a multidimensional array, with
the section names and settings included. The default
for process_sections is false
</p>
@param int $scanner_mode [optional] <p>
Can either be INI_SCANNER_NORMAL (default) or
INI_SCANNER_RAW. If INI_SCANNER_RAW
is supplied, then option values will not be parsed.
</p>
<p>
As of PHP 5.6.1 can also be specified as <strong><code>INI_SCANNER_TYPED</code></strong>.
In this mode boolean, null and integer types are preserved when possible.
String values <em>"true"</em>, <em>"on"</em> and <em>"yes"</em>
are converted to <b>TRUE</b>. <em>"false"</em>, <em>"off"</em>, <em>"no"</em>
and <em>"none"</em> are considered <b>FALSE</b>. <em>"null"</em> is converted to <b>NULL</b>
in typed mode. Also, all numeric strings are converted to integer type if it is possible.
</p>
@return array|false The settings are returned as an associative array on success,
and false on failure.
|
parse_ini_file
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function parse_ini_string(string $ini_string, bool $process_sections = \false, int $scanner_mode = \INI_SCANNER_NORMAL) : array|false
{
}
|
Parse a configuration string
@link https://php.net/manual/en/function.parse-ini-string.php
@param string $ini_string <p>
The contents of the ini file being parsed.
</p>
@param bool $process_sections [optional] <p>
By setting the process_sections
parameter to true, you get a multidimensional array, with
the section names and settings included. The default
for process_sections is false
</p>
@param int $scanner_mode [optional] <p>
Can either be INI_SCANNER_NORMAL (default) or
INI_SCANNER_RAW. If INI_SCANNER_RAW
is supplied, then option values will not be parsed.
</p>
@return array|false The settings are returned as an associative array on success,
and false on failure.
|
parse_ini_string
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure(\true)]
function is_uploaded_file(string $filename) : bool
{
}
|
Tells whether the file was uploaded via HTTP POST
@link https://php.net/manual/en/function.is-uploaded-file.php
@param string $filename <p>
The filename being checked.
</p>
@return bool true on success or false on failure.
|
is_uploaded_file
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function gethostbyaddr(string $ip) : string|false
{
}
|
Get the Internet host name corresponding to a given IP address
@link https://php.net/manual/en/function.gethostbyaddr.php
@param string $ip <p>
The host IP address.
</p>
@return string|false the host name or the unmodified ip_address
on failure.
|
gethostbyaddr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function gethostbyname(string $hostname) : string
{
}
|
Get the IPv4 address corresponding to a given Internet host name
@link https://php.net/manual/en/function.gethostbyname.php
@param string $hostname <p>
The host name.
</p>
@return string the IPv4 address or a string containing the unmodified
hostname on failure.
|
gethostbyname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function gethostbynamel(string $hostname) : array|false
{
}
|
Get a list of IPv4 addresses corresponding to a given Internet host
name
@link https://php.net/manual/en/function.gethostbynamel.php
@param string $hostname <p>
The host name.
</p>
@return array|false an array of IPv4 addresses or false if
hostname could not be resolved.
|
gethostbynamel
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function gethostname() : string|false
{
}
|
Gets the host name
@link https://php.net/manual/en/function.gethostname.php
@return string|false a string with the hostname on success, otherwise false is
returned.
|
gethostname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function checkdnsrr(string $hostname, string $type = 'MX') : bool
{
}
|
Check DNS records corresponding to a given Internet host name or IP address
@link https://php.net/manual/en/function.checkdnsrr.php
@param string $hostname <p>
host may either be the IP address in
dotted-quad notation or the host name.
</p>
@param string $type [optional] <p>
type may be any one of: A, MX, NS, SOA,
PTR, CNAME, AAAA, A6, SRV, NAPTR, TXT or ANY.
</p>
@return bool true if any records are found; returns false if no records
were found or if an error occurred.
|
checkdnsrr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_4.php
|
MIT
|
#[Pure]
function boolval(mixed $value) : bool
{
}
|
(PHP 5.5.0)<br/>
Get the boolean value of a variable
@param mixed $value <p>the scalar value being converted to a boolean.</p>
@return bool The boolean value of var.
@since 5.5
|
boolval
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_5.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_5.php
|
MIT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.