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] #[TentativeType] public function file(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = \FILEINFO_NONE, $context = null) : string|false { }
(PHP &gt;= 5.3.0, PECL fileinfo &gt;= 0.1.0)<br/> Return information about a file @link https://php.net/manual/en/function.finfo-file.php @param string $filename <p> Name of a file to be checked. </p> @param int $flags [optional] <p> One or disjunction of more Fileinfo constants. </p> @param resource $context [optional] <p> For a description of contexts, refer to . </p> @return string a textual description of the contents of the <i>filename</i> argument, or <b>FALSE</b> if an error occurred.
file
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
MIT
#[Pure] #[TentativeType] public function buffer(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $string, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = \FILEINFO_NONE, $context = null) : string|false { }
(PHP 5 &gt;= 5.3.0, PECL fileinfo &gt;= 0.1.0)<br/> Return information about a string buffer @link https://php.net/manual/en/function.finfo-buffer.php @param string $string <p> Content of a file to be checked. </p> @param int $flags [optional] <p> One or disjunction of more Fileinfo constants. </p> @param resource $context [optional] @return string a textual description of the <i>string</i> argument, or <b>FALSE</b> if an error occurred.
buffer
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
MIT
#[LanguageLevelTypeAware(['8.1' => 'finfo|false'], default: 'resource|false')] function finfo_open(int $flags = 0, ?string $magic_database = null) { }
(PHP &gt;= 5.3.0, PECL fileinfo &gt;= 0.1.0)<br/> Create a new fileinfo resource @link https://php.net/manual/en/function.finfo-open.php @param int $flags <p> One or disjunction of more Fileinfo constants. </p> @param string|null $magic_database [optional] <p> Name of a magic database file, usually something like /path/to/magic.mime. If not specified, the MAGIC environment variable is used. If this variable is not set either, /usr/share/misc/magic is used by default. A .mime and/or .mgc suffix is added if needed. </p> @return resource|false a magic database resource on success or <b>FALSE</b> on failure.
finfo_open
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/fileinfo/fileinfo.php
MIT
#[Pure] function filter_input(int $type, string $var_name, int $filter = \FILTER_DEFAULT, array|int $options = 0) : mixed { }
Gets a specific external variable by name and optionally filters it @link https://php.net/manual/en/function.filter-input.php @param int $type <p> One of <b>INPUT_GET</b>, <b>INPUT_POST</b>, <b>INPUT_COOKIE</b>, <b>INPUT_SERVER</b>, or <b>INPUT_ENV</b>. </p> @param string $var_name <p> Name of a variable to get. </p> @param int $filter [optional] <p> The ID of the filter to apply. The manual page lists the available filters. </p> @param array|int $options <p> Associative array of options or bitwise disjunction of flags. If filter accepts options, flags can be provided in "flags" field of array. </p> @return mixed Value of the requested variable on success, <b>FALSE</b> if the filter fails, or <b>NULL</b> if the <i>variable_name</i> variable is not set. If the flag <b>FILTER_NULL_ON_FAILURE</b> is used, it returns <b>FALSE</b> if the variable is not set and <b>NULL</b> if the filter fails.
filter_input
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_var(mixed $value, int $filter = \FILTER_DEFAULT, array|int $options = 0) : mixed { }
Filters a variable with a specified filter @link https://php.net/manual/en/function.filter-var.php @param mixed $value <p> Value to filter. </p> @param int $filter [optional] <p> The ID of the filter to apply. The manual page lists the available filters. </p> @param array|int $options <p> Associative array of options or bitwise disjunction of flags. If filter accepts options, flags can be provided in "flags" field of array. For the "callback" filter, callable type should be passed. The callback must accept one argument, the value to be filtered, and return the value after filtering/sanitizing it. </p> <p> <code> // for filters that accept options, use this format $options = array( 'options' => array( 'default' => 3, // value to return if the filter fails // other options here 'min_range' => 0 ), 'flags' => FILTER_FLAG_ALLOW_OCTAL, ); $var = filter_var('0755', FILTER_VALIDATE_INT, $options); // for filter that only accept flags, you can pass them directly $var = filter_var('oops', FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE); // for filter that only accept flags, you can also pass as an array $var = filter_var('oops', FILTER_VALIDATE_BOOLEAN, array('flags' => FILTER_NULL_ON_FAILURE)); // callback validate filter function foo($value) { // Expected format: Surname, GivenNames if (strpos($value, ", ") === false) return false; list($surname, $givennames) = explode(", ", $value, 2); $empty = (empty($surname) || empty($givennames)); $notstrings = (!is_string($surname) || !is_string($givennames)); if ($empty || $notstrings) { return false; } else { return $value; } } $var = filter_var('Doe, Jane Sue', FILTER_CALLBACK, array('options' => 'foo')); </code> </p> @return mixed the filtered data, or <b>FALSE</b> if the filter fails.
filter_var
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_input_array(int $type, array|int $options = \FILTER_DEFAULT, bool $add_empty = \true) : array|false|null { }
Gets external variables and optionally filters them @link https://php.net/manual/en/function.filter-input-array.php @param int $type <p> One of <b>INPUT_GET</b>, <b>INPUT_POST</b>, <b>INPUT_COOKIE</b>, <b>INPUT_SERVER</b>, or <b>INPUT_ENV</b>. </p> @param array|int $options [optional] <p> An array defining the arguments. A valid key is a string containing a variable name and a valid value is either a filter type, or an array optionally specifying the filter, flags and options. If the value is an array, valid keys are filter which specifies the filter type, flags which specifies any flags that apply to the filter, and options which specifies any options that apply to the filter. See the example below for a better understanding. </p> <p> This parameter can be also an integer holding a filter constant. Then all values in the input array are filtered by this filter. </p> @param bool $add_empty [optional] <p> Add missing keys as <b>NULL</b> to the return value. </p> @return array|false|null An array containing the values of the requested variables on success, or <b>FALSE</b> on failure. An array value will be <b>FALSE</b> if the filter fails, or <b>NULL</b> if the variable is not set. Or if the flag <b>FILTER_NULL_ON_FAILURE</b> is used, it returns <b>FALSE</b> if the variable is not set and <b>NULL</b> if the filter fails.
filter_input_array
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_var_array(array $array, array|int $options = \FILTER_DEFAULT, bool $add_empty = \true) : array|false|null { }
Gets multiple variables and optionally filters them @link https://php.net/manual/en/function.filter-var-array.php @param array $array <p> An array with string keys containing the data to filter. </p> @param array|int $options [optional] <p> An array defining the arguments. A valid key is a string containing a variable name and a valid value is either a filter type, or an array optionally specifying the filter, flags and options. If the value is an array, valid keys are filter which specifies the filter type, flags which specifies any flags that apply to the filter, and options which specifies any options that apply to the filter. See the example below for a better understanding. </p> <p> This parameter can be also an integer holding a filter constant. Then all values in the input array are filtered by this filter. </p> @param bool $add_empty [optional] <p> Add missing keys as <b>NULL</b> to the return value. </p> @return array|false|null An array containing the values of the requested variables on success, or <b>FALSE</b> on failure. An array value will be <b>FALSE</b> if the filter fails, or <b>NULL</b> if the variable is not set.
filter_var_array
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_list() : array { }
Returns a list of all supported filters @link https://php.net/manual/en/function.filter-list.php @return array an array of names of all supported filters, empty array if there are no such filters. Indexes of this array are not filter IDs, they can be obtained with <b>filter_id</b> from a name instead.
filter_list
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_has_var(int $input_type, string $var_name) : bool { }
Checks if variable of specified type exists @link https://php.net/manual/en/function.filter-has-var.php @param int $input_type <p> One of <b>INPUT_GET</b>, <b>INPUT_POST</b>, <b>INPUT_COOKIE</b>, <b>INPUT_SERVER</b>, or <b>INPUT_ENV</b>. </p> @param string $var_name <p> Name of a variable to check. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
filter_has_var
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[Pure] function filter_id(string $name) : int|false { }
Returns the filter ID belonging to a named filter @link https://php.net/manual/en/function.filter-id.php @param string $name <p> Name of a filter to get. </p> @return int|false ID of a filter on success or <b>FALSE</b> if filter doesn't exist.
filter_id
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/filter/filter.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/filter/filter.php
MIT
#[LanguageLevelTypeAware(['8.0' => 'array|null'], default: 'array')] function ftp_raw(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp, string $command) { }
Sends an arbitrary command to an FTP server @link https://php.net/manual/en/function.ftp-raw.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @param string $command <p> The command to execute. </p> @return string[] the server's response as an array of strings. No parsing is performed on the response string, nor does <b>ftp_raw</b> determine if the command succeeded.
ftp_raw
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[EV([\FTP_FAILED, \FTP_FINISHED, \FTP_MOREDATA])] function ftp_nb_fget(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp, $stream, string $remote_filename, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = \FTP_BINARY, int $offset = 0) : int { }
Retrieves a file from the FTP server and writes it to an open file (non-blocking) @link https://php.net/manual/en/function.ftp-nb-fget.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @param resource $stream <p> An open file pointer in which we store the data. </p> @param string $remote_filename <p> The remote file path. </p> @param int $mode <p> The transfer mode. Must be either <b>FTP_ASCII</b> or <b>FTP_BINARY</b>. Optional since PHP 7.3 </p> @param int $offset [optional] <p>The position in the remote file to start downloading from.</p> @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b> or <b>FTP_MOREDATA</b>.
ftp_nb_fget
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[EV([\FTP_FAILED, \FTP_FINISHED, \FTP_MOREDATA])] #[LanguageLevelTypeAware(["8.1" => "int|false"], default: "int")] function ftp_nb_get(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp, string $local_filename, string $remote_filename, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = \FTP_BINARY, int $offset = 0) { }
Retrieves a file from the FTP server and writes it to a local file (non-blocking) @link https://php.net/manual/en/function.ftp-nb-get.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @param string $local_filename <p> The local file path (will be overwritten if the file already exists). </p> @param string $remote_filename <p> The remote file path. </p> @param int $mode <p> The transfer mode. Must be either <b>FTP_ASCII</b> or <b>FTP_BINARY</b>. Optional since PHP 7.3 </p> @param int $offset [optional] <p>The position in the remote file to start downloading from.</p> @return int|false <b>FTP_FAILED</b> or <b>FTP_FINISHED</b> or <b>FTP_MOREDATA</b>.
ftp_nb_get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[EV([\FTP_FAILED, \FTP_FINISHED, \FTP_MOREDATA])] function ftp_nb_continue(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp) : int { }
Continues retrieving/sending a file (non-blocking) @link https://php.net/manual/en/function.ftp-nb-continue.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b> or <b>FTP_MOREDATA</b>.
ftp_nb_continue
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[EV([\FTP_FAILED, \FTP_FINISHED, \FTP_MOREDATA])] function ftp_nb_put(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp, string $remote_filename, string $local_filename, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = \FTP_BINARY, int $offset = 0) : int|false { }
Stores a file on the FTP server (non-blocking) @link https://php.net/manual/en/function.ftp-nb-put.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @param string $remote_filename <p> The remote file path. </p> @param string $local_filename <p> The local file path. </p> @param int $mode <p> The transfer mode. Must be either <b>FTP_ASCII</b> or <b>FTP_BINARY</b>. Optional since PHP 7.3 </p> @param int $offset [optional] <p>The position in the remote file to start uploading to.</p> @return int|false <b>FTP_FAILED</b> or <b>FTP_FINISHED</b> or <b>FTP_MOREDATA</b>.
ftp_nb_put
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[EV([\FTP_FAILED, \FTP_FINISHED, \FTP_MOREDATA])] function ftp_nb_fput(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\FTP\\Connection'], default: 'resource')] $ftp, string $remote_filename, $stream, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '5.3', to: '7.2')] int $mode, #[EV([\FTP_ASCII, \FTP_BINARY])] #[PhpStormStubsElementAvailable(from: '7.3')] int $mode = \FTP_BINARY, int $offset = 0) : int { }
Stores a file from an open file to the FTP server (non-blocking) @link https://php.net/manual/en/function.ftp-nb-fput.php @param resource $ftp <p> The link identifier of the FTP connection. </p> @param string $remote_filename <p> The remote file path. </p> @param resource $stream <p> An open file pointer on the local file. Reading stops at end of file. </p> @param int $mode <p> The transfer mode. Must be either <b>FTP_ASCII</b> or <b>FTP_BINARY</b>. Optional since PHP 7.3 </p> @param int $offset [optional] <p>The position in the remote file to start uploading to.</p> @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b> or <b>FTP_MOREDATA</b>.
ftp_nb_fput
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/ftp/ftp.php
MIT
#[Pure] #[ArrayShape(["GD Version" => "string", "FreeType Support" => "bool", "GIF Read Support" => "bool", "GIF Create Support" => "bool", "JPEG Support" => "bool", "PNG Support" => "bool", "WBMP Support" => "bool", "XPM Support" => "bool", "XBM Support" => "bool", "WebP Support" => "bool", "BMP Support" => "bool", "TGA Read Support" => "bool", "AVIF Support" => "bool", "JIS-mapped Japanese Font Support" => "bool"])] function gd_info() : array { }
Retrieve information about the currently installed GD library @link https://php.net/manual/en/function.gd-info.php @return array an associative array. <p> <table> Elements of array returned by <b>gd_info</b> <tr valign="top"> <td>Attribute</td> <td>Meaning</td> </tr> <tr valign="top"> <td>GD Version</td> <td>string value describing the installed libgd version.</td> </tr> <tr valign="top"> <td>FreeType Support</td> <td>boolean value. <b>TRUE</b> if FreeType Support is installed.</td> </tr> <tr valign="top"> <td>FreeType Linkage</td> <td>string value describing the way in which FreeType was linked. Expected values are: 'with freetype', 'with TTF library', and 'with unknown library'. This element will only be defined if FreeType Support evaluated to <b>TRUE</b>.</td> </tr> <tr valign="top"> <td>T1Lib Support</td> <td>boolean value. <b>TRUE</b> if T1Lib support is included.</td> </tr> <tr valign="top"> <td>GIF Read Support</td> <td>boolean value. <b>TRUE</b> if support for reading GIF images is included.</td> </tr> <tr valign="top"> <td>GIF Create Support</td> <td>boolean value. <b>TRUE</b> if support for creating GIF images is included.</td> </tr> <tr valign="top"> <td>JPEG Support</td> <td>boolean value. <b>TRUE</b> if JPEG support is included.</td> </tr> <tr valign="top"> <td>PNG Support</td> <td>boolean value. <b>TRUE</b> if PNG support is included.</td> </tr> <tr valign="top"> <td>WBMP Support</td> <td>boolean value. <b>TRUE</b> if WBMP support is included.</td> </tr> <tr valign="top"> <td>XBM Support</td> <td>boolean value. <b>TRUE</b> if XBM support is included.</td> </tr> <tr valign="top"> <td>WebP Support</td> <td>boolean value. <b>TRUE</b> if WebP support is included.</td> </tr> </table> </p> <p> Previous to PHP 5.3.0, the JPEG Support attribute was named JPG Support. </p>
gd_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorat(\GdImage $image, int $x, int $y) : int|false { }
Get the index of the color of a pixel @link https://php.net/manual/en/function.imagecolorat.php @param resource|GdImage $image @param int $x <p> x-coordinate of the point. </p> @param int $y <p> y-coordinate of the point. </p> @return int|false the index of the color or <b>FALSE</b> on failure
imagecolorat
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecreatefromstring(string $data) : \GdImage|false { }
Create a new image from the image stream in the string @link https://php.net/manual/en/function.imagecreatefromstring.php @param string $data <p> A string containing the image data. </p> @return resource|GdImage|false An image resource will be returned on success. <b>FALSE</b> is returned if the image type is unsupported, the data is not in a recognised format, or the image is corrupt and cannot be loaded.
imagecreatefromstring
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorclosest(\GdImage $image, int $red, int $green, int $blue) : int { }
Get the index of the closest color to the specified color @link https://php.net/manual/en/function.imagecolorclosest.php @param resource|GdImage $image @param int $red <p>Value of red component.</p> @param int $green <p>Value of green component.</p> @param int $blue <p>Value of blue component.</p> @return int|false the index of the closest color, in the palette of the image, to the specified one or <b>FALSE</b> on failure
imagecolorclosest
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorclosesthwb(\GdImage $image, int $red, int $green, int $blue) : int { }
Get the index of the color which has the hue, white and blackness @link https://php.net/manual/en/function.imagecolorclosesthwb.php @param resource|GdImage $image @param int $red <p>Value of red component.</p> @param int $green <p>Value of green component.</p> @param int $blue <p>Value of blue component.</p> @return int|false an integer with the index of the color which has the hue, white and blackness nearest the given color or <b>FALSE</b> on failure
imagecolorclosesthwb
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorresolve(\GdImage $image, int $red, int $green, int $blue) : int { }
Get the index of the specified color or its closest possible alternative @link https://php.net/manual/en/function.imagecolorresolve.php @param resource|GdImage $image @param int $red <p>Value of red component.</p> @param int $green <p>Value of green component.</p> @param int $blue <p>Value of blue component.</p> @return int|false a color index or <b>FALSE</b> on failure
imagecolorresolve
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorexact(\GdImage $image, int $red, int $green, int $blue) : int { }
Get the index of the specified color @link https://php.net/manual/en/function.imagecolorexact.php @param resource|GdImage $image @param int $red <p>Value of red component.</p> @param int $green <p>Value of green component.</p> @param int $blue <p>Value of blue component.</p> @return int|false the index of the specified color in the palette, -1 if the color does not exist, or <b>FALSE</b> on failure
imagecolorexact
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'null|false'], default: 'null|bool')] function imagecolorset(\GdImage $image, int $color, int $red, int $green, int $blue, int $alpha = 0) : ?bool { }
Set the color for the specified palette index @link https://php.net/manual/en/function.imagecolorset.php @param resource|GdImage $image @param int $color <p> An index in the palette. </p> @param int $red <p>Value of red component.</p> @param int $green <p>Value of green component.</p> @param int $blue <p>Value of blue component.</p> @param int $alpha [optional] <p> Value of alpha component. </p> @return bool|null
imagecolorset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorstotal(\GdImage $image) : int { }
Find out the number of colors in an image's palette @link https://php.net/manual/en/function.imagecolorstotal.php @param resource|GdImage $image <p> An image resource, returned by one of the image creation functions, such as <b>imagecreatefromgif</b>. </p> @return int|false the number of colors in the specified image's palette, 0 for truecolor images, or <b>FALSE</b> on failure
imagecolorstotal
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] #[LanguageLevelTypeAware(['8.0' => 'array'], default: 'array|false')] #[ArrayShape(["red" => "int", "green" => "int", "blue" => "int", "alpha" => "int"])] function imagecolorsforindex(\GdImage $image, int $color) { }
Get the colors for an index @link https://php.net/manual/en/function.imagecolorsforindex.php @param resource|GdImage $image @param int $color <p> The color index. </p> @return array|false an associative array with red, green, blue and alpha keys that contain the appropriate values for the specified color index or <b>FALSE</b> on failure
imagecolorsforindex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecreate(int $width, int $height) : \GdImage|false { }
Create a new palette based image @link https://php.net/manual/en/function.imagecreate.php @param int $width <p> The image width. </p> @param int $height <p> The image height. </p> @return resource|GdImage|false an image resource identifier on success, false on errors.
imagecreate
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecreatetruecolor(int $width, int $height) : \GdImage|false { }
Create a new true color image @link https://php.net/manual/en/function.imagecreatetruecolor.php @param int $width <p> Image width. </p> @param int $height <p> Image height. </p> @return resource|GdImage|false an image resource identifier on success, false on errors.
imagecreatetruecolor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imageistruecolor(\GdImage $image) : bool { }
Finds whether an image is a truecolor image @link https://php.net/manual/en/function.imageistruecolor.php @param resource|GdImage $image @return bool true if the image is truecolor, false otherwise.
imageistruecolor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorresolvealpha(\GdImage $image, int $red, int $green, int $blue, int $alpha) : int { }
Get the index of the specified color + alpha or its closest possible alternative @link https://php.net/manual/en/function.imagecolorresolvealpha.php @param resource|GdImage $image @param int $red <p> Value of red component. </p> @param int $green <p> Value of green component. </p> @param int $blue <p> Value of blue component. </p> @param int $alpha <p> A value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent. </p> @return int|false a color index or <b>FALSE</b> on failure
imagecolorresolvealpha
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagecolorclosestalpha(\GdImage $image, int $red, int $green, int $blue, int $alpha) : int { }
Get the index of the closest color to the specified color + alpha @link https://php.net/manual/en/function.imagecolorclosestalpha.php @param resource|GdImage $image @param int $red <p> Value of red component. </p> @param int $green <p> Value of green component. </p> @param int $blue <p> Value of blue component. </p> @param int $alpha <p> A value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent. </p> @return int|false the index of the closest color in the palette or <b>FALSE</b> on failure
imagecolorclosestalpha
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] #[LanguageLevelTypeAware(['8.0' => 'int'], default: 'int|false')] function imagecolorexactalpha(\GdImage $image, int $red, int $green, int $blue, int $alpha) { }
Get the index of the specified color + alpha @link https://php.net/manual/en/function.imagecolorexactalpha.php @param resource|GdImage $image @param int $red <p> Value of red component. </p> @param int $green <p> Value of green component. </p> @param int $blue <p> Value of blue component. </p> @param int $alpha <p> A value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent. </p> @return int|false the index of the specified color+alpha in the palette of the image, -1 if the color does not exist in the image's palette, or <b>FALSE</b> on failure
imagecolorexactalpha
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[PhpStormStubsElementAvailable(from: '8.0')] function imagefilledpolygon(\GdImage $image, array $points, ?int $color) : bool { }
Draw a filled polygon @link https://php.net/manual/en/function.imagefilledpolygon.php @param GdImage $image @param int[] $points <p> An array containing the x and y coordinates of the polygons vertices consecutively. </p> @param int|null $color <p> A color identifier created with imagecolorallocate. </p> @return bool true on success or false on failure.
imagefilledpolygon
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagefontwidth(#[LanguageLevelTypeAware(['8.1' => 'GdFont|int'], default: 'int')] $font) : int { }
Get font width @link https://php.net/manual/en/function.imagefontwidth.php @param int $font @return int the width of the pixel
imagefontwidth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagefontheight(#[LanguageLevelTypeAware(['8.1' => 'GdFont|int'], default: 'int')] $font) : int { }
Get font height @link https://php.net/manual/en/function.imagefontheight.php @param int $font @return int the height of the pixel.
imagefontheight
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[LanguageLevelTypeAware(['8.1' => 'GdFont|false'], default: 'int|false')] function imageloadfont(string $filename) { }
Load a new font @link https://php.net/manual/en/function.imageloadfont.php @param string $filename <p> The font file format is currently binary and architecture dependent. This means you should generate the font files on the same type of CPU as the machine you are running PHP on. </p> <p> <table> Font file format <tr valign="top"> <td>byte position</td> <td>C data type</td> <td>description</td> </tr> <tr valign="top"> <td>byte 0-3</td> <td>int</td> <td>number of characters in the font</td> </tr> <tr valign="top"> <td>byte 4-7</td> <td>int</td> <td> value of first character in the font (often 32 for space) </td> </tr> <tr valign="top"> <td>byte 8-11</td> <td>int</td> <td>pixel width of each character</td> </tr> <tr valign="top"> <td>byte 12-15</td> <td>int</td> <td>pixel height of each character</td> </tr> <tr valign="top"> <td>byte 16-</td> <td>char</td> <td> array with character data, one byte per pixel in each character, for a total of (nchars*width*height) bytes. </td> </tr> </table> </p> @return int|false The font identifier which is always bigger than 5 to avoid conflicts with built-in fonts or false on errors.
imageloadfont
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagesx(\GdImage $image) : int { }
Get image width @link https://php.net/manual/en/function.imagesx.php @param resource|GdImage $image @return int|false Return the width of the image or false on errors.
imagesx
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagesy(\GdImage $image) : int { }
Get image height @link https://php.net/manual/en/function.imagesy.php @param resource|GdImage $image @return int|false Return the height of the image or false on errors.
imagesy
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Deprecated("Use combination of imagesetstyle() and imageline() instead")] function imagedashedline(\GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color) : bool { }
Draw a dashed line @link https://php.net/manual/en/function.imagedashedline.php @param resource|GdImage $image @param int $x1 <p> Upper left x coordinate. </p> @param int $y1 <p> Upper left y coordinate 0, 0 is the top left corner of the image. </p> @param int $x2 <p> Bottom right x coordinate. </p> @param int $y2 <p> Bottom right y coordinate. </p> @param int $color <p> The fill color. A color identifier created with imagecolorallocate. </p> @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. @see imagesetstyle() @see imageline()
imagedashedline
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagettfbbox(float $size, float $angle, string $font_filename, string $string, #[PhpStormStubsElementAvailable(from: '8.0')] array $options = []) : array|false { }
Give the bounding box of a text using TrueType fonts @link https://php.net/manual/en/function.imagettfbbox.php @param float $size <p> The font size. Depending on your version of GD, this should be specified as the pixel size (GD1) or point size (GD2). </p> @param float $angle <p> Angle in degrees in which text will be measured. </p> @param string $font_filename <p> The name of the TrueType font file (can be a URL). Depending on which version of the GD library that PHP is using, it may attempt to search for files that do not begin with a leading '/' by appending '.ttf' to the filename and searching along a library-defined font path. </p> @param string $string <p> The string to be measured. </p> @param array $options [optional] @return array|false imagettfbbox returns an array with 8 elements representing four points making the bounding box of the text on success and false on error. <tr valign="top"> <td>key</td> <td>contents</td> </tr> <tr valign="top"> <td>0</td> <td>lower left corner, X position</td> </tr> <tr valign="top"> <td>1</td> <td>lower left corner, Y position</td> </tr> <tr valign="top"> <td>2</td> <td>lower right corner, X position</td> </tr> <tr valign="top"> <td>3</td> <td>lower right corner, Y position</td> </tr> <tr valign="top"> <td>4</td> <td>upper right corner, X position</td> </tr> <tr valign="top"> <td>5</td> <td>upper right corner, Y position</td> </tr> <tr valign="top"> <td>6</td> <td>upper left corner, X position</td> </tr> <tr valign="top"> <td>7</td> <td>upper left corner, Y position</td> </tr> </p> <p> The points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner seeing the text horizontally.
imagettfbbox
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $options = []) : array|false { }
Give the bounding box of a text using fonts via freetype2 @link https://php.net/manual/en/function.imageftbbox.php @param float $size <p> The font size. Depending on your version of GD, this should be specified as the pixel size (GD1) or point size (GD2). </p> @param float $angle <p> Angle in degrees in which text will be measured. </p> @param string $font_filename <p> The name of the TrueType font file (can be a URL). Depending on which version of the GD library that PHP is using, it may attempt to search for files that do not begin with a leading '/' by appending '.ttf' to the filename and searching along a library-defined font path. </p> @param string $string <p> The string to be measured. </p> @param array $options [optional] <p> <table> Possible array indexes for extrainfo <tr valign="top"> <td>Key</td> <td>Type</td> <td>Meaning</td> </tr> <tr valign="top"> <td>linespacing</td> <td>float</td> <td>Defines drawing linespacing</td> </tr> </table> </p> @return array|false imageftbbox returns an array with 8 elements representing four points making the bounding box of the text: <tr valign="top"> <td>0</td> <td>lower left corner, X position</td> </tr> <tr valign="top"> <td>1</td> <td>lower left corner, Y position</td> </tr> <tr valign="top"> <td>2</td> <td>lower right corner, X position</td> </tr> <tr valign="top"> <td>3</td> <td>lower right corner, Y position</td> </tr> <tr valign="top"> <td>4</td> <td>upper right corner, X position</td> </tr> <tr valign="top"> <td>5</td> <td>upper right corner, Y position</td> </tr> <tr valign="top"> <td>6</td> <td>upper left corner, X position</td> </tr> <tr valign="top"> <td>7</td> <td>upper left corner, Y position</td> </tr> </p> <p> The points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner seeing the text horizontally. Returns false on error.
imageftbbox
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagetypes() : int { }
Return the image types supported by this PHP build @link https://php.net/manual/en/function.imagetypes.php @return int a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_BMP | IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP | IMG_XPM | IMG_WEBP
imagetypes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Deprecated(reason: "Use imagecreatefromjpeg() and imagewbmp() instead", since: "7.2")] function jpeg2wbmp($jpegname, $wbmpname, $dest_height, $dest_width, $threshold) { }
Convert JPEG image file to WBMP image file @link https://php.net/manual/en/function.jpeg2wbmp.php @param string $jpegname <p> Path to JPEG file. </p> @param string $wbmpname <p> Path to destination WBMP file. </p> @param int $dest_height <p> Destination image height. </p> @param int $dest_width <p> Destination image width. </p> @param int $threshold <p> Threshold value, between 0 and 8 (inclusive). </p> @return bool true on success or false on failure. @removed 8.0 @see imagecreatefromjpeg()
jpeg2wbmp
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Deprecated("Use imagecreatefrompng() and imagewbmp() instead", since: "7.2")] function png2wbmp($pngname, $wbmpname, $dest_height, $dest_width, $threshold) { }
Convert PNG image file to WBMP image file @link https://php.net/manual/en/function.png2wbmp.php @param string $pngname <p> Path to PNG file. </p> @param string $wbmpname <p> Path to destination WBMP file. </p> @param int $dest_height <p> Destination image height. </p> @param int $dest_width <p> Destination image width. </p> @param int $threshold <p> Threshold value, between 0 and 8 (inclusive). </p> @return bool true on success or false on failure. @removed 8.0 @see imagecreatefrompng() @see imagewbmp()
png2wbmp
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Deprecated(replacement: "imagewbmp(%parametersList%)", since: "7.3")] function image2wbmp($image, $filename = null, $threshold = null) { }
Output image to browser or file @link https://php.net/manual/en/function.image2wbmp.php @param resource|GdImage $image @param string $filename [optional] <p> Path to the saved file. If not given, the raw image stream will be outputted directly. </p> @param int $threshold [optional] <p> Threshold value, between 0 and 255 (inclusive). </p> @return bool true on success or false on failure. @removed 8.0 @see imagewbmp()
image2wbmp
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'array|true'], default: 'array|bool')] function imageresolution(\GdImage $image, ?int $resolution_x = null, ?int $resolution_y = null) : array|bool { }
@param resource|GdImage $image An image resource, returned by one of the image creation functions, such as {@see imagecreatetruecolor()}. @param int|null $resolution_x The horizontal resolution in DPI. @param int|null $resolution_y The vertical resolution in DPI. @return array|bool When used as getter (that is without the optional parameters), it returns <b>TRUE</b> on success, or <b>FALSE</b> on failure. When used as setter (that is with one or both optional parameters given), it returns an indexed array of the horizontal and vertical resolution on success, or <b>FALSE</b> on failure. @link https://php.net/manual/en/function.imageresolution.php @since 7.2
imageresolution
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagegrabscreen() { }
Captures the whole screen https://www.php.net/manual/en/function.imagegrabscreen.php @return resource|GdImage|false
imagegrabscreen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagegrabwindow($handle, $client_area = null) { }
Captures a window @link https://www.php.net/manual/en/function.imagegrabwindow.php @param int $handle @param int|null $client_area @return resource|GdImage|false
imagegrabwindow
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function imagegetinterpolation(\GdImage $image) : int { }
Gets the currently set interpolation method of the image. @link https://www.php.net/manual/en/function.imagegetinterpolation.php @param GdImage $image @return int
imagegetinterpolation
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gd/gd.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gd/gd.php
MIT
#[Pure] function geoip_database_info($database = \GEOIP_COUNTRY_EDITION) { }
(PECL geoip &gt;= 0.2.0)<br/> Get GeoIP Database information @link https://php.net/manual/en/function.geoip-database-info.php @param int $database [optional] <p> The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION). </p> @return string|null the corresponding database version, or <b>NULL</b> on error.
geoip_database_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_country_code_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the two letter country code @link https://php.net/manual/en/function.geoip-country-code-by-name.php @param string $hostname <p> The hostname or IP address whose location is to be looked-up. </p> @return string|false the two letter ISO country code on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_country_code_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_country_code3_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the three letter country code @link https://php.net/manual/en/function.geoip-country-code3-by-name.php @param string $hostname <p> The hostname or IP address whose location is to be looked-up. </p> @return string|false the three letter country code on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_country_code3_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_country_name_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the full country name @link https://php.net/manual/en/function.geoip-country-name-by-name.php @param string $hostname <p> The hostname or IP address whose location is to be looked-up. </p> @return string|false the country name on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_country_name_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_continent_code_by_name($hostname) { }
(PECL geoip &gt;= 1.0.3)<br/> Get the two letter continent code @link https://php.net/manual/en/function.geoip-continent-code-by-name.php @param string $hostname <p> The hostname or IP address whose location is to be looked-up. </p> @return string|false the two letter continent code on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_continent_code_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_org_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the organization name @link https://php.net/manual/en/function.geoip-org-by-name.php @param string $hostname <p> The hostname or IP address. </p> @return string|false the organization name on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_org_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_record_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Returns the detailed City information found in the GeoIP Database @link https://php.net/manual/en/function.geoip-record-by-name.php @param string $hostname <p> The hostname or IP address whose record is to be looked-up. </p> @return array|false the associative array on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_record_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_id_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the Internet connection type @link https://php.net/manual/en/function.geoip-id-by-name.php @param string $hostname <p> The hostname or IP address whose connection type is to be looked-up. </p> @return int the connection type.
geoip_id_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_region_by_name($hostname) { }
(PECL geoip &gt;= 0.2.0)<br/> Get the country code and region @link https://php.net/manual/en/function.geoip-region-by-name.php @param string $hostname <p> The hostname or IP address whose region is to be looked-up. </p> @return array|false the associative array on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_region_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_isp_by_name($hostname) { }
(PECL geoip &gt;= 1.0.2)<br/> Get the Internet Service Provider (ISP) name @link https://php.net/manual/en/function.geoip-isp-by-name.php @param string $hostname <p> The hostname or IP address. </p> @return string|false the ISP name on success, or <b>FALSE</b> if the address cannot be found in the database.
geoip_isp_by_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_db_avail($database) { }
(PECL geoip &gt;= 1.0.1)<br/> Determine if GeoIP Database is available @link https://php.net/manual/en/function.geoip-db-avail.php @param int $database <p> The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION). </p> @return bool|null <b>TRUE</b> is database exists, <b>FALSE</b> if not found, or <b>NULL</b> on error.
geoip_db_avail
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_db_get_all_info() { }
(PECL geoip &gt;= 1.0.1)<br/> Returns detailed information about all GeoIP database types @link https://php.net/manual/en/function.geoip-db-get-all-info.php @return array the associative array.
geoip_db_get_all_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_db_filename($database) { }
(PECL geoip &gt;= 1.0.1)<br/> Returns the filename of the corresponding GeoIP Database @link https://php.net/manual/en/function.geoip-db-filename.php @param int $database <p> The database type as an integer. You can use the various constants defined with this extension (ie: GEOIP_*_EDITION). </p> @return string|null the filename of the corresponding database, or <b>NULL</b> on error.
geoip_db_filename
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_region_name_by_code($country_code, $region_code) { }
(PECL geoip &gt;= 1.0.4)<br/> Returns the region name for some country and region code combo @link https://php.net/manual/en/function.geoip-region-name-by-code.php @param string $country_code <p> The two-letter country code (see <b>geoip_country_code_by_name</b>) </p> @param string $region_code <p> The two-letter (or digit) region code (see <b>geoip_region_by_name</b>) </p> @return string|false the region name on success, or <b>FALSE</b> if the country and region code combo cannot be found.
geoip_region_name_by_code
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function geoip_time_zone_by_country_and_region($country_code, $region_code = null) { }
(PECL geoip &gt;= 1.0.4)<br/> Returns the time zone for some country and region code combo @link https://php.net/manual/en/function.geoip-time-zone-by-country-and-region.php @param string $country_code <p> The two-letter country code (see <b>geoip_country_code_by_name</b>) </p> @param string $region_code [optional] <p> The two-letter (or digit) region code (see <b>geoip_region_by_name</b>) </p> @return string|false the time zone on success, or <b>FALSE</b> if the country and region code combo cannot be found.
geoip_time_zone_by_country_and_region
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/geoip/geoip.php
MIT
#[Pure] function ngettext(string $singular, string $plural, int $count) : string { }
Plural version of gettext @link https://php.net/manual/en/function.ngettext.php @param string $singular @param string $plural @param int $count @return string correct plural form of message identified by <i>msgid1</i> and <i>msgid2</i> for count <i>n</i>.
ngettext
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
MIT
#[Pure] function dngettext(string $domain, string $singular, string $plural, int $count) : string { }
Plural version of dgettext @link https://php.net/manual/en/function.dngettext.php @param string $domain <p> The domain </p> @param string $singular @param string $plural @param int $count @return string A string on success.
dngettext
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
MIT
#[Pure] function dcngettext(string $domain, string $singular, string $plural, int $count, int $category) : string { }
Plural version of dcgettext @link https://php.net/manual/en/function.dcngettext.php @param string $domain <p> The domain </p> @param string $singular @param string $plural @param int $count @param int $category @return string A string on success.
dcngettext
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gettext/gettext.php
MIT
#[Pure] public function getfilename() { }
Returns the filename associated with an image sequence. @link https://php.net/manual/en/gmagick.getfilename.php @return string Returns a string on success. @throws GmagickException On error.
getfilename
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagebackgroundcolor() { }
Returns the image background color. @link https://php.net/manual/en/gmagick.getimagebackgroundcolor.php @return GmagickPixel Returns a GmagickPixel set to the background color of the image. @throws GmagickException On error.
getimagebackgroundcolor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageblueprimary() { }
Returns the chromaticity blue primary point for the image. @link https://php.net/manual/en/gmagick.getimageblueprimary.php @return array Array consisting of "x" and "y" coordinates of point. @throws GmagickException On error.
getimageblueprimary
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagebordercolor() { }
Returns the image border color. @link https://php.net/manual/en/gmagick.getimagebordercolor.php @return GmagickPixel GmagickPixel object representing the color of the border. @throws GmagickException On error.
getimagebordercolor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagechanneldepth($channel_type) { }
Gets the depth for a particular image channel. @link https://php.net/manual/en/gmagick.getimagechanneldepth.php @param int $channel_type @return int Depth of image channel. @throws GmagickException On error.
getimagechanneldepth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagecolors() { }
Returns the color of the specified colormap index. @link https://php.net/manual/en/gmagick.getimagecolors.php @return int The number of colors in image. @throws GmagickException On error
getimagecolors
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagecolorspace() { }
Gets the image colorspace. @link https://php.net/manual/en/gmagick.getimagecolorspace.php @return int Colorspace @throws GmagickException On error.
getimagecolorspace
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagecompose() { }
Returns the composite operator associated with the image. @link https://php.net/manual/en/gmagick.getimagecompose.php @return int Returns the composite operator associated with the image. @throws GmagickException On error.
getimagecompose
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagedelay() { }
Gets the image delay. @link https://php.net/manual/en/gmagick.getimagedelay.php @return int Returns the composite operator associated with the image. @throws GmagickException On error.
getimagedelay
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagedepth() { }
Gets the depth of the image. @link https://php.net/manual/en/gmagick.getimagedepth.php @return int Image depth. @throws GmagickException On error.
getimagedepth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagedispose() { }
Gets the image disposal method. @link https://php.net/manual/en/gmagick.getimagedispose.php @return int Returns the dispose method on success. @throws GmagickException On error.
getimagedispose
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageextrema() { }
Gets the extrema for the image. @link https://php.net/manual/en/gmagick.getimageextrema.php @return array Returns an associative array with the keys "min" and "max". @throws GmagickException On error.
getimageextrema
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagefilename() { }
Returns the filename of a particular image in a sequence. @link https://php.net/manual/en/gmagick.getimagefilename.php @return string Returns a string with the filename of the image @throws GmagickException On error.
getimagefilename
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageformat() { }
Returns the format of a particular image in a sequence. @link https://php.net/manual/en/gmagick.getimageformat.php @return string Returns a string containing the image format on success. @throws GmagickException On error.
getimageformat
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagegamma() { }
Gets the image gamma. @link https://php.net/manual/en/gmagick.getimagegamma.php @return float Returns the image gamma on success. @throws GmagickException On error.
getimagegamma
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagegreenprimary() { }
Returns the chromaticy green primary point. @link https://php.net/manual/en/gmagick.getimagegreenprimary.php @return array Returns an array with the keys "x" and "y" on success. @throws GmagickException On error.
getimagegreenprimary
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageheight() { }
Returns the image height. @link https://php.net/manual/en/gmagick.getimageheight.php @return int Returns the image height in pixels. @throws GmagickException On error.
getimageheight
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagehistogram() { }
Gets the image histogram. @link https://php.net/manual/en/gmagick.getimagehistogram.php @return array Returns the image histogram as an array of GmagickPixel objects. @throws GmagickException On error.
getimagehistogram
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageindex() { }
Returns the index of the current active image within the Gmagick object. @link https://php.net/manual/en/gmagick.getimageindex.php @return int Index of current active image. @throws GmagickException On error.
getimageindex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageinterlacescheme() { }
Gets the image interlace scheme. @link https://php.net/manual/en/gmagick.getimageinterlacescheme.php @return int Returns the interlace scheme as an integer on success. @throws GmagickException On error.
getimageinterlacescheme
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageiterations() { }
Gets the image iterations. @link https://php.net/manual/en/gmagick.getimageiterations.php @return int Returns the image iterations as an integer. @throws GmagickException On error.
getimageiterations
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagematte() { }
Checks if the image has a matte channel. @link https://php.net/manual/en/gmagick.getimagematte.php @return bool Returns TRUE if the image has a matte channel, otherwise FALSE. @throws GmagickException On error.
getimagematte
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagemattecolor() { }
Returns the image matte color. @link https://php.net/manual/en/gmagick.getimagemattecolor.php @return GmagickPixel Returns GmagickPixel object on success. @throws GmagickException On error.
getimagemattecolor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageprofile($name) { }
Returns the named image profile. @link https://php.net/manual/en/gmagick.getimageprofile.php @param string $name @return string Returns a string containing the image profile. @throws GmagickException On error.
getimageprofile
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageredprimary() { }
Returns the chromaticity red primary point. @link https://php.net/manual/en/gmagick.getimageredprimary.php @return array Returns the chromaticity red primary point as an array with the keys "x" and "y". @throws GmagickException On error.
getimageredprimary
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagerenderingintent() { }
Gets the image rendering intent. @link https://php.net/manual/en/gmagick.getimagerenderingintent.php @return int Extracts a region of the image and returns it as a a new wand. @throws GmagickException On error.
getimagerenderingintent
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageresolution() { }
Gets the image X and Y resolution. @link https://php.net/manual/en/gmagick.getimageresolution.php @return array Returns the resolution as an array. @throws GmagickException On error.
getimageresolution
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagescene() { }
Gets the image scene. @link https://php.net/manual/en/gmagick.getimagescene.php @return int Returns the image scene. @throws GmagickException On error.
getimagescene
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagesignature() { }
Generates an SHA-256 message digest for the image pixel stream. @link https://php.net/manual/en/gmagick.getimagesignature.php @return string Returns a string containing the SHA-256 hash of the file. @throws GmagickException On error.
getimagesignature
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagetype() { }
Gets the potential image type. @link https://php.net/manual/en/gmagick.getimagetype.php @return int Returns the potential image type. @throws GmagickException On error.
getimagetype
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimageunits() { }
Gets the image units of resolution. @link https://php.net/manual/en/gmagick.getimageunits.php @return int Returns the image units of resolution.
getimageunits
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagewhitepoint() { }
Returns the chromaticity white point. @link https://php.net/manual/en/gmagick.getimagewhitepoint.php @return array Returns the chromaticity white point as an associative array with the keys "x" and "y". @throws GmagickException On error.
getimagewhitepoint
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT
#[Pure] public function getimagewidth() { }
Returns the width of the image. @link https://php.net/manual/en/gmagick.getimagewidth.php @return int Returns the image width. @throws GmagickException On error.
getimagewidth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/gmagick/gmagick.php
MIT