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 bindValue(#[LanguageLevelTypeAware(['8.0' => 'int|string'], default: '')] $param, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = \PDO::PARAM_STR) : bool
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 1.0.0)<br/>
Binds a value to a parameter
@link https://php.net/manual/en/pdostatement.bindvalue.php
@param mixed $param <p>
Parameter identifier. For a prepared statement using named
placeholders, this will be a parameter name of the form
:name. For a prepared statement using
question mark placeholders, this will be the 1-indexed position of
the parameter.
</p>
@param mixed $value <p>
The value to bind to the parameter.
</p>
@param int $type [optional] <p>
Explicit data type for the parameter using the PDO::PARAM_*
constants.
</p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
bindValue
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function rowCount() : int
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)<br/>
Returns the number of rows affected by the last SQL statement
@link https://php.net/manual/en/pdostatement.rowcount.php
@return int the number of rows.
|
rowCount
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function fetchColumn(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column = 0) : mixed
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0)<br/>
Returns a single column from the next row of a result set
@link https://php.net/manual/en/pdostatement.fetchcolumn.php
@param int $column [optional] <p>
0-indexed number of the column you wish to retrieve from the row. If
no value is supplied, <b>PDOStatement::fetchColumn</b>
fetches the first column.
</p>
@return mixed Returns a single column from the next row of a result
set or FALSE if there are no more rows.
</p>
<p>
There is no way to return another column from the same row if you
use <b>PDOStatement::fetchColumn</b> to retrieve data.
|
fetchColumn
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function fetchAll(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = \PDO::FETCH_DEFAULT, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $fetch_argument = null, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] ...$args) : array
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)<br/>
Returns an array containing all of the result set rows
@link https://php.net/manual/en/pdostatement.fetchall.php
@param int $mode [optional] <p>
Controls the contents of the returned array as documented in
<b>PDOStatement::fetch</b>.
Defaults to value of <b>PDO::ATTR_DEFAULT_FETCH_MODE</b>
(which defaults to <b>PDO::FETCH_BOTH</b>)
</p>
<p>
To return an array consisting of all values of a single column from
the result set, specify <b>PDO::FETCH_COLUMN</b>. You
can specify which column you want with the
<i>column-index</i> parameter.
</p>
<p>
To fetch only the unique values of a single column from the result set,
bitwise-OR <b>PDO::FETCH_COLUMN</b> with
<b>PDO::FETCH_UNIQUE</b>.
</p>
<p>
To return an associative array grouped by the values of a specified
column, bitwise-OR <b>PDO::FETCH_COLUMN</b> with
<b>PDO::FETCH_GROUP</b>.
</p>
@param mixed ...$args <p>
Arguments of custom class constructor when the <i>fetch_style</i>
parameter is <b>PDO::FETCH_CLASS</b>.
</p>
@return array|false <b>PDOStatement::fetchAll</b> returns an array containing
all of the remaining rows in the result set. The array represents each
row as either an array of column values or an object with properties
corresponding to each column name.
An empty array is returned if there are zero results to fetch, or false on failure.
</p>
<p>
Using this method to fetch large result sets will result in a heavy
demand on system and possibly network resources. Rather than retrieving
all of the data and manipulating it in PHP, consider using the database
server to manipulate the result sets. For example, use the WHERE and
ORDER BY clauses in SQL to restrict results before retrieving and
processing them with PHP.
|
fetchAll
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function fetchObject(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $class = "stdClass", #[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $constructorArgs = []) : object|false
{
}
|
@template T
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.4)<br/>
Fetches the next row and returns it as an object.
@link https://php.net/manual/en/pdostatement.fetchobject.php
@param class-string<T> $class [optional] <p>
Name of the created class.
</p>
@param array $constructorArgs [optional] <p>
Elements of this array are passed to the constructor.
</p>
@return T|stdClass|null an instance of the required class with property names that
correspond to the column names or <b>FALSE</b> on failure.
|
fetchObject
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function errorCode() : ?string
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)<br/>
Fetch the SQLSTATE associated with the last operation on the statement handle
@link https://php.net/manual/en/pdostatement.errorcode.php
@return string Identical to <b>PDO::errorCode</b>, except that
<b>PDOStatement::errorCode</b> only retrieves error codes
for operations performed with PDOStatement objects.
|
errorCode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[ArrayShape([0 => "string", 1 => "int", 2 => "string"])]
#[TentativeType]
public function errorInfo() : array
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)<br/>
Fetch extended error information associated with the last operation on the statement handle
@link https://php.net/manual/en/pdostatement.errorinfo.php
@return array <b>PDOStatement::errorInfo</b> returns an array of
error information about the last operation performed by this
statement handle. The array consists of the following fields:
<tr valign="top">
<td>Element</td>
<td>Information</td>
</tr>
<tr valign="top">
<td>0</td>
<td>SQLSTATE error code (a five characters alphanumeric identifier defined
in the ANSI SQL standard).</td>
</tr>
<tr valign="top">
<td>1</td>
<td>Driver specific error code.</td>
</tr>
<tr valign="top">
<td>2</td>
<td>Driver specific error message.</td>
</tr>
|
errorInfo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function setAttribute(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $attribute, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value) : bool
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Set a statement attribute
@link https://php.net/manual/en/pdostatement.setattribute.php
@param int $attribute
@param mixed $value
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
setAttribute
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function getAttribute(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $name) : mixed
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Retrieve a statement attribute
@link https://php.net/manual/en/pdostatement.getattribute.php
@param int $name
@return mixed the attribute value.
|
getAttribute
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function columnCount() : int
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Returns the number of columns in the result set
@link https://php.net/manual/en/pdostatement.columncount.php
@return int the number of columns in the result set represented by the
PDOStatement object. If there is no result set,
<b>PDOStatement::columnCount</b> returns 0.
|
columnCount
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
#[ArrayShape(["name" => "string", "len" => "int", "precision" => "int", "oci:decl_type" => "int|string", "native_type" => "string", "scale" => "int", "flags" => "array", "pdo_type" => "int"])]
public function getColumnMeta(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column) : array|false
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Returns metadata for a column in a result set
@link https://php.net/manual/en/pdostatement.getcolumnmeta.php
@param int $column <p>
The 0-indexed column in the result set.
</p>
@return array|false an associative array containing the following values representing
the metadata for a single column:
</p>
<table>
Column metadata
<tr valign="top">
<td>Name</td>
<td>Value</td>
</tr>
<tr valign="top">
<td>native_type</td>
<td>The PHP native type used to represent the column value.</td>
</tr>
<tr valign="top">
<td>driver:decl_type</td>
<td>The SQL type used to represent the column value in the database.
If the column in the result set is the result of a function, this value
is not returned by <b>PDOStatement::getColumnMeta</b>.
</td>
</tr>
<tr valign="top">
<td>flags</td>
<td>Any flags set for this column.</td>
</tr>
<tr valign="top">
<td>name</td>
<td>The name of this column as returned by the database.</td>
</tr>
<tr valign="top">
<td>table</td>
<td>The name of this column's table as returned by the database.</td>
</tr>
<tr valign="top">
<td>len</td>
<td>The length of this column. Normally -1 for
types other than floating point decimals.</td>
</tr>
<tr valign="top">
<td>precision</td>
<td>The numeric precision of this column. Normally
0 for types other than floating point
decimals.</td>
</tr>
<tr valign="top">
<td>pdo_type</td>
<td>The type of this column as represented by the
PDO::PARAM_* constants.</td>
</tr>
</table>
<p>
Returns <b>FALSE</b> if the requested column does not exist in the result set,
or if no result set exists.
|
getColumnMeta
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[PhpStormStubsElementAvailable(to: '7.4')]
public function setFetchMode($mode, $className = null, $params = [])
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Set the default fetch mode for this statement
@link https://php.net/manual/en/pdostatement.setfetchmode.php
@param int $mode <p>
The fetch mode must be one of the PDO::FETCH_* constants.
</p>
@param null|string|object $className [optional] <p>
Class name or object
</p>
@param array $params [optional] <p> Constructor arguments. </p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
setFetchMode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[PhpStormStubsElementAvailable('8.0')]
public function setFetchMode($mode, $className = null, ...$params)
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Set the default fetch mode for this statement
@link https://php.net/manual/en/pdostatement.setfetchmode.php
@param int $mode <p>
The fetch mode must be one of the PDO::FETCH_* constants.
</p>
@param string|object|null $className [optional] <p>
Class name or object
</p>
@param mixed ...$params <p> Constructor arguments. </p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
setFetchMode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function nextRowset() : bool
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.2.0)<br/>
Advances to the next rowset in a multi-rowset statement handle
@link https://php.net/manual/en/pdostatement.nextrowset.php
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
nextRowset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function closeCursor() : bool
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0)<br/>
Closes the cursor, enabling the statement to be executed again.
@link https://php.net/manual/en/pdostatement.closecursor.php
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
closeCursor
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[TentativeType]
public function debugDumpParams() : ?bool
{
}
|
(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0)<br/>
Dump an SQL prepared command
@link https://php.net/manual/en/pdostatement.debugdumpparams.php
@return bool|null No value is returned.
|
debugDumpParams
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[Pure]
function pdo_drivers() : array
{
}
|
(PHP 5 >= 5.1.3, PHP 7, PECL pdo >= 1.0.3)<br/>
Return an array of available PDO drivers
@link https://php.net/manual/en/pdo.getavailabledrivers.php
@return array <b>PDO::getAvailableDrivers</b> returns an array of PDO driver names. If
no drivers are available, it returns an empty array.
|
pdo_drivers
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Connection|false'], default: 'resource|false')]
function pg_connect(string $connection_string, int $flags = 0, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $host = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $port = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $options = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $tty = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $dbname = '')
{
}
|
Open a PostgreSQL connection
@link https://php.net/manual/en/function.pg-connect.php
@param string $connection_string <p>
The <i>connection_string</i> can be empty to use all default parameters, or it
can contain one or more parameter settings separated by whitespace.
Each parameter setting is in the form keyword = value. Spaces around
the equal sign are optional. To write an empty value or a value
containing spaces, surround it with single quotes, e.g., keyword =
'a value'. Single quotes and backslashes within the value must be
escaped with a backslash, i.e., \' and \\.
</p>
<p>
The currently recognized parameter keywords are:
<i>host</i>, <i>hostaddr</i>, <i>port</i>,
<i>dbname</i> (defaults to value of <i>user</i>),
<i>user</i>,
<i>password</i>, <i>connect_timeout</i>,
<i>options</i>, <i>tty</i> (ignored), <i>sslmode</i>,
<i>requiressl</i> (deprecated in favor of <i>sslmode</i>), and
<i>service</i>. Which of these arguments exist depends
on your PostgreSQL version.
</p>
<p>
The <i>options</i> parameter can be used to set command line parameters
to be invoked by the server.
</p>
@param int $flags <p>
If <b>PGSQL_CONNECT_FORCE_NEW</b> is passed, then a new connection
is created, even if the <i>connection_string</i> is identical to
an existing connection.
</p>
@return resource|false PostgreSQL connection resource on success, <b>FALSE</b> on failure.
|
pg_connect
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Connection|false'], default: 'resource|false')]
function pg_pconnect(string $connection_string, #[PhpStormStubsElementAvailable(from: '8.0')] int $flags = 0, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $host = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $port = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $options = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $tty = '', #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $dbname = '')
{
}
|
Open a persistent PostgreSQL connection
@link https://php.net/manual/en/function.pg-pconnect.php
@param string $connection_string <p>
The <i>connection_string</i> can be empty to use all default parameters, or it
can contain one or more parameter settings separated by whitespace.
Each parameter setting is in the form keyword = value. Spaces around
the equal sign are optional. To write an empty value or a value
containing spaces, surround it with single quotes, e.g., keyword =
'a value'. Single quotes and backslashes within the value must be
escaped with a backslash, i.e., \' and \\.
</p>
<p>
The currently recognized parameter keywords are:
<i>host</i>, <i>hostaddr</i>, <i>port</i>,
<i>dbname</i>, <i>user</i>,
<i>password</i>, <i>connect_timeout</i>,
<i>options</i>, <i>tty</i> (ignored), <i>sslmode</i>,
<i>requiressl</i> (deprecated in favor of <i>sslmode</i>), and
<i>service</i>. Which of these arguments exist depends
on your PostgreSQL version.
</p>
@param int $flags <p>
If <b>PGSQL_CONNECT_FORCE_NEW</b> is passed, then a new connection
is created, even if the <i>connection_string</i> is identical to
an existing connection.
</p>
@return resource|false PostgreSQL connection resource on success, <b>FALSE</b> on failure.
|
pg_pconnect
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')]
function pg_close(#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Connection|null'], default: 'resource')] $connection = null)
{
}
|
Closes a PostgreSQL connection
@link https://php.net/manual/en/function.pg-close.php
@param resource $connection [optional] <p>
PostgreSQL database connection resource. When
<i>connection</i> is not present, the default connection
is used. The default connection is the last connection made by
<b>pg_connect</b> or <b>pg_pconnect</b>.
</p>
|
pg_close
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[ArrayShape(["client" => "string", "protocol" => "int", "server" => "string"])]
function pg_version(#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Connection|null'], default: 'resource')] $connection = null) : array
{
}
|
Returns an array with client, protocol and server version (when available)
@link https://php.net/manual/en/function.pg-version.php
@param resource $connection [optional] <p>
PostgreSQL database connection resource. When
<i>connection</i> is not present, the default connection
is used. The default connection is the last connection made by
<b>pg_connect</b> or <b>pg_pconnect</b>.
</p>
@return array an array with client, protocol
and server keys and values (if available). Returns
<b>FALSE</b> on error or invalid connection.
|
pg_version
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Result|false'], default: 'resource|false')]
function pg_execute(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $connection = null, #[PhpStormStubsElementAvailable(from: '8.0')] #[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] string $statement_name = '', #[PhpStormStubsElementAvailable(from: '8.0')] $statement_name, array $params)
{
}
|
Sends a request to execute a prepared statement with given parameters, and waits for the result.
@link https://php.net/manual/en/function.pg-execute.php
@param resource $connection <p>
PostgreSQL database connection resource. When
<i>connection</i> is not present, the default connection
is used. The default connection is the last connection made by
<b>pg_connect</b> or <b>pg_pconnect</b>.
</p>
@param string $statement_name <p>
The name of the prepared statement to execute. if
"" is specified, then the unnamed statement is executed. The name must have
been previously prepared using <b>pg_prepare</b>,
<b>pg_send_prepare</b> or a PREPARE SQL
command.
</p>
@param array $params [optional] <p>
An array of parameter values to substitute for the $1, $2, etc. placeholders
in the original prepared query string. The number of elements in the array
must match the number of placeholders.
</p>
<p>
Elements are converted to strings by calling this function.
</p>
@return resource|false A query result resource on success or <b>FALSE</b> on failure.
|
pg_execute
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.0' => 'array'], default: 'array|false')]
function pg_fetch_all(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Result'], default: 'resource')] $result, int $mode = \PGSQL_ASSOC)
{
}
|
Fetches all rows from a result as an array
@link https://php.net/manual/en/function.pg-fetch-all.php
@param resource $result <p>
PostgreSQL query result resource, returned by <b>pg_query</b>,
<b>pg_query_params</b> or <b>pg_execute</b>
(among others).
</p>
@param int $mode [optional] <p>
An optional parameter that controls
how the returned array is indexed.
<i>result_type</i> is a constant and can take the
following values: <b>PGSQL_ASSOC</b>,
<b>PGSQL_NUM</b> and <b>PGSQL_BOTH</b>.
Using <b>PGSQL_NUM</b>, <b>pg_fetch_array</b>
will return an array with numerical indices, using
<b>PGSQL_ASSOC</b> it will return only associative indices
while <b>PGSQL_BOTH</b>, the default, will return both
numerical and associative indices.
</p>
@return array|false An array with all rows in the result. Each row is an array
of field values indexed by field name.
</p>
<p>
<b>FALSE</b> is returned if there are no rows in the result, or on any
other error.
|
pg_fetch_all
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Result|false'], default: 'resource|false')]
function pg_get_result(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection)
{
}
|
Get asynchronous query result
@link https://php.net/manual/en/function.pg-get-result.php
@param resource $connection <p>
PostgreSQL database connection resource.
</p>
@return resource|false The result resource, or <b>FALSE</b> if no more results are available.
|
pg_get_result
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[ArrayShape(["message" => "string", "pid" => "int", "payload" => "string"])]
function pg_get_notify(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $connection = null, #[PhpStormStubsElementAvailable(from: '8.0')] #[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, int $mode = 1) : array|false
{
}
|
Gets SQL NOTIFY message
@link https://php.net/manual/en/function.pg-get-notify.php
@param resource $connection <p>
PostgreSQL database connection resource.
</p>
@param int $mode [optional] <p>
An optional parameter that controls
how the returned array is indexed.
<i>result_type</i> is a constant and can take the
following values: <b>PGSQL_ASSOC</b>,
<b>PGSQL_NUM</b> and <b>PGSQL_BOTH</b>.
Using <b>PGSQL_NUM</b>, <b>pg_get_notify</b>
will return an array with numerical indices, using
<b>PGSQL_ASSOC</b> it will return only associative indices
while <b>PGSQL_BOTH</b>, the default, will return both
numerical and associative indices.
</p>
@return array|false An array containing the NOTIFY message name and backend PID.
Otherwise if no NOTIFY is waiting, then <b>FALSE</b> is returned.
|
pg_get_notify
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')]
function pg_untrace(#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Connection|null'], default: 'resource')] $connection = null)
{
}
|
Disable tracing of a PostgreSQL connection
@link https://php.net/manual/en/function.pg-untrace.php
@param resource $connection [optional] <p>
PostgreSQL database connection resource. When
<i>connection</i> is not present, the default connection
is used. The default connection is the last connection made by
<b>pg_connect</b> or <b>pg_pconnect</b>.
</p>
|
pg_untrace
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Lob|false'], default: 'resource|false')]
function pg_lo_open(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $connection = null, #[PhpStormStubsElementAvailable(from: '8.0')] #[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, $oid, string $mode)
{
}
|
Open a large object
@link https://php.net/manual/en/function.pg-lo-open.php
@param resource $connection <p>
PostgreSQL database connection resource. When
<i>connection</i> is not present, the default connection
is used. The default connection is the last connection made by
<b>pg_connect</b> or <b>pg_pconnect</b>.
</p>
@param int $oid [optional] <p>
The OID of the large object in the database.
</p>
@param string $mode [optional] <p>
Can be either "r" for read-only, "w" for write only or "rw" for read and
write.
</p>
@return resource|false A large object resource or <b>FALSE</b> on error.
|
pg_lo_open
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Result|string|bool'], default: 'resource|string|bool')]
function pg_insert(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, string $table_name, array $values, int $flags = \PGSQL_DML_EXEC)
{
}
|
Insert array into table
@link https://php.net/manual/en/function.pg-insert.php
@param resource $connection <p>
PostgreSQL database connection resource.
</p>
@param string $table_name <p>
Name of the table into which to insert rows. The table <i>table_name</i> must at least
have as many columns as <i>assoc_array</i> has elements.
</p>
@param array $values <p>
An array whose keys are field names in the table <i>table_name</i>,
and whose values are the values of those fields that are to be inserted.
</p>
@param int $flags [optional] <p>
Any number of <b>PGSQL_CONV_OPTS</b>,
<b>PGSQL_DML_NO_CONV</b>,
<b>PGSQL_DML_EXEC</b>,
<b>PGSQL_DML_ASYNC</b> or
<b>PGSQL_DML_STRING</b> combined. If <b>PGSQL_DML_STRING</b> is part of the
<i>options</i> then query string is returned.
</p>
@return mixed <b>TRUE</b> on success or <b>FALSE</b> on failure. Returns string if <b>PGSQL_DML_STRING</b> is passed
via <i>options</i>.
|
pg_insert
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Result|false'], default: 'resource|false')]
function pg_exec(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $connection = null, #[PhpStormStubsElementAvailable(from: '8.0')] #[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, string $query)
{
}
|
@param $connection
@param $query [optional]
@return mixed
|
pg_exec
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PgSql\\Lob|false'], default: 'resource|false')]
function pg_loopen(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $connection = null, #[PhpStormStubsElementAvailable(from: '8.0')] #[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PgSql\\Connection'], default: 'resource')] $connection, $oid, string $mode)
{
}
|
@param $connection
@param $oid [optional]
@param $mode [optional]
@return resource
@deprecated
|
pg_loopen
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pgsql/pgsql.php
|
MIT
|
#[TentativeType]
public function addEmptyDir(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $directory = '', #[PhpStormStubsElementAvailable(from: '8.0')] string $directory) : void
{
}
|
(Unknown)<br/>
Add an empty directory to the phar archive
@link https://php.net/manual/en/phar.addemptydir.php
@param string $directory <p>
The name of the empty directory to create in the phar archive
</p>
@return void no return value, exception is thrown on failure.
|
addEmptyDir
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function addFile(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $localName = null) : void
{
}
|
(Unknown)<br/>
Add a file from the filesystem to the phar archive
@link https://php.net/manual/en/phar.addfile.php
@param string $filename <p>
Full or relative path to a file on disk to be added
to the phar archive.
</p>
@param string $localName [optional] <p>
Path that the file will be stored in the archive.
</p>
@return void no return value, exception is thrown on failure.
|
addFile
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function addFromString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $localName, #[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $contents = '', #[PhpStormStubsElementAvailable(from: '8.0')] string $contents) : void
{
}
|
(Unknown)<br/>
Add a file from the filesystem to the phar archive
@link https://php.net/manual/en/phar.addfromstring.php
@param string $localName <p>
Path that the file will be stored in the archive.
</p>
@param string $contents <p>
The file contents to store
</p>
@return void no return value, exception is thrown on failure.
|
addFromString
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function buildFromDirectory(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory, #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $pattern = '') : array
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Construct a phar archive from the files within a directory.
@link https://php.net/manual/en/phar.buildfromdirectory.php
@param string $directory <p>
The full or relative path to the directory that contains all files
to add to the archive.
</p>
@param $pattern $regex [optional] <p>
An optional pcre regular expression that is used to filter the
list of files. Only file paths matching the regular expression
will be included in the archive.
</p>
@return array <b>Phar::buildFromDirectory</b> returns an associative array
mapping internal path of file to the full path of the file on the
filesystem.
|
buildFromDirectory
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function compressFiles(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Compresses all files in the current Phar archive
@link https://php.net/manual/en/phar.compressfiles.php
@param int $compression <p>
Compression must be one of Phar::GZ,
Phar::BZ2 to add compression, or Phar::NONE
to remove compression.
</p>
@return void No value is returned.
|
compressFiles
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function compress(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $compression, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null) : ?\Phar
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Compresses the entire Phar archive using Gzip or Bzip2 compression
@link https://php.net/manual/en/phar.compress.php
@param int $compression <p>
Compression must be one of Phar::GZ,
Phar::BZ2 to add compression, or Phar::NONE
to remove compression.
</p>
@param string $extension [optional] <p>
By default, the extension is .phar.gz
or .phar.bz2 for compressing phar archives, and
.phar.tar.gz or .phar.tar.bz2 for
compressing tar archives. For decompressing, the default file extensions
are .phar and .phar.tar.
</p>
@return static|null a <b>Phar</b> object.
|
compress
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function decompress(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null) : ?\Phar
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Decompresses the entire Phar archive
@link https://php.net/manual/en/phar.decompress.php
@param string $extension [optional] <p>
For decompressing, the default file extensions
are .phar and .phar.tar.
Use this parameter to specify another file extension. Be aware
that all executable phar archives must contain .phar
in their filename.
</p>
@return static|null A <b>Phar</b> object is returned.
|
decompress
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function convertToExecutable(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = null, #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null) : ?\Phar
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Convert a phar archive to another executable phar archive file format
@link https://php.net/manual/en/phar.converttoexecutable.php
@param int $format [optional] <p>
This should be one of Phar::PHAR, Phar::TAR,
or Phar::ZIP. If set to <b>NULL</b>, the existing file format
will be preserved.
</p>
@param int $compression [optional] <p>
This should be one of Phar::NONE for no whole-archive
compression, Phar::GZ for zlib-based compression, and
Phar::BZ2 for bzip-based compression.
</p>
@param string $extension [optional] <p>
This parameter is used to override the default file extension for a
converted archive. Note that all zip- and tar-based phar archives must contain
.phar in their file extension in order to be processed as a
phar archive.
</p>
<p>
If converting to a phar-based archive, the default extensions are
.phar, .phar.gz, or .phar.bz2
depending on the specified compression. For tar-based phar archives, the
default extensions are .phar.tar, .phar.tar.gz,
and .phar.tar.bz2. For zip-based phar archives, the
default extension is .phar.zip.
</p>
@return Phar|null The method returns a <b>Phar</b> object on success and throws an
exception on failure.
|
convertToExecutable
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function convertToData(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $format = null, #[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $extension = null) : ?\PharData
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Convert a phar archive to a non-executable tar or zip file
@link https://php.net/manual/en/phar.converttodata.php
@param int $format [optional] <p>
This should be one of Phar::TAR
or Phar::ZIP. If set to <b>NULL</b>, the existing file format
will be preserved.
</p>
@param int $compression [optional] <p>
This should be one of Phar::NONE for no whole-archive
compression, Phar::GZ for zlib-based compression, and
Phar::BZ2 for bzip-based compression.
</p>
@param string $extension [optional] <p>
This parameter is used to override the default file extension for a
converted archive. Note that .phar cannot be used
anywhere in the filename for a non-executable tar or zip archive.
</p>
<p>
If converting to a tar-based phar archive, the
default extensions are .tar, .tar.gz,
and .tar.bz2 depending on specified compression.
For zip-based archives, the
default extension is .zip.
</p>
@return PharData|null The method returns a <b>PharData</b> object on success and throws an
exception on failure.
|
convertToData
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = \COUNT_NORMAL) : int
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns the number of entries (files) in the Phar archive
@link https://php.net/manual/en/phar.count.php
@param int $mode [optional]
@return int<0,max> The number of files contained within this phar, or 0 (the number zero)
if none.
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function extractTo(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $directory, #[LanguageLevelTypeAware(['8.0' => 'array|string|null'], default: '')] $files = null, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $overwrite = \false) : bool
{
}
|
(Unknown)<br/>
Extract the contents of a phar archive to a directory
@link https://php.net/manual/en/phar.extractto.php
@param string $directory <p>
Path within an archive to the file to delete.
</p>
@param string|array|null $files [optional] <p>
The name of a file or directory to extract, or an array of files/directories to extract
</p>
@param bool $overwrite [optional] <p>
Set to <b>TRUE</b> to enable overwriting existing files
</p>
@return bool returns <b>TRUE</b> on success, but it is better to check for thrown exception,
and assume success if none is thrown.
|
extractTo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []) : mixed
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns phar archive meta-data
@link https://php.net/manual/en/phar.getmetadata.php
@param array $unserializeOptions [optional] if is set to anything other than the default,
the resulting metadata won't be cached and this won't return the value from the cache
@return mixed any PHP variable that can be serialized and is stored as meta-data for the Phar archive,
or <b>NULL</b> if no meta-data is stored.
|
getMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getModified() : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Return whether phar was modified
@link https://php.net/manual/en/phar.getmodified.php
@return bool <b>TRUE</b> if the phar has been modified since opened, <b>FALSE</b> if not.
|
getModified
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[ArrayShape(["hash" => "string", "hash_type" => "string"])]
#[TentativeType]
public function getSignature() : array|false
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
@link https://php.net/manual/en/phar.getsignature.php
@return array Array with the opened archive's signature in hash key and MD5,
SHA-1,
SHA-256, SHA-512, or OpenSSL
in hash_type. This signature is a hash calculated on the
entire phar's contents, and may be used to verify the integrity of the archive.
A valid signature is absolutely required of all executable phar archives if the
phar.require_hash INI variable
is set to true.
|
getSignature
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getStub() : string
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Return the PHP loader or bootstrap stub of a Phar archive
@link https://php.net/manual/en/phar.getstub.php
@return string a string containing the contents of the bootstrap loader (stub) of
the current Phar archive.
|
getStub
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getVersion() : string
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Return version info of Phar archive
@link https://php.net/manual/en/phar.getversion.php
@return string The opened archive's API version. This is not to be confused with
the API version that the loaded phar extension will use to create
new phars. Each Phar archive has the API version hard-coded into
its manifest. See Phar file format
documentation for more information.
|
getVersion
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function hasMetadata() : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.2.0)<br/>
Returns whether phar has global meta-data
@link https://php.net/manual/en/phar.hasmetadata.php
@return bool <b>TRUE</b> if meta-data has been set, and <b>FALSE</b> if not.
|
hasMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isBuffering() : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Used to determine whether Phar write operations are being buffered, or are flushing directly to disk
@link https://php.net/manual/en/phar.isbuffering.php
@return bool <b>TRUE</b> if the write operations are being buffer, <b>FALSE</b> otherwise.
|
isBuffering
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isCompressed() : int|false
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Returns Phar::GZ or PHAR::BZ2 if the entire phar archive is compressed (.tar.gz/tar.bz and so on)
@link https://php.net/manual/en/phar.iscompressed.php
@return mixed Phar::GZ, Phar::BZ2 or <b>FALSE</b>
|
isCompressed
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isFileFormat(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $format) : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
Returns true if the phar archive is based on the tar/phar/zip file format depending on the parameter
@link https://php.net/manual/en/phar.isfileformat.php
@param int $format <p>
Either Phar::PHAR, Phar::TAR, or
Phar::ZIP to test for the format of the archive.
</p>
@return bool <b>TRUE</b> if the phar archive matches the file format requested by the parameter
|
isFileFormat
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isWritable() : bool
{
}
|
(Unknown)<br/>
Returns true if the phar archive can be modified
@link https://php.net/manual/en/phar.iswritable.php
@return bool <b>TRUE</b> if the phar archive can be modified
|
isWritable
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetExists($localName) : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
determines whether a file exists in the phar
@link https://php.net/manual/en/phar.offsetexists.php
@param string $localName <p>
The filename (relative path) to look for in a Phar.
</p>
@return bool <b>TRUE</b> if the file exists within the phar, or <b>FALSE</b> if not.
|
offsetExists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetGet($localName) : \SplFileInfo
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Gets a <b>PharFileInfo</b> object for a specific file
@link https://php.net/manual/en/phar.offsetget.php
@param string $localName <p>
The filename (relative path) to look for in a Phar.
</p>
@return PharFileInfo A <b>PharFileInfo</b> object is returned that can be used to
iterate over a file's contents or to retrieve information about the current file.
|
offsetGet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetSet($localName, $value) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
set the contents of an internal file to those of an external file
@link https://php.net/manual/en/phar.offsetset.php
@param string $localName <p>
The filename (relative path) to modify in a Phar.
</p>
@param string $value <p>
Content of the file.
</p>
@return void No return values.
|
offsetSet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetUnset($localName) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
remove a file from a phar
@link https://php.net/manual/en/phar.offsetunset.php
@param string $localName <p>
The filename (relative path) to modify in a Phar.
</p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
offsetUnset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function setAlias(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $alias) : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.2.1)<br/>
Set the alias for the Phar archive
@link https://php.net/manual/en/phar.setalias.php
@param string $alias <p>
A shorthand string that this archive can be referred to in phar
stream wrapper access.
</p>
@return bool
|
setAlias
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function setDefaultStub(#[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $index = null, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $webIndex = null) : bool
{
}
|
(Unknown)<br/>
Used to set the PHP loader or bootstrap stub of a Phar archive to the default loader
@link https://php.net/manual/en/phar.setdefaultstub.php
@param string $index [optional] <p>
Relative path within the phar archive to run if accessed on the command-line
</p>
@param string $webIndex [optional] <p>
Relative path within the phar archive to run if accessed through a web browser
</p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
setDefaultStub
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Sets phar archive meta-data
@link https://php.net/manual/en/phar.setmetadata.php
@param mixed $metadata <p>
Any PHP variable containing information to store that describes the phar archive
</p>
@return void No value is returned.
|
setMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function setSignatureAlgorithm(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $algo, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $privateKey = null) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.1.0)<br/>
set the signature algorithm for a phar and apply it.
@link https://php.net/manual/en/phar.setsignaturealgorithm.php
@param int $algo <p>
One of Phar::MD5,
Phar::SHA1, Phar::SHA256,
Phar::SHA512, or Phar::OPENSSL
</p>
@param string $privateKey [optional] <p>
The contents of an OpenSSL private key, as extracted from a certificate or
OpenSSL key file:
<code>
$private = openssl_get_privatekey(file_get_contents('private.pem'));
$pkey = '';
openssl_pkey_export($private, $pkey);
$p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
</code>
See phar introduction for instructions on
naming and placement of the public key file.
</p>
@return void No value is returned.
|
setSignatureAlgorithm
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function startBuffering() : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Start buffering Phar write operations, do not modify the Phar object on disk
@link https://php.net/manual/en/phar.startbuffering.php
@return void No value is returned.
|
startBuffering
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function stopBuffering() : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Stop buffering write requests to the Phar archive, and save changes to disk
@link https://php.net/manual/en/phar.stopbuffering.php
@return void No value is returned.
|
stopBuffering
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetSet($localName, $value) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
set the contents of a file within the tar/zip to those of an external file or string
@link https://php.net/manual/en/phardata.offsetset.php
@param string $localName <p>
The filename (relative path) to modify in a tar or zip archive.
</p>
@param string $value <p>
Content of the file.
</p>
@return void No return values.
|
offsetSet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function offsetUnset($localName) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 2.0.0)<br/>
remove a file from a tar/zip archive
@link https://php.net/manual/en/phardata.offsetunset.php
@param string $localName <p>
The filename (relative path) to modify in the tar/zip archive.
</p>
@return void
|
offsetUnset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function chmod(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $perms) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Sets file-specific permission bits
@link https://php.net/manual/en/pharfileinfo.chmod.php
@param int $perms <p>
permissions (see <b>chmod</b>)
</p>
@return void No value is returned.
|
chmod
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getCompressedSize() : int
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns the actual size of the file (with compression) inside the Phar archive
@link https://php.net/manual/en/pharfileinfo.getcompressedsize.php
@return int<0, max> The size in bytes of the file within the Phar archive on disk.
|
getCompressedSize
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getCRC32() : int
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns CRC32 code or throws an exception if CRC has not been verified
@link https://php.net/manual/en/pharfileinfo.getcrc32.php
@return int The <b>crc32</b> checksum of the file within the Phar archive.
|
getCRC32
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getMetadata(#[PhpStormStubsElementAvailable(from: '8.0')] array $unserializeOptions = []) : mixed
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns file-specific meta-data saved with a file
@link https://php.net/manual/en/pharfileinfo.getmetadata.php
@param array $unserializeOptions [optional] if is set to anything other than the default,
the resulting metadata won't be cached and this won't return the value from the cache
@return mixed any PHP variable that can be serialized and is stored as meta-data for the file,
or <b>NULL</b> if no meta-data is stored.
|
getMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function getPharFlags() : int
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns the Phar file entry flags
@link https://php.net/manual/en/pharfileinfo.getpharflags.php
@return int The Phar flags (always 0 in the current implementation)
|
getPharFlags
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function hasMetadata() : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.2.0)<br/>
Returns the metadata of the entry
@link https://php.net/manual/en/pharfileinfo.hasmetadata.php
@return bool <b>FALSE</b> if no metadata is set or is <b>NULL</b>, <b>TRUE</b> if metadata is not <b>NULL</b>
|
hasMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isCompressed(#[LanguageLevelTypeAware(['8.0' => 'int|null'], default: '')] $compression = null) : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns whether the entry is compressed
@link https://php.net/manual/en/pharfileinfo.iscompressed.php
@param int $compression [optional] <p>
One of <b>Phar::GZ</b> or <b>Phar::BZ2</b>,
defaults to any compression.
</p>
@return bool <b>TRUE</b> if the file is compressed within the Phar archive, <b>FALSE</b> if not.
|
isCompressed
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function isCRCChecked() : bool
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Returns whether file entry has had its CRC verified
@link https://php.net/manual/en/pharfileinfo.iscrcchecked.php
@return bool <b>TRUE</b> if the file has had its CRC verified, <b>FALSE</b> if not.
|
isCRCChecked
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[TentativeType]
public function setMetadata(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $metadata) : void
{
}
|
(PHP >= 5.3.0, PECL phar >= 1.0.0)<br/>
Sets file-specific meta-data saved with a file
@link https://php.net/manual/en/pharfileinfo.setmetadata.php
@param mixed $metadata <p>
Any PHP variable containing information to store alongside a file
</p>
@return void No value is returned.
|
setMetadata
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/Phar/Phar.php
|
MIT
|
#[Pure]
function posix_getpid() : int
{
}
|
Return the current process identifier
@link https://php.net/manual/en/function.posix-getpid.php
@return int the identifier, as an integer.
|
posix_getpid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getppid() : int
{
}
|
Return the parent process identifier
@link https://php.net/manual/en/function.posix-getppid.php
@return int the identifier, as an integer.
|
posix_getppid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getuid() : int
{
}
|
Return the real user ID of the current process
@link https://php.net/manual/en/function.posix-getuid.php
@return int the user id, as an integer
|
posix_getuid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_geteuid() : int
{
}
|
Return the effective user ID of the current process
@link https://php.net/manual/en/function.posix-geteuid.php
@return int the user id, as an integer
|
posix_geteuid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getgid() : int
{
}
|
Return the real group ID of the current process
@link https://php.net/manual/en/function.posix-getgid.php
@return int the real group id, as an integer.
|
posix_getgid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getegid() : int
{
}
|
Return the effective group ID of the current process
@link https://php.net/manual/en/function.posix-getegid.php
@return int an integer of the effective group ID.
|
posix_getegid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getgroups() : array|false
{
}
|
Return the group set of the current process
@link https://php.net/manual/en/function.posix-getgroups.php
@return array|false an array of integers containing the numeric group ids of the group
set of the current process.
|
posix_getgroups
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getlogin() : string|false
{
}
|
Return login name
@link https://php.net/manual/en/function.posix-getlogin.php
@return string|false the login name of the user, as a string.
|
posix_getlogin
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getpgrp() : int
{
}
|
Return the current process group identifier
@link https://php.net/manual/en/function.posix-getpgrp.php
@return int the identifier, as an integer.
|
posix_getpgrp
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getpgid(int $process_id) : int|false
{
}
|
Get process group id for job control
@link https://php.net/manual/en/function.posix-getpgid.php
@param int $process_id <p>
The process id.
</p>
@return int|false the identifier, as an integer.
|
posix_getpgid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getsid(int $process_id) : int|false
{
}
|
Get the current sid of the process
@link https://php.net/manual/en/function.posix-getsid.php
@param int $process_id <p>
The process identifier. If set to 0, the current process is
assumed. If an invalid <i>pid</i> is
specified, then <b>FALSE</b> is returned and an error is set which
can be checked with <b>posix_get_last_error</b>.
</p>
@return int|false the identifier, as an integer.
|
posix_getsid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
#[ArrayShape(['sysname' => 'string', 'nodename' => 'string', 'release' => 'string', 'version' => 'string', 'machine' => 'string', 'domainname' => 'string'])]
function posix_uname() : array|false
{
}
|
Get system name
@link https://php.net/manual/en/function.posix-uname.php
@return array|false a hash of strings with information about the
system. The indices of the hash are
sysname - operating system name (e.g. Linux)
nodename - system name (e.g. valiant)
release - operating system release (e.g. 2.2.10)
version - operating system version (e.g. #4 Tue Jul 20
17:01:36 MEST 1999)
machine - system architecture (e.g. i586)
domainname - DNS domainname (e.g. example.com)
</p>
<p>
domainname is a GNU extension and not part of POSIX.1, so this
field is only available on GNU systems or when using the GNU
libc.
|
posix_uname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
#[ArrayShape(['ticks' => 'int', 'utime' => 'int', 'stime' => 'int', 'cutime' => 'int', 'cstime' => 'int'])]
function posix_times() : array|false
{
}
|
Get process times
@link https://php.net/manual/en/function.posix-times.php
@return array|false a hash of strings with information about the current
process CPU usage. The indices of the hash are:
ticks - the number of clock ticks that have elapsed since
reboot.
utime - user time used by the current process.
stime - system time used by the current process.
cutime - user time used by current process and children.
cstime - system time used by current process and children.
|
posix_times
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_ctermid() : string|false
{
}
|
Get path name of controlling terminal
@link https://php.net/manual/en/function.posix-ctermid.php
@return string|false Upon successful completion, returns string of the pathname to
the current controlling terminal. Otherwise <b>FALSE</b> is returned and errno
is set, which can be checked with <b>posix_get_last_error</b>.
|
posix_ctermid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_ttyname($file_descriptor) : string|false
{
}
|
Determine terminal device name
@link https://php.net/manual/en/function.posix-ttyname.php
@param int $file_descriptor <p>
The file descriptor.
</p>
@return string|false On success, returns a string of the absolute path of the
<i>fd</i>. On failure, returns <b>FALSE</b>
|
posix_ttyname
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_isatty($file_descriptor) : bool
{
}
|
Determine if a file descriptor is an interactive terminal
@link https://php.net/manual/en/function.posix-isatty.php
@param mixed $file_descriptor <p>
The file descriptor, which is expected to be either a file resource or an integer.
An integer will be assumed to be a file descriptor that can be passed
directly to the underlying system call.<br />
In almost all cases, you will want to provide a file resource.
</p>
@return bool <b>TRUE</b> if <i>fd</i> is an open descriptor connected
to a terminal and <b>FALSE</b> otherwise.
|
posix_isatty
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure(\true)]
function posix_getcwd() : string|false
{
}
|
Pathname of current directory
@link https://php.net/manual/en/function.posix-getcwd.php
@return string|false a string of the absolute pathname on success.
On error, returns <b>FALSE</b> and sets errno which can be checked with
<b>posix_get_last_error</b>.
|
posix_getcwd
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getgrnam(string $name) : array|false
{
}
|
Return info about a group by name
@link https://php.net/manual/en/function.posix-getgrnam.php
@param string $name <p>The name of the group</p>
@return array|false The array elements returned are:
<table>
The group information array
<tr valign="top">
<td>Element</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>name</td>
<td>
The name element contains the name of the group. This is
a short, usually less than 16 character "handle" of the
group, not the real, full name. This should be the same as
the <i>name</i> parameter used when
calling the function, and hence redundant.
</td>
</tr>
<tr valign="top">
<td>passwd</td>
<td>
The passwd element contains the group's password in an
encrypted format. Often, for example on a system employing
"shadow" passwords, an asterisk is returned instead.
</td>
</tr>
<tr valign="top">
<td>gid</td>
<td>
Group ID of the group in numeric form.
</td>
</tr>
<tr valign="top">
<td>members</td>
<td>
This consists of an array of
string's for all the members in the group.
</td>
</tr>
</table>
|
posix_getgrnam
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_getgrgid(int $group_id) : array|false
{
}
|
Return info about a group by group id
@link https://php.net/manual/en/function.posix-getgrgid.php
@param int $group_id <p>
The group id.
</p>
@return array|false The array elements returned are:
<table>
The group information array
<tr valign="top">
<td>Element</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>name</td>
<td>
The name element contains the name of the group. This is
a short, usually less than 16 character "handle" of the
group, not the real, full name.
</td>
</tr>
<tr valign="top">
<td>passwd</td>
<td>
The passwd element contains the group's password in an
encrypted format. Often, for example on a system employing
"shadow" passwords, an asterisk is returned instead.
</td>
</tr>
<tr valign="top">
<td>gid</td>
<td>
Group ID, should be the same as the
<i>gid</i> parameter used when calling the
function, and hence redundant.
</td>
</tr>
<tr valign="top">
<td>members</td>
<td>
This consists of an array of
string's for all the members in the group.
</td>
</tr>
</table>
|
posix_getgrgid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
#[ArrayShape(["name" => "string", "passwd" => "string", "uid" => "int", "gid" => "int", "gecos" => "string", "dir" => "string", "shell" => "string"])]
function posix_getpwnam(string $username) : array|false
{
}
|
Return info about a user by username
@link https://php.net/manual/en/function.posix-getpwnam.php
@param string $username <p>
An alphanumeric username.
</p>
@return array|false On success an array with the following elements is returned, else
<b>FALSE</b> is returned:
<table>
The user information array
<tr valign="top">
<td>Element</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>name</td>
<td>
The name element contains the username of the user. This is
a short, usually less than 16 character "handle" of the
user, not the real, full name. This should be the same as
the <i>username</i> parameter used when
calling the function, and hence redundant.
</td>
</tr>
<tr valign="top">
<td>passwd</td>
<td>
The passwd element contains the user's password in an
encrypted format. Often, for example on a system employing
"shadow" passwords, an asterisk is returned instead.
</td>
</tr>
<tr valign="top">
<td>uid</td>
<td>
User ID of the user in numeric form.
</td>
</tr>
<tr valign="top">
<td>gid</td>
<td>
The group ID of the user. Use the function
<b>posix_getgrgid</b> to resolve the group
name and a list of its members.
</td>
</tr>
<tr valign="top">
<td>gecos</td>
<td>
GECOS is an obsolete term that refers to the finger
information field on a Honeywell batch processing system.
The field, however, lives on, and its contents have been
formalized by POSIX. The field contains a comma separated
list containing the user's full name, office phone, office
number, and home phone number. On most systems, only the
user's full name is available.
</td>
</tr>
<tr valign="top">
<td>dir</td>
<td>
This element contains the absolute path to the home
directory of the user.
</td>
</tr>
<tr valign="top">
<td>shell</td>
<td>
The shell element contains the absolute path to the
executable of the user's default shell.
</td>
</tr>
</table>
|
posix_getpwnam
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
#[ArrayShape(['name' => 'string', 'passwd' => 'string', 'uid' => 'int', 'gid' => 'int', 'gecos' => 'string', 'dir' => 'string', 'shell' => 'string'])]
function posix_getpwuid(int $user_id) : array|false
{
}
|
Return info about a user by user id
@link https://php.net/manual/en/function.posix-getpwuid.php
@param int $user_id <p>
The user identifier.
</p>
@return array|false an associative array with the following elements:
<table>
The user information array
<tr valign="top">
<td>Element</td>
<td>Description</td>
</tr>
<tr valign="top">
<td>name</td>
<td>
The name element contains the username of the user. This is
a short, usually less than 16 character "handle" of the
user, not the real, full name.
</td>
</tr>
<tr valign="top">
<td>passwd</td>
<td>
The passwd element contains the user's password in an
encrypted format. Often, for example on a system employing
"shadow" passwords, an asterisk is returned instead.
</td>
</tr>
<tr valign="top">
<td>uid</td>
<td>
User ID, should be the same as the
<i>uid</i> parameter used when calling the
function, and hence redundant.
</td>
</tr>
<tr valign="top">
<td>gid</td>
<td>
The group ID of the user. Use the function
<b>posix_getgrgid</b> to resolve the group
name and a list of its members.
</td>
</tr>
<tr valign="top">
<td>gecos</td>
<td>
GECOS is an obsolete term that refers to the finger
information field on a Honeywell batch processing system.
The field, however, lives on, and its contents have been
formalized by POSIX. The field contains a comma separated
list containing the user's full name, office phone, office
number, and home phone number. On most systems, only the
user's full name is available.
</td>
</tr>
<tr valign="top">
<td>dir</td>
<td>
This element contains the absolute path to the
home directory of the user.
</td>
</tr>
<tr valign="top">
<td>shell</td>
<td>
The shell element contains the absolute path to the
executable of the user's default shell.
</td>
</tr>
</table>
|
posix_getpwuid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure(\true)]
function posix_get_last_error() : int
{
}
|
Retrieve the error number set by the last posix function that failed
@link https://php.net/manual/en/function.posix-get-last-error.php
@return int the errno (error number) set by the last posix function that
failed. If no errors exist, 0 is returned.
|
posix_get_last_error
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure(\true)]
function posix_errno() : int
{
}
|
Alias of <b>posix_get_last_error</b>
@link https://php.net/manual/en/function.posix-errno.php
|
posix_errno
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_strerror(int $error_code) : string
{
}
|
Retrieve the system error message associated with the given errno
@link https://php.net/manual/en/function.posix-strerror.php
@param int $error_code <p>
A POSIX error number, returned by
<b>posix_get_last_error</b>. If set to 0, then the
string "Success" is returned.
</p>
@return string the error message, as a string.
|
posix_strerror
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[Pure]
function posix_initgroups(string $username, int $group_id) : bool
{
}
|
Calculate the group access list
@link https://php.net/manual/en/function.posix-initgroups.php
@param string $username <p>
The user to calculate the list for.
</p>
@param int $group_id <p>
Typically the group number from the password file.
</p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
posix_initgroups
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/posix/posix.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PSpell\\Dictionary|false'], default: 'int|false')]
function pspell_new(string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0)
{
}
|
Load a new dictionary
@link https://php.net/manual/en/function.pspell-new.php
@param string $language <p>
The language parameter is the language code which consists of the
two letter ISO 639 language code and an optional two letter ISO
3166 country code after a dash or underscore.
</p>
@param string $spelling <p>
The spelling parameter is the requested spelling for languages
with more than one spelling such as English. Known values are
'american', 'british', and 'canadian'.
</p>
@param string $jargon <p>
The jargon parameter contains extra information to distinguish
two different words lists that have the same language and
spelling parameters.
</p>
@param string $encoding <p>
The encoding parameter is the encoding that words are expected to
be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r',
'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned
32'. This parameter is largely untested, so be careful when
using.
</p>
@param int $mode <p>
The mode parameter is the mode in which spellchecker will work.
There are several modes available:
<b>PSPELL_FAST</b> - Fast mode (least number of
suggestions)</p>
@return int|false the dictionary link identifier on success or <b>FALSE</b> on failure.
|
pspell_new
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PSpell\\Dictionary|false'], default: 'int|false')]
function pspell_new_personal(string $filename, string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0)
{
}
|
Load a new dictionary with personal wordlist
@link https://php.net/manual/en/function.pspell-new-personal.php
@param string $filename <p>
The file where words added to the personal list will be stored.
It should be an absolute filename beginning with '/' because otherwise
it will be relative to $HOME, which is "/root" for most systems, and
is probably not what you want.
</p>
@param string $language <p>
The language code which consists of the two letter ISO 639 language
code and an optional two letter ISO 3166 country code after a dash
or underscore.
</p>
@param string $spelling <p>
The requested spelling for languages with more than one spelling such
as English. Known values are 'american', 'british', and 'canadian'.
</p>
@param string $jargon <p>
Extra information to distinguish two different words lists that have
the same language and spelling parameters.
</p>
@param string $encoding <p>
The encoding that words are expected to be in. Valid values are
utf-8, iso8859-*,
koi8-r, viscii,
cp1252, machine unsigned 16,
machine unsigned 32.
</p>
@param int $mode <p>
The mode in which spellchecker will work. There are several modes available:
<b>PSPELL_FAST</b> - Fast mode (least number of
suggestions)</p>
@return int|false the dictionary link identifier for use in other pspell functions.
|
pspell_new_personal
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
MIT
|
#[LanguageLevelTypeAware(['8.1' => 'PSpell\\Dictionary|false'], default: 'int|false')]
function pspell_new_config(#[LanguageLevelTypeAware(['8.1' => 'DEPTRAC_INTERNAL\\PSpell\\Config'], default: 'int')] $config)
{
}
|
Load a new dictionary with settings based on a given config
@link https://php.net/manual/en/function.pspell-new-config.php
@param int $config <p>
The <i>config</i> parameter is the one returned by
<b>pspell_config_create</b> when the config was created.
</p>
@return int|false a dictionary link identifier on success.
|
pspell_new_config
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/pspell/pspell.php
|
MIT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.