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 |
---|---|---|---|---|---|---|---|
#[TentativeType]
public function reset() : bool
{
}
|
Resets the result set back to the first row
@link https://php.net/manual/en/sqlite3result.reset.php
@return bool <b>TRUE</b> if the result set is successfully reset
back to the first row, <b>FALSE</b> on failure.
|
reset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[Pure(\true)]
function cli_get_process_title() : ?string
{
}
|
Returns the current process title, as set by cli_set_process_title(). Note that this may not exactly match what is shown in ps or top, depending on your operating system.
@link https://php.net/manual/en/function.cli-get-process-title.php
@return string|null Return a string with the current process title or <b>NULL</b> on error.
@since 5.5
|
cli_get_process_title
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
MIT
|
#[Pure]
function is_iterable(mixed $value) : bool
{
}
|
Verify that the contents of a variable is accepted by the iterable pseudo-type, i.e. that it is an array or an object implementing Traversable
@param mixed $value
@return bool
@since 7.1
@link https://php.net/manual/en/function.is-iterable.php
|
is_iterable
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
MIT
|
#[Pure]
#[Deprecated(replacement: "mb_convert_encoding(%parameter0%, 'UTF-8', 'ISO-8859-1')", since: "8.2")]
function utf8_encode(string $string) : string
{
}
|
Encodes an ISO-8859-1 string to UTF-8
@link https://php.net/manual/en/function.utf8-encode.php
@param string $string <p>
An ISO-8859-1 string.
</p>
@return string the UTF-8 translation of <i>data</i>.
@deprecated 8.2 Consider to use {@link mb_convert_encoding}, {@link UConverter::transcode()} or {@link iconv()}
|
utf8_encode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
MIT
|
#[Pure]
#[Deprecated(replacement: "mb_convert_encoding(%parameter0%, 'ISO-8859-1', 'UTF-8')", since: "8.2")]
function utf8_decode(string $string) : string
{
}
|
Converts a string with ISO-8859-1 characters encoded with UTF-8
to single-byte ISO-8859-1
@link https://php.net/manual/en/function.utf8-decode.php
@param string $string <p>
An UTF-8 encoded string.
</p>
@return string the ISO-8859-1 translation of <i>data</i>.
@deprecated 8.2 Consider to use {@link mb_convert_encoding}, {@link UConverter::transcode()} or {@link iconv()}
|
utf8_decode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/basic.php
|
MIT
|
#[ArrayShape(["algo" => "int", "algoName" => "string", "options" => "array"])]
#[LanguageLevelTypeAware(['8.0' => 'array'], default: '?array')]
function password_get_info(string $hash)
{
}
|
Returns information about the given hash
@link https://secure.php.net/manual/en/function.password-get-info.php
@param string $hash A hash created by password_hash().
@return array|null Returns an associative array with three elements:
<ul>
<li>
<em>algo</em>, which will match a
{@link https://secure.php.net/manual/en/password.constants.php password algorithm constant}
</li>
<li>
<em>algoName</em>, which has the human readable name of the algorithm
</li>
<li>
<em>options</em>, which includes the options
provided when calling @link https://secure.php.net/manual/en/function.password-hash.php" password_hash()
</li>
</ul>
@since 5.5
|
password_get_info
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/password.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/password.php
|
MIT
|
#[TentativeType]
public function filter($in, $out, &$consumed, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $closing) : int
{
}
|
@link https://php.net/manual/en/php-user-filter.filter.php
@param resource $in <p> is a resource pointing to a <i>bucket brigade</i< which contains one or more <i>bucket</i> objects containing data to be filtered.</p>
@param resource $out <p>is a resource pointing to a second bucket brigade into which your modified buckets should be placed.</p>
@param int &$consumed <p>which must <i>always</i> be declared by reference, should be incremented by the length of the data which your filter reads in and alters. In most cases this means you will increment consumed by <i>$bucket->datalen</i> for each <i>$bucket</i>.</p>
@param bool $closing <p>If the stream is in the process of closing (and therefore this is the last pass through the filterchain), the closing parameter will be set to <b>TRUE</b>
@return int <p>
The <b>filter()</b> method must return one of
three values upon completion.
</p><table>
<thead>
<tr>
<th>Return Value</th>
<th>Meaning</th>
</tr>
</thead>
<tbody class="tbody">
<tr>
<td><b>PSFS_PASS_ON</b></td>
<td>
Filter processed successfully with data available in the
<code class="parameter">out</code> <em>bucket brigade</em>.
</td>
</tr>
<tr>
<td><b>PSFS_FEED_ME</b></td>
<td>
Filter processed successfully, however no data was available to
return. More data is required from the stream or prior filter.
</td>
</tr>
<tr>
<td><b>PSFS_ERR_FATAL</b> (default)</td>
<td>
The filter experienced an unrecoverable error and cannot continue.
</td>
</tr>
|
filter
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[TentativeType]
public function onCreate() : bool
{
}
|
@link https://php.net/manual/en/php-user-filter.oncreate.php
@return bool
|
onCreate
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[TentativeType]
public function onClose() : void
{
}
|
@link https://php.net/manual/en/php-user-filter.onclose.php
|
onClose
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[TentativeType]
public function close(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $dir_handle = null) : void
{
}
|
Close directory handle.
Same as closedir(), only dir_handle defaults to $this.
@param resource $dir_handle [optional]
@link https://secure.php.net/manual/en/directory.close.php
|
close
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[TentativeType]
public function rewind(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $dir_handle = null) : void
{
}
|
Rewind directory handle.
Same as rewinddir(), only dir_handle defaults to $this.
@param resource $dir_handle [optional]
@link https://secure.php.net/manual/en/directory.rewind.php
|
rewind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[TentativeType]
public function read(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $dir_handle = null) : string|false
{
}
|
Read entry from directory handle.
Same as readdir(), only dir_handle defaults to $this.
@param resource $dir_handle [optional]
@return string|false
@link https://secure.php.net/manual/en/directory.read.php
|
read
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure(\true)]
function constant(string $name) : mixed
{
}
|
Returns the value of a constant
@link https://php.net/manual/en/function.constant.php
@param string $name <p>
The constant name.
</p>
@return mixed the value of the constant.
@throws Error If the constant is not defined
|
constant
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function bin2hex(string $string) : string
{
}
|
Convert binary data into hexadecimal representation
@link https://php.net/manual/en/function.bin2hex.php
@param string $string <p>
A string.
</p>
@return string the hexadecimal representation of the given string.
|
bin2hex
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")]
function sleep(int $seconds)
{
}
|
Delay execution
@link https://php.net/manual/en/function.sleep.php
@param int<0,max> $seconds <p>
Halt time in seconds.
</p>
@return int|false zero on success, or false on errors. If the call was interrupted
by a signal, sleep returns the number of seconds left
to sleep.
|
sleep
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[ArrayShape(["seconds" => "int", "nanoseconds" => "int"])]
function time_nanosleep(int $seconds, int $nanoseconds) : array|bool
{
}
|
Delay for a number of seconds and nanoseconds
@link https://php.net/manual/en/function.time-nanosleep.php
@param positive-int $seconds <p>
Must be a positive integer.
</p>
@param positive-int $nanoseconds <p>
Must be a positive integer less than 1 billion.
</p>
@return bool|array true on success or false on failure.
<p>
If the delay was interrupted by a signal, an associative array will be
returned with the components:
seconds - number of seconds remaining in
the delay
nanoseconds - number of nanoseconds
remaining in the delay
</p>
|
time_nanosleep
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure(\true)]
#[Deprecated(since: '8.1')]
#[ArrayShape(['tm_sec' => 'int', 'tm_min' => 'int', 'tm_hour' => 'int', 'tm_mday' => 'int', 'tm_mon' => 'int', 'tm_year' => 'int', 'tm_wday' => 'int', 'tm_yday' => 'int', 'unparsed' => 'string'])]
function strptime(string $timestamp, string $format) : array|false
{
}
|
Parse a time/date generated with <function>strftime</function>
@link https://php.net/manual/en/function.strptime.php
@param string $timestamp <p>
The string to parse (e.g. returned from strftime)
</p>
@param string $format <p>
The format used in date (e.g. the same as
used in strftime).
</p>
<p>
For more information about the format options, read the
strftime page.
</p>
@return array|false an array or false on failure.
<p>
<table>
The following parameters are returned in the array
<tr valign="top">
<td>parameters</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>"tm_sec"</td>
<td>Seconds after the minute (0-61)</td>
</tr>
<tr valign="top">
<td>"tm_min"</td>
<td>Minutes after the hour (0-59)</td>
</tr>
<tr valign="top">
<td>"tm_hour"</td>
<td>Hour since midnight (0-23)</td>
</tr>
<tr valign="top">
<td>"tm_mday"</td>
<td>Day of the month (1-31)</td>
</tr>
<tr valign="top">
<td>"tm_mon"</td>
<td>Months since January (0-11)</td>
</tr>
<tr valign="top">
<td>"tm_year"</td>
<td>Years since 1900</td>
</tr>
<tr valign="top">
<td>"tm_wday"</td>
<td>Days since Sunday (0-6)</td>
</tr>
<tr valign="top">
<td>"tm_yday"</td>
<td>Days since January 1 (0-365)</td>
</tr>
<tr valign="top">
<td>"unparsed"</td>
<td>the date part which was not
recognized using the specified format</td>
</tr>
</table>
</p>
@deprecated 8.1
|
strptime
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function wordwrap(string $string, int $width = 75, string $break = "\n", bool $cut_long_words = \false) : string
{
}
|
Wraps a string to a given number of characters
@link https://php.net/manual/en/function.wordwrap.php
@param string $string <p>
The input string.
</p>
@param int $width [optional] <p>
The number of characters at which the string will be wrapped.
</p>
@param string $break [optional] <p>
The line is broken using the optional
break parameter.
</p>
@param bool $cut_long_words [optional] <p>
If the cut is set to true, the string is
always wrapped at or before the specified width. So if you have
a word that is larger than the given width, it is broken apart.
(See second example).
</p>
@return string the given string wrapped at the specified length.
|
wordwrap
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function htmlentities(string $string, int $flags = \ENT_QUOTES | \ENT_SUBSTITUTE, ?string $encoding, bool $double_encode = \true) : string
{
}
|
Convert all applicable characters to HTML entities
@link https://php.net/manual/en/function.htmlentities.php
@param string $string <p>
The input string.
</p>
@param int $flags [optional] <p>
Like htmlspecialchars, the optional second
quote_style parameter lets you define what will
be done with 'single' and "double" quotes. It takes on one of three
constants with the default being ENT_COMPAT:
<table>
Available quote_style constants
<tr valign="top">
<td>Constant Name</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>ENT_COMPAT</td>
<td>Will convert double-quotes and leave single-quotes alone.</td>
</tr>
<tr valign="top">
<td>ENT_QUOTES</td>
<td>Will convert both double and single quotes.</td>
</tr>
<tr valign="top">
<td>ENT_NOQUOTES</td>
<td>Will leave both double and single quotes unconverted.</td>
</tr>
</table>
</p>
@param string|null $encoding [optional] <p>
Like htmlspecialchars, it takes an optional
third argument charset which defines character
set used in conversion.
Presently, the ISO-8859-1 character set is used as the default.
</p>
@param bool $double_encode [optional] <p>
When double_encode is turned off PHP will not
encode existing html entities. The default is to convert everything.
</p>
@return string the encoded string.
|
htmlentities
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function html_entity_decode(string $string, int $flags = \ENT_QUOTES | \ENT_SUBSTITUTE, ?string $encoding) : string
{
}
|
Convert HTML entities to their corresponding characters
@link https://php.net/manual/en/function.html-entity-decode.php
@param string $string <p>
The input string.
</p>
@param int $flags [optional] <p>
The optional second quote_style parameter lets
you define what will be done with 'single' and "double" quotes. It takes
on one of three constants with the default being
ENT_COMPAT:
<table>
Available quote_style constants
<tr valign="top">
<td>Constant Name</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>ENT_COMPAT</td>
<td>Will convert double-quotes and leave single-quotes alone.</td>
</tr>
<tr valign="top">
<td>ENT_QUOTES</td>
<td>Will convert both double and single quotes.</td>
</tr>
<tr valign="top">
<td>ENT_NOQUOTES</td>
<td>Will leave both double and single quotes unconverted.</td>
</tr>
</table>
</p>
@param string|null $encoding [optional] <p>
The ISO-8859-1 character set is used as default for the optional third
charset. This defines the character set used in
conversion.
</p>
@return string the decoded string.
|
html_entity_decode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function htmlspecialchars_decode(string $string, int $flags = \ENT_QUOTES | \ENT_SUBSTITUTE) : string
{
}
|
Convert special HTML entities back to characters
@link https://php.net/manual/en/function.htmlspecialchars-decode.php
@param string $string <p>
The string to decode
</p>
@param int $flags [optional] <p>
The quote style. One of the following constants:
<table>
quote_style constants
<tr valign="top">
<td>Constant Name</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>ENT_COMPAT</td>
<td>Will convert double-quotes and leave single-quotes alone
(default)</td>
</tr>
<tr valign="top">
<td>ENT_QUOTES</td>
<td>Will convert both double and single quotes</td>
</tr>
<tr valign="top">
<td>ENT_NOQUOTES</td>
<td>Will leave both double and single quotes unconverted</td>
</tr>
</table>
</p>
@return string the decoded string.
|
htmlspecialchars_decode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function sha1(string $string, bool $binary = \false) : string
{
}
|
Calculate the sha1 hash of a string
@link https://php.net/manual/en/function.sha1.php
@param string $string <p>
The input string.
</p>
@param bool $binary [optional] <p>
If the optional binary is set to true,
then the sha1 digest is instead returned in raw binary format with a
length of 20, otherwise the returned value is a 40-character
hexadecimal number.
</p>
@return string the sha1 hash as a string.
|
sha1
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure(\true)]
function sha1_file(string $filename, bool $binary = \false) : string|false
{
}
|
Calculate the sha1 hash of a file
@link https://php.net/manual/en/function.sha1-file.php
@param string $filename <p>
The filename
</p>
@param bool $binary [optional] <p>
When true, returns the digest in raw binary format with a length of
20.
</p>
@return string|false a string on success, false otherwise.
|
sha1_file
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function md5(string $string, bool $binary = \false) : string
{
}
|
Calculate the md5 hash of a string
@link https://php.net/manual/en/function.md5.php
@param string $string <p>
The string.
</p>
@param bool $binary [optional] <p>
If the optional raw_output is set to true,
then the md5 digest is instead returned in raw binary format with a
length of 16.
</p>
@return string the hash as a 32-character hexadecimal number.
|
md5
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure(\true)]
function md5_file(string $filename, bool $binary = \false) : string|false
{
}
|
Calculates the md5 hash of a given file
@link https://php.net/manual/en/function.md5-file.php
@param string $filename <p>
The filename
</p>
@param bool $binary [optional] <p>
When true, returns the digest in raw binary format with a length of
16.
</p>
@return string|false a string on success, false otherwise.
|
md5_file
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function crc32(string $string) : int
{
}
|
Calculates the crc32 polynomial of a string
@link https://php.net/manual/en/function.crc32.php
@param string $string <p>
The data.
</p>
@return int the crc32 checksum of str as an integer..1
|
crc32
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function iptcparse(string $iptc_block) : array|false
{
}
|
Parse a binary IPTC block into single tags.
Note: This function does not require the GD image library.
@link https://php.net/manual/en/function.iptcparse.php
@param string $iptc_block <p>
A binary IPTC block.
</p>
@return array|false an array using the tagmarker as an index and the value as the
value. It returns false on error or if no IPTC data was found.
|
iptcparse
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function image_type_to_mime_type(int $image_type) : string
{
}
|
Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
@link https://php.net/manual/en/function.image-type-to-mime-type.php
@param int $image_type <p>
One of the IMAGETYPE_XXX constants.
</p>
@return string The returned values are as follows
<table>
Returned values Constants
<tr valign="top">
<td>imagetype</td>
<td>Returned value</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_GIF</td>
<td>image/gif</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_JPEG</td>
<td>image/jpeg</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_PNG</td>
<td>image/png</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_SWF</td>
<td>application/x-shockwave-flash</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_PSD</td>
<td>image/psd</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_BMP</td>
<td>image/bmp</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_TIFF_II (intel byte order)</td>
<td>image/tiff</td>
</tr>
<tr valign="top">
<td>
IMAGETYPE_TIFF_MM (motorola byte order)
</td>
<td>image/tiff</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_JPC</td>
<td>application/octet-stream</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_JP2</td>
<td>image/jp2</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_JPX</td>
<td>application/octet-stream</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_JB2</td>
<td>application/octet-stream</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_SWC</td>
<td>application/x-shockwave-flash</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_IFF</td>
<td>image/iff</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_WBMP</td>
<td>image/vnd.wap.wbmp</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_XBM</td>
<td>image/xbm</td>
</tr>
<tr valign="top">
<td>IMAGETYPE_ICO</td>
<td>image/vnd.microsoft.icon</td>
</tr>
</table>
|
image_type_to_mime_type
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function image_type_to_extension(int $image_type, bool $include_dot = \true) : string|false
{
}
|
Get file extension for image type
@link https://php.net/manual/en/function.image-type-to-extension.php
@param int $image_type <p>
One of the IMAGETYPE_XXX constant.
</p>
@param bool $include_dot [optional] <p>
Removed since 8.0.
Whether to prepend a dot to the extension or not. Default to true.
</p>
@return string|false A string with the extension corresponding to the given image type, or false on failure.
|
image_type_to_extension
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function phpversion(?string $extension) : string|false
{
}
|
Gets the current PHP version
@link https://php.net/manual/en/function.phpversion.php
@param string|null $extension [optional] <p>
An optional extension name.
</p>
@return string|false If the optional extension parameter is
specified, phpversion returns the version of that
extension, or false if there is no version information associated or
the extension isn't enabled.
|
phpversion
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')]
function phpcredits(int $flags = \CREDITS_ALL) : bool
{
}
|
Prints out the credits for PHP
@link https://php.net/manual/en/function.phpcredits.php
@param int $flags [optional] <p>
To generate a custom credits page, you may want to use the
flags parameter.
</p>
<p>
<table>
Pre-defined phpcredits flags
<tr valign="top">
<td>name</td>
<td>description</td>
</tr>
<tr valign="top">
<td>CREDITS_ALL</td>
<td>
All the credits, equivalent to using: CREDITS_DOCS +
CREDITS_GENERAL + CREDITS_GROUP +
CREDITS_MODULES + CREDITS_FULLPAGE.
It generates a complete stand-alone HTML page with the appropriate tags.
</td>
</tr>
<tr valign="top">
<td>CREDITS_DOCS</td>
<td>The credits for the documentation team</td>
</tr>
<tr valign="top">
<td>CREDITS_FULLPAGE</td>
<td>
Usually used in combination with the other flags. Indicates
that a complete stand-alone HTML page needs to be
printed including the information indicated by the other
flags.
</td>
</tr>
<tr valign="top">
<td>CREDITS_GENERAL</td>
<td>
General credits: Language design and concept, PHP 4.0
authors and SAPI module.
</td>
</tr>
<tr valign="top">
<td>CREDITS_GROUP</td>
<td>A list of the core developers</td>
</tr>
<tr valign="top">
<td>CREDITS_MODULES</td>
<td>
A list of the extension modules for PHP, and their authors
</td>
</tr>
<tr valign="top">
<td>CREDITS_SAPI</td>
<td>
A list of the server API modules for PHP, and their authors
</td>
</tr>
</table>
</p>
@return bool true on success or false on failure.
|
phpcredits
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function php_logo_guid() : string
{
}
|
Gets the logo guid
@removed 5.5
@link https://php.net/manual/en/function.php-logo-guid.php
@return string PHPE9568F34-D428-11d2-A769-00AA001ACF42.
|
php_logo_guid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure(\true)]
function php_uname(#[PhpStormStubsElementAvailable(from: '7.0')] string $mode = 'a') : string
{
}
|
Returns information about the operating system PHP is running on
@link https://php.net/manual/en/function.php-uname.php
@param string $mode [optional] <p>
mode is a single character that defines what
information is returned:
'a': This is the default. Contains all modes in
the sequence "s n r v m".</p>
@return string the description, as a string.
|
php_uname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function php_ini_scanned_files() : string|false
{
}
|
Return a list of .ini files parsed from the additional ini dir
@link https://php.net/manual/en/function.php-ini-scanned-files.php
@return string|false a comma-separated string of .ini files on success. Each comma is
followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
false is returned. If it was set and the directory was empty, an
empty string is returned. If a file is unrecognizable, the file will
still make it into the returned string but a PHP error will also result.
This PHP error will be seen both at compile time and while using
php_ini_scanned_files.
|
php_ini_scanned_files
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function php_ini_loaded_file() : string|false
{
}
|
Retrieve a path to the loaded php.ini file
@link https://php.net/manual/en/function.php-ini-loaded-file.php
@return string|false The loaded "php.ini" path, or false if one is not loaded.
@since 5.2.4
|
php_ini_loaded_file
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function strnatcmp(string $string1, string $string2) : int
{
}
|
String comparisons using a "natural order" algorithm
@link https://php.net/manual/en/function.strnatcmp.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@return int Similar to other string comparison functions, this one returns < 0 if
str1 is less than str2; >
0 if str1 is greater than
str2, and 0 if they are equal.
|
strnatcmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function strnatcasecmp(string $string1, string $string2) : int
{
}
|
Case insensitive string comparisons using a "natural order" algorithm
@link https://php.net/manual/en/function.strnatcasecmp.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@return int Similar to other string comparison functions, this one returns < 0 if
str1 is less than str2 >
0 if str1 is greater than
str2, and 0 if they are equal.
|
strnatcasecmp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function substr_count(string $haystack, string $needle, int $offset = 0, ?int $length) : int
{
}
|
Count the number of substring occurrences
@link https://php.net/manual/en/function.substr-count.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
The substring to search for
</p>
@param int $offset <p>
The offset where to start counting. If the offset is negative,
counting starts from the end of the string.
</p>
@param int|null $length [optional] <p>
The maximum length after the specified offset to search for the
substring. It outputs a warning if the offset plus the length is
greater than the haystack length. A negative length counts from
the end of haystack.
</p>
@return int<0,max> This functions returns an integer.
|
substr_count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function strspn(string $string, string $characters, int $offset = 0, ?int $length) : int
{
}
|
Finds the length of the initial segment of a string consisting
entirely of characters contained within a given mask.
@link https://php.net/manual/en/function.strspn.php
@param string $string <p>
The string to examine.
</p>
@param string $characters <p>
The list of allowable characters to include in counted segments.
</p>
@param int $offset <p>
The position in subject to
start searching.
</p>
<p>
If start is given and is non-negative,
then strspn will begin
examining subject at
the start'th position. For instance, in
the string 'abcdef', the character at
position 0 is 'a', the
character at position 2 is
'c', and so forth.
</p>
<p>
If start is given and is negative,
then strspn will begin
examining subject at
the start'th position from the end
of subject.
</p>
@param int|null $length [optional] <p>
The length of the segment from subject
to examine.
</p>
<p>
If length is given and is non-negative,
then subject will be examined
for length characters after the starting
position.
</p>
<p>
If lengthis given and is negative,
then subject will be examined from the
starting position up to length
characters from the end of subject.
</p>
@return int the length of the initial segment of str1
which consists entirely of characters in str2.
|
strspn
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function strcspn(string $string, string $characters, int $offset = 0, ?int $length) : int
{
}
|
Find length of initial segment not matching mask
@link https://php.net/manual/en/function.strcspn.php
@param string $string <p>
The first string.
</p>
@param string $characters <p>
The second string.
</p>
@param int $offset <p>
The start position of the string to examine.
</p>
@param int|null $length [optional] <p>
The length of the string to examine.
</p>
@return int the length of the segment as an integer.
|
strcspn
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_0.php
|
MIT
|
#[Pure]
function strtoupper(string $string) : string
{
}
|
Make a string uppercase
@link https://php.net/manual/en/function.strtoupper.php
@param string $string <p>
The input string.
</p>
@return string the uppercased string.
|
strtoupper
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strtolower(string $string) : string
{
}
|
Make a string lowercase
@link https://php.net/manual/en/function.strtolower.php
@param string $string <p>
The input string.
</p>
@return string the lowercased string.
|
strtolower
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strpos(string $haystack, string $needle, int $offset = 0) : int|false
{
}
|
Find the position of the first occurrence of a substring in a string
@link https://php.net/manual/en/function.strpos.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
If <b>needle</b> is not a string, it is converted
to an integer and applied as the ordinal value of a character.
</p>
@param int<0,max> $offset [optional] <p>
If specified, search will start this number of characters counted from
the beginning of the string. Unlike {@see strrpos()} and {@see strripos()}, the offset cannot be negative.
</p>
@return int<0,max>|false <p>
Returns the position where the needle exists relative to the beginning of
the <b>haystack</b> string (independent of search direction
or offset).
Also note that string positions start at 0, and not 1.
</p>
<p>
Returns <b>FALSE</b> if the needle was not found.
</p>
|
strpos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function stripos(string $haystack, string $needle, int $offset = 0) : int|false
{
}
|
Find position of first occurrence of a case-insensitive string
@link https://php.net/manual/en/function.stripos.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
Note that the needle may be a string of one or
more characters.
</p>
<p>
If needle is not a string, it is converted to
an integer and applied as the ordinal value of a character.
</p>
@param int $offset <p>
The optional offset parameter allows you
to specify which character in haystack to
start searching. The position returned is still relative to the
beginning of haystack.
</p>
@return int|false If needle is not found,
stripos will return boolean false.
|
stripos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strrpos(string $haystack, string $needle, int $offset = 0) : int|false
{
}
|
Find the position of the last occurrence of a substring in a string
@link https://php.net/manual/en/function.strrpos.php
@param string $haystack <p>
The string to search in.
</p>
@param string $needle <p>
If <b>needle</b> is not a string, it is converted to an integer and applied as the ordinal value of a character.
</p>
@param int $offset [optional] <p>
If specified, search will start this number of characters counted from the beginning of the string. If the value is negative, search will instead start from that many characters from the end of the string, searching backwards.
</p>
@return int|false <p>
Returns the position where the needle exists relative to the beginning of
the <b>haystack</b> string (independent of search direction
or offset).
Also note that string positions start at 0, and not 1.
</p>
<p>
Returns <b>FALSE</b> if the needle was not found.
</p>
|
strrpos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strripos(string $haystack, string $needle, int $offset = 0) : int|false
{
}
|
Find position of last occurrence of a case-insensitive string in a string
@link https://php.net/manual/en/function.strripos.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
Note that the needle may be a string of one or
more characters.
</p>
@param int $offset <p>
The offset parameter may be specified to begin
searching an arbitrary number of characters into the string.
</p>
<p>
Negative offset values will start the search at
offset characters from the
start of the string.
</p>
@return int|false the numerical position of the last occurrence of
needle. Also note that string positions start at 0,
and not 1.
</p>
<p>
If needle is not found, false is returned.
|
strripos
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strrev(string $string) : string
{
}
|
Reverse a string
@link https://php.net/manual/en/function.strrev.php
@param string $string <p>
The string to be reversed.
</p>
@return string the reversed string.
|
strrev
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function hebrev(string $string, int $max_chars_per_line = 0) : string
{
}
|
Convert logical Hebrew text to visual text
@link https://php.net/manual/en/function.hebrev.php
@param string $string <p>
A Hebrew input string.
</p>
@param int $max_chars_per_line <p>
This optional parameter indicates maximum number of characters per
line that will be returned.
</p>
@return string the visual string.
|
hebrev
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Deprecated(replacement: 'nl2br(hebrev(%parameter0%))', since: '7.4')]
function hebrevc(string $hebrew_text, $max_chars_per_line) : string
{
}
|
Convert logical Hebrew text to visual text with newline conversion
@link https://php.net/manual/en/function.hebrevc.php
@param string $hebrew_text <p>
A Hebrew input string.
</p>
@param int $max_chars_per_line [optional] <p>
This optional parameter indicates maximum number of characters per
line that will be returned.
</p>
@return string the visual string.
@removed 8.0
|
hebrevc
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function nl2br(string $string, bool $use_xhtml = \true) : string
{
}
|
Inserts HTML line breaks before all newlines in a string
@link https://php.net/manual/en/function.nl2br.php
@param string $string <p>
The input string.
</p>
@param bool $use_xhtml [optional] <p>
Whether to use XHTML compatible line breaks or not.
</p>
@return string the altered string.
|
nl2br
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function basename(string $path, string $suffix = '') : string
{
}
|
Returns trailing name component of path
@link https://php.net/manual/en/function.basename.php
@param string $path <p>
A path.
</p>
<p>
On Windows, both slash (/) and backslash
(\) are used as directory separator character. In
other environments, it is the forward slash (/).
</p>
@param string $suffix <p>
If the filename ends in suffix this will also
be cut off.
</p>
@return string the base name of the given path.
|
basename
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function dirname(string $path, #[PhpStormStubsElementAvailable(from: '7.0')] int $levels = 1) : string
{
}
|
Returns a parent directory's path
@link https://php.net/manual/en/function.dirname.php
@param string $path <p>
A path.
</p>
<p>
On Windows, both slash (/) and backslash
(\) are used as directory separator character. In
other environments, it is the forward slash (/).
</p>
@param int $levels <p>
The number of parent directories to go up.
This must be an integer greater than 0.
</p>
@return string the name of the directory. If there are no slashes in
path, a dot ('.') is returned,
indicating the current directory. Otherwise, the returned string is
path with any trailing
/component removed.
|
dirname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure(\true)]
#[ArrayShape(['dirname' => 'string', 'basename' => 'string', 'extension' => 'string', 'filename' => 'string'])]
function pathinfo(string $path, #[ExpectedValues(flags: [\PATHINFO_DIRNAME, \PATHINFO_BASENAME, \PATHINFO_EXTENSION, \PATHINFO_FILENAME])] int $flags = \PATHINFO_ALL) : array|string
{
}
|
Returns information about a file path
@link https://php.net/manual/en/function.pathinfo.php
@param string $path <p>
The path being checked.
</p>
@param int $flags [optional] <p>
You can specify which elements are returned with optional parameter
options. It composes from
PATHINFO_DIRNAME,
PATHINFO_BASENAME,
PATHINFO_EXTENSION and
PATHINFO_FILENAME. It
defaults to return all elements.
</p>
@return string|array{dirname: string, basename: string, extension: string, filename: string} The following associative array elements are returned:
dirname, basename,
extension (if any), and filename.
</p>
<p>
If options is used, this function will return a
string if not all elements are requested.
|
pathinfo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function stripslashes(string $string) : string
{
}
|
Un-quotes a quoted string
@link https://php.net/manual/en/function.stripslashes.php
@param string $string <p>
The input string.
</p>
@return string a string with backslashes stripped off.
(\' becomes ' and so on.)
Double backslashes (\\) are made into a single
backslash (\).
|
stripslashes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function stripcslashes(string $string) : string
{
}
|
Un-quote string quoted with <function>addcslashes</function>
@link https://php.net/manual/en/function.stripcslashes.php
@param string $string <p>
The string to be unescaped.
</p>
@return string the unescaped string.
|
stripcslashes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strstr(string $haystack, string $needle, bool $before_needle = \false) : string|false
{
}
|
Find the first occurrence of a string
@link https://php.net/manual/en/function.strstr.php
@param string $haystack <p>
The input string.
</p>
@param string $needle <p>
If needle is not a string, it is converted to
an integer and applied as the ordinal value of a character.
</p>
@param bool $before_needle [optional] <p>
If true, strstr returns
the part of the haystack before the first
occurrence of the needle.
</p>
@return string|false the portion of string, or false if needle
is not found.
|
strstr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function stristr(string $haystack, string $needle, bool $before_needle = \false) : string|false
{
}
|
Case-insensitive <function>strstr</function>
@link https://php.net/manual/en/function.stristr.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
If needle is not a string, it is converted to
an integer and applied as the ordinal value of a character.
</p>
@param bool $before_needle [optional] <p>
If true, stristr
returns the part of the haystack before the
first occurrence of the needle.
</p>
@return string|false the matched substring. If needle is not
found, returns false.
|
stristr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strrchr(string $haystack, string $needle, #[PhpStormStubsElementAvailable(from: '8.3')] bool $before_needle = \false) : string|false
{
}
|
Find the last occurrence of a character in a string
@link https://php.net/manual/en/function.strrchr.php
@param string $haystack <p>
The string to search in
</p>
@param string $needle <p>
If <b>needle</b> contains more than one character,
only the first is used. This behavior is different from that of {@see strstr()}.
</p>
<p>
If <b>needle</b> is not a string, it is converted to
an integer and applied as the ordinal value of a character.
</p>
@param bool $before_needle Since 8.3 If true, strrchr() returns the part of the haystack before the last occurrence
of the needle (excluding the needle).
@return string|false <p>
This function returns the portion of string, or <b>FALSE</b> if
<b>needle</b> is not found.
</p>
|
strrchr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function str_word_count(string $string, int $format = 0, ?string $characters) : array|int
{
}
|
Return information about words used in a string
@link https://php.net/manual/en/function.str-word-count.php
@param string $string <p>
The string
</p>
@param int $format [optional] <p>
Specify the return value of this function. The current supported values
are:
0 - returns the number of words found
</p>
@param string|null $characters [optional] <p>
A list of additional characters which will be considered as 'word'
</p>
@return string[]|int an array or an integer, depending on the
format chosen.
|
str_word_count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
#[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")]
function str_split(string $string, int $length = 1) : array|false
{
}
|
Convert a string to an array
@link https://php.net/manual/en/function.str-split.php
@param string $string <p>
The input string.
</p>
@param int $length [optional] <p>
Maximum length of the chunk.
</p>
@return string[]|false <p>If the optional split_length parameter is
specified, the returned array will be broken down into chunks with each
being split_length in length, otherwise each chunk
will be one character in length.
</p>
<p>
<b>FALSE</b> is returned if split_length is less than 1.
If the split_length length exceeds the length of
string, the entire string is returned as the first
(and only) array element.
</p>
|
str_split
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strpbrk(string $string, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.0')] $char_list = '', #[PhpStormStubsElementAvailable(from: '7.1')] string $characters) : string|false
{
}
|
Search a string for any of a set of characters
@link https://php.net/manual/en/function.strpbrk.php
@param string $string <p>
The string where char_list is looked for.
</p>
@param string $characters <p>
This parameter is case sensitive.
</p>
@return string|false a string starting from the character found, or false if it is
not found.
|
strpbrk
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function substr_compare(string $haystack, string $needle, int $offset, ?int $length, bool $case_insensitive = \false) : int
{
}
|
Binary safe comparison of two strings from an offset, up to length characters
@link https://php.net/manual/en/function.substr-compare.php
@param string $haystack <p>
The main string being compared.
</p>
@param string $needle <p>
The secondary string being compared.
</p>
@param int $offset <p>
The start position for the comparison. If negative, it starts counting
from the end of the string.
</p>
@param int|null $length [optional] <p>
The length of the comparison.
</p>
@param bool $case_insensitive [optional] <p>
If case_insensitivity is true, comparison is
case insensitive.
</p>
@return int if less than 0 if main_str from position
offset is less than str, >
0 if it is greater than str, and 0 if they are equal.
If offset is equal to or greater than the length of
main_str or length is set and
is less than 1, substr_compare prints a warning and returns
false.
|
substr_compare
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strcoll(string $string1, string $string2) : int
{
}
|
Locale based string comparison
@link https://php.net/manual/en/function.strcoll.php
@param string $string1 <p>
The first string.
</p>
@param string $string2 <p>
The second string.
</p>
@return int if less than 0 if str1 is less than
str2; > 0 if
str1 is greater than
str2, and 0 if they are equal.
|
strcoll
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|null $length = null) : array|string
{
}
|
Replace text within a portion of a string
@link https://php.net/manual/en/function.substr-replace.php
@param string[]|string $string <p>
The input string.
</p>
@param string[]|string $replace <p>
The replacement string.
</p>
@param int[]|int $offset <p>
If start is positive, the replacing will
begin at the start'th offset into
string.
</p>
<p>
If start is negative, the replacing will
begin at the start'th character from the
end of string.
</p>
@param int[]|int $length [optional] <p>
If given and is positive, it represents the length of the portion of
string which is to be replaced. If it is
negative, it represents the number of characters from the end of
string at which to stop replacing. If it
is not given, then it will default to strlen(
string ); i.e. end the replacing at the
end of string. Of course, if
length is zero then this function will have the
effect of inserting replacement into
string at the given
start offset.
</p>
@return string|string[] The result string is returned. If string is an
array then array is returned.
|
substr_replace
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function quotemeta(string $string) : string
{
}
|
Quote meta characters
@link https://php.net/manual/en/function.quotemeta.php
@param string $string <p>
The input string.
</p>
@return string the string with meta characters quoted.
|
quotemeta
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function ucfirst(string $string) : string
{
}
|
Make a string's first character uppercase
@link https://php.net/manual/en/function.ucfirst.php
@param string $string <p>
The input string.
</p>
@return string the resulting string.
|
ucfirst
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function lcfirst(string $string) : string
{
}
|
Make a string's first character lowercase
@link https://php.net/manual/en/function.lcfirst.php
@param string $string <p>
The input string.
</p>
@return string the resulting string.
|
lcfirst
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function ucwords(string $string, string $separators = " \t\r\n\f\v") : string
{
}
|
Uppercase the first character of each word in a string
@link https://php.net/manual/en/function.ucwords.php
@param string $string <p>
The input string.
</p>
@param string $separators [optional] <p>
The optional separators contains the word separator characters.
</p>
@return string the modified string.
|
ucwords
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strtr(string $string, string $from, string $to) : string
{
}
|
Translate characters or replace substrings
@link https://php.net/manual/en/function.strtr.php
@param string $string <p>
The string being translated.
</p>
@param string $from <p>
The string replacing from.
</p>
@param string $to <p>
The string being translated to to.
</p>
@return string This function returns a copy of str,
translating all occurrences of each character in
from to the corresponding character in
to.
|
strtr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strtr(string $str, array $replace_pairs) : string
{
}
|
Translate certain characters
@link https://php.net/manual/en/function.strtr.php
@param string $str The string being translated.
@param array $replace_pairs The replace_pairs parameter may be used as a substitute for to and from in which case it's an array in the form array('from' => 'to', ...).
@return string A copy of str, translating all occurrences of each character in from to the corresponding character in to.
|
strtr
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function addslashes(string $string) : string
{
}
|
Quote string with slashes
@link https://php.net/manual/en/function.addslashes.php
@param string $string <p>
The string to be escaped.
</p>
@return string the escaped string.
|
addslashes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function addcslashes(string $string, string $characters) : string
{
}
|
Quote string with slashes in a C style
@link https://php.net/manual/en/function.addcslashes.php
@param string $string <p>
The string to be escaped.
</p>
@param string $characters <p>
A list of characters to be escaped. If
charlist contains characters
\n, \r etc., they are
converted in C-like style, while other non-alphanumeric characters
with ASCII codes lower than 32 and higher than 126 converted to
octal representation.
</p>
<p>
When you define a sequence of characters in the charlist argument
make sure that you know what characters come between the
characters that you set as the start and end of the range.
</p>
<pre>
<?php
echo addcslashes('foo[ ]', 'A..z');
// output: \f\o\o\[ \]
// All upper and lower-case letters will be escaped
// ... but so will the [\]^_`
?>
</pre>
<p>
Also, if the first character in a range has a higher ASCII value
than the second character in the range, no range will be
constructed. Only the start, end and period characters will be
escaped. Use the ord function to find the
ASCII value for a character.
</p>
<pre>
<?php
echo addcslashes("zoo['.']", 'z..A');
// output: \zoo['\.']
?>
</pre>
<p>
Be careful if you choose to escape characters 0, a, b, f, n, r,
t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t
and \v.
In PHP \0 (NULL), \r (carriage return), \n (newline), \f (form feed),
\v (vertical tab) and \t (tab) are predefined escape sequences,
while in C all of these are predefined escape sequences.
</p>
@return string the escaped string.
|
addcslashes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function rtrim(string $string, string $characters = " \n\r\t\v\x00") : string
{
}
|
Strip whitespace (or other characters) from the end of a string.
Without the second parameter, rtrim() will strip these characters:
<ul>
<li>" " (ASCII 32 (0x20)), an ordinary space.
<li>"\t" (ASCII 9 (0x09)), a tab.
<li>"\n" (ASCII 10 (0x0A)), a new line (line feed).
<li>"\r" (ASCII 13 (0x0D)), a carriage return.
<li>"\0" (ASCII 0 (0x00)), the NUL-byte.
<li>"\x0B" (ASCII 11 (0x0B)), a vertical tab.
</ul>
@link https://php.net/manual/en/function.rtrim.php
@param string $string <p>
The input string.
</p>
@param string $characters [optional] <p>
You can also specify the characters you want to strip, by means
of the charlist parameter.
Simply list all characters that you want to be stripped. With
.. you can specify a range of characters.
</p>
@return string the modified string.
|
rtrim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function str_repeat(string $string, int $times) : string
{
}
|
Repeat a string
@link https://php.net/manual/en/function.str-repeat.php
@param string $string <p>
The string to be repeated.
</p>
@param int $times <p>
Number of time the input string should be
repeated.
</p>
<p>
multiplier has to be greater than or equal to 0.
If the multiplier is set to 0, the function
will return an empty string.
</p>
@return string the repeated string.
|
str_repeat
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function count_chars(string $string, int $mode = 0) : array|string
{
}
|
Return information about characters used in a string
@link https://php.net/manual/en/function.count-chars.php
@param string $string <p>
The examined string.
</p>
@param int $mode <p>
See return values.
</p>
@return int[]|string Depending on mode
count_chars returns one of the following:
0 - an array with the byte-value as key and the frequency of
every byte as value.
1 - same as 0 but only byte-values with a frequency greater
than zero are listed.
2 - same as 0 but only byte-values with a frequency equal to
zero are listed.
3 - a string containing all unique characters is returned.
4 - a string containing all not used characters is returned.
|
count_chars
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function chunk_split(string $string, int $length = 76, string $separator = "\r\n") : string
{
}
|
Split a string into smaller chunks
@link https://php.net/manual/en/function.chunk-split.php
@param string $string <p>
The string to be chunked.
</p>
@param int $length [optional] <p>
The chunk length.
</p>
@param string $separator [optional] <p>
The line ending sequence.
</p>
@return string the chunked string.
|
chunk_split
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function trim(string $string, string $characters = " \n\r\t\v\x00") : string
{
}
|
Strip whitespace (or other characters) from the beginning and end of a string
@link https://php.net/manual/en/function.trim.php
@param string $string <p>
The string that will be trimmed.
</p>
@param string $characters [optional] <p>
Optionally, the stripped characters can also be specified using
the charlist parameter.
Simply list all characters that you want to be stripped. With
.. you can specify a range of characters.
</p>
@return string The trimmed string.
|
trim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function ltrim(string $string, string $characters = " \n\r\t\v\x00") : string
{
}
|
Strip whitespace (or other characters) from the beginning of a string
@link https://php.net/manual/en/function.ltrim.php
@param string $string <p>
The input string.
</p>
@param string $characters [optional] <p>
You can also specify the characters you want to strip, by means of the
charlist parameter.
Simply list all characters that you want to be stripped. With
.. you can specify a range of characters.
</p>
@return string This function returns a string with whitespace stripped from the
beginning of str.
Without the second parameter,
ltrim will strip these characters:
" " (ASCII 32
(0x20)), an ordinary space.
"\t" (ASCII 9
(0x09)), a tab.
"\n" (ASCII 10
(0x0A)), a new line (line feed).
"\r" (ASCII 13
(0x0D)), a carriage return.
"\0" (ASCII 0
(0x00)), the NUL-byte.
"\x0B" (ASCII 11
(0x0B)), a vertical tab.
|
ltrim
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function strip_tags(string $string, #[LanguageLevelTypeAware(["7.4" => "string[]|string|null"], default: "string|null")] $allowed_tags = null) : string
{
}
|
Strip HTML and PHP tags from a string
@link https://php.net/manual/en/function.strip-tags.php
@param string $string <p>
The input string.
</p>
@param string[]|string|null $allowed_tags [optional] <p>
You can use the optional second parameter to specify tags which should
not be stripped.
</p>
<p>
HTML comments and PHP tags are also stripped. This is hardcoded and
can not be changed with allowable_tags.
</p>
@return string the stripped string.
|
strip_tags
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function implode(array|string $separator = "", ?array $array) : string
{
}
|
Join array elements with a string
@link https://php.net/manual/en/function.implode.php
@param array|string $separator [optional]<p>
Defaults to an empty string. This is not the preferred usage of
implode as glue would be
the second parameter and thus, the bad prototype would be used.
</p>
@param array|null $array <p>
The array of strings to implode.
</p>
@return string a string containing a string representation of all the array
elements in the same order, with the glue string between each element.
|
implode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure]
function join(array|string $separator = "", ?array $array) : string
{
}
|
Alias:
{@see implode}
@link https://php.net/manual/en/function.join.php
@param array|string $separator [optional] <p>
Defaults to an empty string. This is not the preferred usage of
implode as glue would be
the second parameter and thus, the bad prototype would be used.
</p>
@param array|null $array <p>
The array of strings to implode.
</p>
@return string a string containing a string representation of all the array
elements in the same order, with the glue string between each element.
|
join
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[ArrayShape(["decimal_point" => "string", "thousands_sep" => "string", "grouping" => "array", "int_curr_symbol" => "string", "currency_symbol" => "string", "mon_decimal_point" => "string", "mon_thousands_sep" => "string", "mon_grouping" => "string", "positive_sign" => "string", "negative_sign" => "string", "int_frac_digits" => "string", "frac_digits" => "string", "p_cs_precedes" => "bool", "p_sep_by_space" => "bool", "n_cs_precedes" => "bool", "n_sep_by_space" => "bool", "p_sign_posn" => "int", "n_sign_posn" => "int"])]
#[Pure(\true)]
function localeconv() : array
{
}
|
Get numeric formatting information
@link https://php.net/manual/en/function.localeconv.php
@return array localeconv returns data based upon the current locale
as set by setlocale. The associative array that is
returned contains the following fields:
<tr valign="top">
<td>Array element</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>decimal_point</td>
<td>Decimal point character</td>
</tr>
<tr valign="top">
<td>thousands_sep</td>
<td>Thousands separator</td>
</tr>
<tr valign="top">
<td>grouping</td>
<td>Array containing numeric groupings</td>
</tr>
<tr valign="top">
<td>int_curr_symbol</td>
<td>International currency symbol (i.e. USD)</td>
</tr>
<tr valign="top">
<td>currency_symbol</td>
<td>Local currency symbol (i.e. $)</td>
</tr>
<tr valign="top">
<td>mon_decimal_point</td>
<td>Monetary decimal point character</td>
</tr>
<tr valign="top">
<td>mon_thousands_sep</td>
<td>Monetary thousands separator</td>
</tr>
<tr valign="top">
<td>mon_grouping</td>
<td>Array containing monetary groupings</td>
</tr>
<tr valign="top">
<td>positive_sign</td>
<td>Sign for positive values</td>
</tr>
<tr valign="top">
<td>negative_sign</td>
<td>Sign for negative values</td>
</tr>
<tr valign="top">
<td>int_frac_digits</td>
<td>International fractional digits</td>
</tr>
<tr valign="top">
<td>frac_digits</td>
<td>Local fractional digits</td>
</tr>
<tr valign="top">
<td>p_cs_precedes</td>
<td>
true if currency_symbol precedes a positive value, false
if it succeeds one
</td>
</tr>
<tr valign="top">
<td>p_sep_by_space</td>
<td>
true if a space separates currency_symbol from a positive
value, false otherwise
</td>
</tr>
<tr valign="top">
<td>n_cs_precedes</td>
<td>
true if currency_symbol precedes a negative value, false
if it succeeds one
</td>
</tr>
<tr valign="top">
<td>n_sep_by_space</td>
<td>
true if a space separates currency_symbol from a negative
value, false otherwise
</td>
</tr>
<td>p_sign_posn</td>
<td>
0 - Parentheses surround the quantity and currency_symbol
1 - The sign string precedes the quantity and currency_symbol
2 - The sign string succeeds the quantity and currency_symbol
3 - The sign string immediately precedes the currency_symbol
4 - The sign string immediately succeeds the currency_symbol
</td>
</tr>
<td>n_sign_posn</td>
<td>
0 - Parentheses surround the quantity and currency_symbol
1 - The sign string precedes the quantity and currency_symbol
2 - The sign string succeeds the quantity and currency_symbol
3 - The sign string immediately precedes the currency_symbol
4 - The sign string immediately succeeds the currency_symbol
</td>
</tr>
</p>
<p>
The p_sign_posn, and n_sign_posn contain a string
of formatting options. Each number representing one of the above listed conditions.
</p>
<p>
The grouping fields contain arrays that define the way numbers should be
grouped. For example, the monetary grouping field for the nl_NL locale (in
UTF-8 mode with the euro sign), would contain a 2 item array with the
values 3 and 3. The higher the index in the array, the farther left the
grouping is. If an array element is equal to CHAR_MAX,
no further grouping is done. If an array element is equal to 0, the previous
element should be used.
|
localeconv
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/standard/standard_1.php
|
MIT
|
#[Pure(\true)]
function nl_langinfo(int $item) : string|false
{
}
|
Query language and locale information
@link https://php.net/manual/en/function.nl-langinfo.php
@param int $item <p>
item may be an integer value of the element or the
constant name of the element. The following is a list of constant names
for item that may be used and their description.
Some of these constants may not be defined or hold no value for certain
locales.</p>
nl_langinfo Constants
<table>
<tr valign="top">
<td>Constant</td>
<td>Description</td>
</tr>
<tr colspan="2" valign="top" bgcolor="silver">
<td >LC_TIME Category Constants</td>
</tr>
<tr valign="top">
<td>ABDAY_(1-7)</td>
<td>Abbreviated name of n-th day of the week.</td>
</tr>
<tr valign="top">
<td>DAY_(1-7)</td>
<td>Name of the n-th day of the week (DAY_1 = Sunday).</td>
</tr>
<tr valign="top">
<td>ABMON_(1-12)</td>
<td>Abbreviated name of the n-th month of the year.</td>
</tr>
<tr valign="top">
<td>MON_(1-12)</td>
<td>Name of the n-th month of the year.</td>
</tr>
<tr valign="top">
<td>AM_STR</td>
<td>String for Ante meridian.</td>
</tr>
<tr valign="top">
<td>PM_STR</td>
<td>String for Post meridian.</td>
</tr>
<tr valign="top">
<td>D_T_FMT</td>
<td>String that can be used as the format string for strftime to represent time and date.</td>
</tr>
<tr valign="top">
<td>D_FMT</td>
<td>String that can be used as the format string for strftime to represent date.</td>
</tr>
<tr valign="top">
<td>T_FMT</td>
<td>String that can be used as the format string for strftime to represent time.</td>
</tr>
<tr valign="top">
<td>T_FMT_AMPM</td>
<td>String that can be used as the format string for strftime to represent time in 12-hour format with ante/post meridian.</td>
</tr>
<tr valign="top">
<td>ERA</td>
<td>Alternate era.</td>
</tr>
<tr valign="top">
<td>ERA_YEAR</td>
<td>Year in alternate era format.</td>
</tr>
<tr valign="top">
<td>ERA_D_T_FMT</td>
<td>Date and time in alternate era format (string can be used in strftime).</td>
</tr>
<tr valign="top">
<td>ERA_D_FMT</td>
<td>Date in alternate era format (string can be used in strftime).</td>
</tr>
<tr valign="top">
<td>ERA_T_FMT</td>
<td>Time in alternate era format (string can be used in strftime).</td>
</tr>
<tr colspan="2" valign="top" bgcolor="silver">
<td>LC_MONETARY Category Constants</td>
</tr>
<tr valign="top">
<td>INT_CURR_SYMBOL</td>
<td>International currency symbol.</td>
</tr>
<tr valign="top">
<td>CURRENCY_SYMBOL</td>
<td>Local currency symbol.</td>
</tr>
<tr valign="top">
<td>CRNCYSTR</td>
<td>Same value as CURRENCY_SYMBOL.</td>
</tr>
<tr valign="top">
<td>MON_DECIMAL_POINT</td>
<td>Decimal point character.</td>
</tr>
<tr valign="top">
<td>MON_THOUSANDS_SEP</td>
<td>Thousands separator (groups of three digits).</td>
</tr>
<tr valign="top">
<td>MON_GROUPING</td>
<td>Like "grouping" element.</td>
</tr>
<tr valign="top">
<td>POSITIVE_SIGN</td>
<td>Sign for positive values.</td>
</tr>
<tr valign="top">
<td>NEGATIVE_SIGN</td>
<td>Sign for negative values.</td>
</tr>
<tr valign="top">
<td>INT_FRAC_DIGITS</td>
<td>International fractional digits.</td>
</tr>
<tr valign="top">
<td>FRAC_DIGITS</td>
<td>Local fractional digits.</td>
</tr>
<tr valign="top">
<td>P_CS_PRECEDES</td>
<td>Returns 1 if CURRENCY_SYMBOL precedes a positive value.</td>
</tr>
<tr valign="top">
<td>P_SEP_BY_SPACE</td>
<td>Returns 1 if a space separates CURRENCY_SYMBOL from a positive value.</td>
</tr>
<tr valign="top">
<td>N_CS_PRECEDES</td>
<td>Returns 1 if CURRENCY_SYMBOL precedes a negative value.</td>
</tr>
<tr valign="top">
<td>N_SEP_BY_SPACE</td>
<td>Returns 1 if a space separates CURRENCY_SYMBOL from a negative value.</td>
</tr>
<tr valign="top">
<td>P_SIGN_POSN</td>
<td>Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL.</td>
</tr>
</table>
@return string|false the element as a string, or false if item
is not valid.
|
nl_langinfo
|
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 soundex(string $string) : string
{
}
|
Calculate the soundex key of a string
@link https://php.net/manual/en/function.soundex.php
@param string $string <p>
The input string.
</p>
@return string the soundex key as a string.
|
soundex
|
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 chr(int $codepoint) : string
{
}
|
Generate a single-byte string from a number
@link https://php.net/manual/en/function.chr.php
@param int $codepoint <p>
The ascii code.
</p>
@return string the specified character.
|
chr
|
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 ord(string $character) : int
{
}
|
Convert the first byte of a string to a value between 0 and 255
@link https://php.net/manual/en/function.ord.php
@param string $character <p>
A character.
</p>
@return int<0, 255> the ASCII value as an integer.
|
ord
|
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 str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = \STR_PAD_RIGHT) : string
{
}
|
Pad a string to a certain length with another string
@link https://php.net/manual/en/function.str-pad.php
@param string $string <p>
The input string.
</p>
@param int $length <p>
If the value of pad_length is negative,
less than, or equal to the length of the input string, no padding
takes place.
</p>
@param string $pad_string [optional] <p>
The pad_string may be truncated if the
required number of padding characters can't be evenly divided by the
pad_string's length.
</p>
@param int $pad_type [optional] <p>
Optional argument pad_type can be
STR_PAD_RIGHT, STR_PAD_LEFT,
or STR_PAD_BOTH. If
pad_type is not specified it is assumed to be
STR_PAD_RIGHT.
</p>
@return string the padded string.
|
str_pad
|
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 chop(string $string, string $characters = " \n\r\t\v\x00") : string
{
}
|
Alias:
{@see rtrim}
@param string $string The input string.
@param string $characters [optional]
@return string the modified string.
@link https://php.net/manual/en/function.chop.php
@see rtrim()
|
chop
|
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 strchr(string $haystack, string $needle, bool $before_needle = \false) : string|false
{
}
|
Alias:
{@see strstr}
@link https://php.net/manual/en/function.strchr.php
Note: This function is case-sensitive. For case-insensitive searches, use stristr().
Note: If you only want to determine if a particular needle occurs within haystack,
use the faster and less memory intensive function strpos() instead.
@param string $haystack The input string.
@param string $needle If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
@param bool $before_needle [optional] If TRUE, strstr() returns the part of the haystack before the first occurrence of the needle (excluding the needle).
@return string|false Returns the portion of string, or FALSE if needle is not found.
|
strchr
|
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 sprintf(string $format, #[PhpStormStubsElementAvailable(from: '5.3', to: '5.6')] $values, mixed ...$values) : string
{
}
|
Return a formatted string
@link https://php.net/manual/en/function.sprintf.php
@param string $format <p>
The format string is composed of zero or more directives:
ordinary characters (excluding %) that are
copied directly to the result, and conversion
specifications, each of which results in fetching its
own parameter. This applies to both sprintf
and printf.
</p>
<p>
Each conversion specification consists of a percent sign
(%), followed by one or more of these
elements, in order:
An optional sign specifier that forces a sign
(- or +) to be used on a number. By default, only the - sign is used
on a number if it's negative. This specifier forces positive numbers
to have the + sign attached as well, and was added in PHP 4.3.0.</p>
@param string|int|float ...$values <p>
</p>
@return string a string produced according to the formatting string
format.
|
sprintf
|
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 vsprintf(string $format, array $values) : string
{
}
|
Return a formatted string
@link https://php.net/manual/en/function.vsprintf.php
@param string $format <p>
See sprintf for a description of
format.
</p>
@param array $values <p>
</p>
@return string Return array values as a formatted string according to
format (which is described in the documentation
for sprintf).
|
vsprintf
|
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 urlencode(string $string) : string
{
}
|
URL-encodes string
@link https://php.net/manual/en/function.urlencode.php
@param string $string <p>
The string to be encoded.
</p>
@return string a string in which all non-alphanumeric characters except
-_. have been replaced with a percent
(%) sign followed by two hex digits and spaces encoded
as plus (+) signs. It is encoded the same way that the
posted data from a WWW form is encoded, that is the same way as in
application/x-www-form-urlencoded media type. This
differs from the RFC 3986 encoding (see
rawurlencode) in that for historical reasons, spaces
are encoded as plus (+) signs.
|
urlencode
|
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 urldecode(string $string) : string
{
}
|
Decodes URL-encoded string
@link https://php.net/manual/en/function.urldecode.php
@param string $string <p>
The string to be decoded.
</p>
@return string the decoded string.
|
urldecode
|
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 rawurldecode(string $string) : string
{
}
|
Decode URL-encoded strings
@link https://php.net/manual/en/function.rawurldecode.php
@param string $string <p>
The URL to be decoded.
</p>
@return string the decoded URL, as a string.
|
rawurldecode
|
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 readlink(string $path) : string|false
{
}
|
Returns the target of a symbolic link
@link https://php.net/manual/en/function.readlink.php
@param string $path <p>
The symbolic link path.
</p>
@return string|false the contents of the symbolic link path or false on error.
|
readlink
|
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 linkinfo(string $path) : int|false
{
}
|
Gets information about a link
@link https://php.net/manual/en/function.linkinfo.php
@param string $path <p>
Path to the link.
</p>
@return int|false linkinfo returns the st_dev field
of the Unix C stat structure returned by the lstat
system call. Returns 0 or false in case of error.
|
linkinfo
|
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 escapeshellcmd(string $command) : string
{
}
|
Escape shell metacharacters
@link https://php.net/manual/en/function.escapeshellcmd.php
@param string $command <p>
The command that will be escaped.
</p>
@return string The escaped string.
|
escapeshellcmd
|
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 escapeshellarg(string $arg) : string
{
}
|
Escape a string to be used as a shell argument
@link https://php.net/manual/en/function.escapeshellarg.php
@param string $arg <p>
The argument that will be escaped.
</p>
@return string The escaped string.
|
escapeshellarg
|
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
|
#[LanguageLevelTypeAware(['8.2' => 'null|false'], default: 'null|bool')]
function passthru(string $command, &$result_code) : ?bool
{
}
|
Execute an external program and display raw output
@link https://php.net/manual/en/function.passthru.php
@param string $command <p>
The command that will be executed.
</p>
@param int &$result_code [optional] <p>
If the result_code argument is present, the
return status of the Unix command will be placed here.
</p>
@return bool|null null on success or false on failure.
|
passthru
|
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
|
#[ArrayShape(["command" => "string", "pid" => "int", "running" => "bool", "signaled" => "bool", "stopped" => "bool", "exitcode" => "int", "termsig" => "int", "stopsig" => "int"])]
#[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")]
function proc_get_status($process)
{
}
|
Get information about a process opened by {@see proc_open}
@link https://php.net/manual/en/function.proc-get-status.php
@param resource $process <p>
The proc_open resource that will
be evaluated.
</p>
@return array|false An array of collected information on success, and false
on failure. The returned array contains the following elements:
</p>
<p>
<tr valign="top"><td>element</td><td>type</td><td>description</td></tr>
<tr valign="top">
<td>command</td>
<td>string</td>
<td>
The command string that was passed to proc_open.
</td>
</tr>
<tr valign="top">
<td>pid</td>
<td>int</td>
<td>process id</td>
</tr>
<tr valign="top">
<td>running</td>
<td>bool</td>
<td>
true if the process is still running, false if it has
terminated.
</td>
</tr>
<tr valign="top">
<td>signaled</td>
<td>bool</td>
<td>
true if the child process has been terminated by
an uncaught signal. Always set to false on Windows.
</td>
</tr>
<tr valign="top">
<td>stopped</td>
<td>bool</td>
<td>
true if the child process has been stopped by a
signal. Always set to false on Windows.
</td>
</tr>
<tr valign="top">
<td>exitcode</td>
<td>int</td>
<td>
The exit code returned by the process (which is only
meaningful if running is false).
Only first call of this function return real value, next calls return
-1.
</td>
</tr>
<tr valign="top">
<td>termsig</td>
<td>int</td>
<td>
The number of the signal that caused the child process to terminate
its execution (only meaningful if signaled is true).
</td>
</tr>
<tr valign="top">
<td>stopsig</td>
<td>int</td>
<td>
The number of the signal that caused the child process to stop its
execution (only meaningful if stopped is true).
</td>
</tr>
|
proc_get_status
|
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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.