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 connect(?string $hostname = null, ?string $username = null, ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null) : bool { }
@link https://php.net/manual/en/function.mysqli-connect.php @param string|null $hostname [optional] @param string|null $username [optional] @param string|null $password [optional] @param string|null $database [optional] @param int|null $port [optional] @param string|null $socket [optional] @return bool
connect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function dump_debug_info() : bool { }
Dump debugging information into the log @link https://php.net/manual/en/mysqli.dump-debug-info.php @return bool true on success or false on failure.
dump_debug_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_charset() : ?object { }
Returns a character set object @link https://php.net/manual/en/mysqli.get-charset.php @return object|null The function returns a character set object with the following properties: <i>charset</i> <p>Character set name</p> <i>collation</i> <p>Collation name</p> <i>dir</i> <p>Directory the charset description was fetched from (?) or "" for built-in character sets</p> <i>min_length</i> <p>Minimum character length in bytes</p> <i>max_length</i> <p>Maximum character length in bytes</p> <i>number</i> <p>Internal character set number</p> <i>state</i> <p>Character set status (?)</p>
get_charset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_client_info() : string { }
Returns the MySQL client version as a string @link https://php.net/manual/en/mysqli.get-client-info.php @return string A string that represents the MySQL client library version
get_client_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_connection_stats() : array { }
Returns statistics about the client connection @link https://php.net/manual/en/mysqli.get-connection-stats.php @return array an array with connection stats.
get_connection_stats
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_server_info() : string { }
Returns the version of the MySQL server @link https://php.net/manual/en/mysqli.get-server-info.php @return string A character string representing the server version.
get_server_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_warnings() : \mysqli_warning|false { }
Get result of SHOW WARNINGS @link https://php.net/manual/en/mysqli.get-warnings.php @return mysqli_warning|false
get_warnings
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function kill(int $process_id) : bool { }
Asks the server to kill a MySQL thread @link https://php.net/manual/en/mysqli.kill.php @param int $process_id @return bool true on success or false on failure.
kill
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function multi_query(string $query) : bool { }
Performs one or more queries on the database @link https://php.net/manual/en/mysqli.multi-query.php @param string $query <p> A string containing the queries to be executed. Multiple queries must be separated by a semicolon. </p> <p> If the query contains any variable input then parameterized prepared statements should be used instead. Alternatively, the data must be properly formatted and all strings must be escaped using the <b>mysqli_real_escape_string</b> function. </p> @return bool false if the first statement failed. To retrieve subsequent errors from other statements you have to call <b>mysqli_next_result</b> first.
multi_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function more_results() : bool { }
Check if there are any more query results from a multi query @link https://php.net/manual/en/mysqli.more-results.php @return bool true on success or false on failure.
more_results
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function next_result() : bool { }
Prepare next result from multi_query @link https://php.net/manual/en/mysqli.next-result.php @return bool true on success or false on failure.
next_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function options(int $option, $value) : bool { }
Set options @link https://php.net/manual/en/mysqli.options.php @param int $option <p> The option that you want to set. It can be one of the following values: <table> Valid options <tr valign="top"> <td>Name</td> <td>Description</td> </tr> <tr valign="top"> <td><b>MYSQLI_OPT_CONNECT_TIMEOUT</b></td> <td>connection timeout in seconds (supported on Windows with TCP/IP since PHP 5.3.1)</td> </tr> <tr valign="top"> <td><b>MYSQLI_OPT_LOCAL_INFILE</b></td> <td>enable/disable use of LOAD LOCAL INFILE</td> </tr> <tr valign="top"> <td><b>MYSQLI_INIT_COMMAND</b></td> <td>command to execute after when connecting to MySQL server</td> </tr> <tr valign="top"> <td><b>MYSQLI_READ_DEFAULT_FILE</b></td> <td> Read options from named option file instead of my.cnf </td> </tr> <tr valign="top"> <td><b>MYSQLI_READ_DEFAULT_GROUP</b></td> <td> Read options from the named group from my.cnf or the file specified with <b>MYSQL_READ_DEFAULT_FILE</b> </td> </tr> <tr valign="top"> <td><b>MYSQLI_SERVER_PUBLIC_KEY</b></td> <td> RSA public key file used with the SHA-256 based authentication. </td> </tr> </table> </p> @param string|int $value <p> The value for the option. </p> @return bool true on success or false on failure.
options
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function ping() : bool { }
Pings a server connection, or tries to reconnect if the connection has gone down @link https://php.net/manual/en/mysqli.ping.php @return bool true on success or false on failure.
ping
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function query(string $query, #[PhpStormStubsElementAvailable(from: '7.1')] int $result_mode = \MYSQLI_STORE_RESULT) : \mysqli_result|bool { }
Performs a query on the database @link https://php.net/manual/en/mysqli.query.php @param string $query <p> The query string. </p> <p> If the query contains any variable input then parameterized prepared statements should be used instead. Alternatively, the data must be properly formatted and all strings must be escaped using the <b>mysqli_real_escape_string</b> function. </p> @param int $result_mode [optional] <p> The result mode can be one of 3 constants indicating how the result will be returned from the MySQL server. </p> <p> <b>MYSQLI_STORE_RESULT</b> (default) - returns a <b>mysqli_result</b> object with buffered result set. </p> <p> <b>MYSQLI_USE_RESULT</b> - returns a <b>mysqli_result</b> object with unbuffered result set. As long as there are pending records waiting to be fetched, the connection line will be busy and all subsequent calls will return error Commands out of sync. To avoid the error all records must be fetched from the server or the result set must be discarded by calling <b>mysqli_free_result</b>. </p> <p> <b>MYSQLI_ASYNC</b> (available with mysqlnd) - the query is performed asynchronously and no result set is immediately returned. <b>mysqli_poll</b> is then used to get results from such queries. Used in combination with either <b>MYSQLI_STORE_RESULT</b> or <b>MYSQLI_USE_RESULT</b> constant. </p> @return mysqli_result|bool Returns false on failure. For successful queries which produce a result set, such as SELECT, SHOW, DESCRIBE or EXPLAIN, <b>mysqli_query</b> will return a <b>mysqli_result</b> object. For other successful queries <b>mysqli_query</b> will return true.
query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function real_connect(?string $hostname = null, ?string $username = null, ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null, int $flags = 0) : bool { }
Opens a connection to a mysql server @link https://php.net/manual/en/mysqli.real-connect.php @param string $hostname [optional] <p> Can be either a host name or an IP address. Passing the null value or the string "localhost" to this parameter, the local host is assumed. When possible, pipes will be used instead of the TCP/IP protocol. </p> @param string $username [optional] <p> The MySQL user name. </p> @param string $password [optional] <p> If provided or null, the MySQL server will attempt to authenticate the user against those user records which have no password only. This allows one username to be used with different permissions (depending on if a password as provided or not). </p> @param string $database [optional] <p> If provided will specify the default database to be used when performing queries. </p> @param int $port [optional] <p> Specifies the port number to attempt to connect to the MySQL server. </p> @param string $socket [optional] <p> Specifies the socket or named pipe that should be used. </p> <p> Specifying the <i>socket</i> parameter will not explicitly determine the type of connection to be used when connecting to the MySQL server. How the connection is made to the MySQL database is determined by the <i>host</i> parameter. </p> @param int $flags [optional] <p> With the parameter <i>flags</i> you can set different connection options: </p> <table> Supported flags <tr valign="top"> <td>Name</td> <td>Description</td> </tr> <tr valign="top"> <td><b>MYSQLI_CLIENT_COMPRESS</b></td> <td>Use compression protocol</td> </tr> <tr valign="top"> <td><b>MYSQLI_CLIENT_FOUND_ROWS</b></td> <td>return number of matched rows, not the number of affected rows</td> </tr> <tr valign="top"> <td><b>MYSQLI_CLIENT_IGNORE_SPACE</b></td> <td>Allow spaces after function names. Makes all function names reserved words.</td> </tr> <tr valign="top"> <td><b>MYSQLI_CLIENT_INTERACTIVE</b></td> <td> Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection </td> </tr> <tr valign="top"> <td><b>MYSQLI_CLIENT_SSL</b></td> <td>Use SSL (encryption)</td> </tr> </table> <p> For security reasons the <b>MULTI_STATEMENT</b> flag is not supported in PHP. If you want to execute multiple queries use the <b>mysqli_multi_query</b> function. </p> @return bool true on success or false on failure.
real_connect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function real_escape_string(string $string) : string { }
Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection @link https://php.net/manual/en/mysqli.real-escape-string.php @param string $string <p> The string to be escaped. </p> <p> Characters encoded are NUL (ASCII 0), \n, \r, \, ', ", and Control-Z. </p> @return string an escaped string.
real_escape_string
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public static function poll(?array &$read, ?array &$error, array &$reject, int $seconds, int $microseconds = 0) : int|false { }
Poll connections @link https://php.net/manual/en/mysqli.poll.php @param array &$read <p> </p> @param array &$error <p> </p> @param array &$reject <p> </p> @param int $seconds <p> Number of seconds to wait, must be non-negative. </p> @param int $microseconds [optional] <p> Number of microseconds to wait, must be non-negative. </p> @return int|false number of ready connections in success, false otherwise.
poll
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function reap_async_query() : \mysqli_result|bool { }
Get result from async query @link https://php.net/manual/en/mysqli.reap-async-query.php @return mysqli_result|false mysqli_result in success, false otherwise.
reap_async_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function escape_string(string $string) : string { }
Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection @param string $string The string to be escaped. Characters encoded are NUL (ASCII 0), \n, \r, \, ', ", and Control-Z. @return string @link https://secure.php.net/manual/en/mysqli.real-escape-string.php
escape_string
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function real_query(string $query) : bool { }
Execute an SQL query @link https://php.net/manual/en/mysqli.real-query.php @param string $query <p> The query, as a string. </p> <p> If the query contains any variable input then parameterized prepared statements should be used instead. Alternatively, the data must be properly formatted and all strings must be escaped using the <b>mysqli_real_escape_string</b> function. </p> @return bool true on success or false on failure.
real_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function release_savepoint(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) : bool { }
Removes the named savepoint from the set of savepoints of the current transaction @link https://php.net/manual/en/mysqli.release-savepoint.php @param string $name The identifier of the savepoint. @return bool Returns TRUE on success or FALSE on failure. @since 5.5
release_savepoint
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function rollback(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $name = null) : bool { }
Rolls back current transaction @link https://php.net/manual/en/mysqli.rollback.php @param int $flags [optional] A bitmask of MYSQLI_TRANS_COR_* constants. @param string $name [optional] If provided then ROLLBACK $name is executed. @return bool true on success or false on failure. @since 5.5 Added flags and name parameters.
rollback
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function savepoint(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) : bool { }
Set a named transaction savepoint @link https://secure.php.net/manual/en/mysqli.savepoint.php @param string $name @return bool Returns TRUE on success or FALSE on failure. @since 5.5
savepoint
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function select_db(string $database) : bool { }
Selects the default database for database queries @link https://php.net/manual/en/mysqli.select-db.php @param string $database <p> The database name. </p> @return bool true on success or false on failure.
select_db
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function set_charset(string $charset) : bool { }
Sets the client character set @link https://php.net/manual/en/mysqli.set-charset.php @param string $charset <p> The desired character set. </p> @return bool true on success or false on failure
set_charset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function set_opt(int $option, $value) : bool { }
@link https://php.net/manual/en/function.mysqli-set-opt @param int $option @param string|int $value
set_opt
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function stat() : string|false { }
Gets the current system status @link https://php.net/manual/en/mysqli.stat.php @return string|false A string describing the server status. false if an error occurred.
stat
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function stmt_init() : \mysqli_stmt|false { }
Initializes a statement and returns an object for use with mysqli_stmt_prepare @link https://php.net/manual/en/mysqli.stmt-init.php @return mysqli_stmt an object.
stmt_init
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function store_result(int $mode = 0) : \mysqli_result|false { }
Transfers a result set from the last query @link https://php.net/manual/en/mysqli.store-result.php @param int $mode [optional] The option that you want to set @return mysqli_result|false a buffered result object or false if an error occurred. </p> <p> <b>mysqli_store_result</b> returns false in case the query didn't return a result set (if the query was, for example an INSERT statement). This function also returns false if the reading of the result set failed. You can check if you have got an error by checking if <b>mysqli_error</b> doesn't return an empty string, if <b>mysqli_errno</b> returns a non zero value, or if <b>mysqli_field_count</b> returns a non zero value. Also possible reason for this function returning false after successful call to <b>mysqli_query</b> can be too large result set (memory for it cannot be allocated). If <b>mysqli_field_count</b> returns a non-zero value, the statement should have produced a non-empty result set.
store_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function thread_safe() : bool { }
Returns whether thread safety is given or not @link https://php.net/manual/en/mysqli.thread-safe.php @return bool true if the client library is thread-safe, otherwise false.
thread_safe
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function use_result() : \mysqli_result|false { }
Initiate a result set retrieval @link https://php.net/manual/en/mysqli.use-result.php @return mysqli_result|false an unbuffered result object or false if an error occurred.
use_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function refresh(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags) : bool { }
@link https://php.net/manual/en/mysqli.refresh @param int $flags MYSQLI_REFRESH_* @return bool TRUE if the refresh was a success, otherwise FALSE @since 5.3
refresh
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[PhpStormStubsElementAvailable(from: '8.0')] private function __construct() { }
The __construct purpose @link https://php.net/manual/en/mysqli-warning.construct.php
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] protected function __construct() { }
The __construct purpose @link https://php.net/manual/en/mysqli-warning.construct.php
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function close() : void { }
Frees the memory associated with a result @return void @link https://php.net/manual/en/mysqli-result.free.php
close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function free() : void { }
Frees the memory associated with a result @link https://php.net/manual/en/mysqli-result.free.php @return void
free
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function data_seek(int $offset) : bool { }
Adjusts the result pointer to an arbitrary row in the result @link https://php.net/manual/en/mysqli-result.data-seek.php @param int $offset <p> The field offset. Must be between zero and the total number of rows minus one (0..<b>mysqli_num_rows</b> - 1). </p> @return bool true on success or false on failure.
data_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_field() : object|false { }
Returns the next field in the result set @link https://php.net/manual/en/mysqli-result.fetch-field.php @return object|false an object which contains field definition information or false if no field information is available. </p> <p> <table> Object properties <tr valign="top"> <td>Property</td> <td>Description</td> </tr> <tr valign="top"> <td>name</td> <td>The name of the column</td> </tr> <tr valign="top"> <td>orgname</td> <td>Original column name if an alias was specified</td> </tr> <tr valign="top"> <td>table</td> <td>The name of the table this field belongs to (if not calculated)</td> </tr> <tr valign="top"> <td>orgtable</td> <td>Original table name if an alias was specified</td> </tr> <tr valign="top"> <td>def</td> <td>Reserved for default value, currently always ""</td> </tr> <tr valign="top"> <td>db</td> <td>Database (since PHP 5.3.6)</td> </tr> <tr valign="top"> <td>catalog</td> <td>The catalog name, always "def" (since PHP 5.3.6)</td> </tr> <tr valign="top"> <td>max_length</td> <td>The maximum width of the field for the result set.</td> </tr> <tr valign="top"> <td>length</td> <td>The width of the field, as specified in the table definition.</td> </tr> <tr valign="top"> <td>charsetnr</td> <td>The character set number for the field.</td> </tr> <tr valign="top"> <td>flags</td> <td>An integer representing the bit-flags for the field.</td> </tr> <tr valign="top"> <td>type</td> <td>The data type used for this field</td> </tr> <tr valign="top"> <td>decimals</td> <td>The number of decimals used (for integer fields)</td> </tr> </table>
fetch_field
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_fields() : array { }
Returns an array of objects representing the fields in a result set @link https://php.net/manual/en/mysqli-result.fetch-fields.php @return array an array of objects containing field definition information. </p> <p> <table> Object properties <tr valign="top"> <td>Property</td> <td>Description</td> </tr> <tr valign="top"> <td>name</td> <td>The name of the column</td> </tr> <tr valign="top"> <td>orgname</td> <td>Original column name if an alias was specified</td> </tr> <tr valign="top"> <td>table</td> <td>The name of the table this field belongs to (if not calculated)</td> </tr> <tr valign="top"> <td>orgtable</td> <td>Original table name if an alias was specified</td> </tr> <tr valign="top"> <td>def</td> <td>The default value for this field, represented as a string</td> </tr> <tr valign="top"> <td>max_length</td> <td>The maximum width of the field for the result set.</td> </tr> <tr valign="top"> <td>length</td> <td>The width of the field, as specified in the table definition.</td> </tr> <tr valign="top"> <td>charsetnr</td> <td>The character set number for the field.</td> </tr> <tr valign="top"> <td>flags</td> <td>An integer representing the bit-flags for the field.</td> </tr> <tr valign="top"> <td>type</td> <td>The data type used for this field</td> </tr> <tr valign="top"> <td>decimals</td> <td>The number of decimals used (for integer fields)</td> </tr> </table>
fetch_fields
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_field_direct(int $index) : object|false { }
Fetch meta-data for a single field @link https://php.net/manual/en/mysqli-result.fetch-field-direct.php @param int $index <p> The field number. This value must be in the range from 0 to number of fields - 1. </p> @return object|false an object which contains field definition information or false if no field information for specified fieldnr is available. </p> <p> <table> Object attributes <tr valign="top"> <td>Attribute</td> <td>Description</td> </tr> <tr valign="top"> <td>name</td> <td>The name of the column</td> </tr> <tr valign="top"> <td>orgname</td> <td>Original column name if an alias was specified</td> </tr> <tr valign="top"> <td>table</td> <td>The name of the table this field belongs to (if not calculated)</td> </tr> <tr valign="top"> <td>orgtable</td> <td>Original table name if an alias was specified</td> </tr> <tr valign="top"> <td>def</td> <td>The default value for this field, represented as a string</td> </tr> <tr valign="top"> <td>max_length</td> <td>The maximum width of the field for the result set.</td> </tr> <tr valign="top"> <td>length</td> <td>The width of the field, as specified in the table definition.</td> </tr> <tr valign="top"> <td>charsetnr</td> <td>The character set number for the field.</td> </tr> <tr valign="top"> <td>flags</td> <td>An integer representing the bit-flags for the field.</td> </tr> <tr valign="top"> <td>type</td> <td>The data type used for this field</td> </tr> <tr valign="top"> <td>decimals</td> <td>The number of decimals used (for integer fields)</td> </tr> </table>
fetch_field_direct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_all(#[PhpStormStubsElementAvailable(from: '7.0')] int $mode = \MYSQLI_NUM) : array { }
Fetches all result rows as an associative array, a numeric array, or both @link https://php.net/manual/en/mysqli-result.fetch-all.php @param int $mode [optional] <p> This optional parameter is a constant indicating what type of array should be produced from the current row data. The possible values for this parameter are the constants MYSQLI_ASSOC, MYSQLI_NUM, or MYSQLI_BOTH. </p> @return array an array of associative or numeric arrays holding result rows.
fetch_all
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_array(int $mode = \MYSQLI_BOTH) : array|false|null { }
Fetch the next row of a result set as an associative, a numeric array, or both @link https://php.net/manual/en/mysqli-result.fetch-array.php @param int $mode [optional] <p> This optional parameter is a constant indicating what type of array should be produced from the current row data. The possible values for this parameter are the constants <b>MYSQLI_ASSOC</b>, <b>MYSQLI_NUM</b>, or <b>MYSQLI_BOTH</b>. </p> <p> By using the <b>MYSQLI_ASSOC</b> constant this function will behave identically to the <b>mysqli_fetch_assoc</b>, while <b>MYSQLI_NUM</b> will behave identically to the <b>mysqli_fetch_row</b> function. The final option <b>MYSQLI_BOTH</b> will create a single array with the attributes of both. </p> @return array|false|null an array representing the fetched row, null if there are no more rows in the result set, or false on failure.
fetch_array
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_assoc() : array|false|null { }
Fetch the next row of a result set as an associative array @link https://php.net/manual/en/mysqli-result.fetch-assoc.php @return array|false|null an associative array representing the fetched row, where each key in the array represents the name of one of the result set's columns, null if there are no more rows in the result set, or false on failure.
fetch_assoc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_object(string $class = 'stdClass', array $constructor_args = []) : object|false|null { }
@template T Fetch the next row of a result set as an object @link https://php.net/manual/en/mysqli-result.fetch-object.php @param class-string<T> $class [optional] <p> The name of the class to instantiate, set the properties of and return. If not specified, a <b>stdClass</b> object is returned. </p> @param null|array $constructor_args [optional] <p> An optional array of parameters to pass to the constructor for <i>class_name</i> objects. </p> @return T|stdClass|false|null an object representing the fetched row, where each property represents the name of the result set's column, null if there are no more rows in the result set, or false on failure.
fetch_object
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch_row() : array|false|null { }
Fetch the next row of a result set as an enumerated array @link https://php.net/manual/en/mysqli-result.fetch-row.php @return array|false|null an enumerated array representing the fetched row, null if there are no more rows in the result set, or false on failure.
fetch_row
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[PhpStormStubsElementAvailable('8.1')] public function fetch_column(int $column = 0) : string|int|float|false|null { }
Fetch a single column from the next row of a result set @param int $column [optional] <p> 0-indexed number of the column you wish to retrieve from the row. If no value is supplied, the first column will be returned. </p> @return string|int|float|false|null a single column from the next row of a result set or false if there are no more rows.
fetch_column
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] #[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] public function field_seek(int $index) { }
Set result pointer to a specified field offset @link https://php.net/manual/en/mysqli-result.field-seek.php @param int $index <p> The field number. This value must be in the range from 0 to number of fields - 1. </p>
field_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function free_result() : void { }
Frees the memory associated with a result @return void @link https://php.net/manual/en/mysqli-result.free.php
free_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function attr_get(int $attribute) : int { }
Used to get the current value of a statement attribute @link https://php.net/manual/en/mysqli-stmt.attr-get.php @param int $attribute The attribute that you want to get. @return int Returns the value of the attribute.
attr_get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function attr_set(int $attribute, int $value) : bool { }
Used to modify the behavior of a prepared statement @link https://php.net/manual/en/mysqli-stmt.attr-set.php @param int $attribute <p> The attribute that you want to set. It can have one of the following values: <table> Attribute values <tr valign="top"> <td>Character</td> <td>Description</td> </tr> <tr valign="top"> <td>MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH</td> <td> If set to 1, causes <b>mysqli_stmt_store_result</b> to update the metadata MYSQL_FIELD->max_length value. </td> </tr> <tr valign="top"> <td>MYSQLI_STMT_ATTR_CURSOR_TYPE</td> <td> Type of cursor to open for statement when <b>mysqli_stmt_execute</b> is invoked. <i>mode</i> can be MYSQLI_CURSOR_TYPE_NO_CURSOR (the default) or MYSQLI_CURSOR_TYPE_READ_ONLY. </td> </tr> <tr valign="top"> <td>MYSQLI_STMT_ATTR_PREFETCH_ROWS</td> <td> Number of rows to fetch from server at a time when using a cursor. <i>mode</i> can be in the range from 1 to the maximum value of unsigned long. The default is 1. </td> </tr> </table> </p> <p> If you use the MYSQLI_STMT_ATTR_CURSOR_TYPE option with MYSQLI_CURSOR_TYPE_READ_ONLY, a cursor is opened for the statement when you invoke <b>mysqli_stmt_execute</b>. If there is already an open cursor from a previous <b>mysqli_stmt_execute</b> call, it closes the cursor before opening a new one. <b>mysqli_stmt_reset</b> also closes any open cursor before preparing the statement for re-execution. <b>mysqli_stmt_free_result</b> closes any open cursor. </p> <p> If you open a cursor for a prepared statement, <b>mysqli_stmt_store_result</b> is unnecessary. </p> @param int $value <p>The value to assign to the attribute.</p> @return bool
attr_set
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function data_seek(int $offset) : void { }
Seeks to an arbitrary row in statement result set @link https://php.net/manual/en/mysqli-stmt.data-seek.php @param int $offset <p> Must be between zero and the total number of rows minus one (0.. <b>mysqli_stmt_num_rows</b> - 1). </p> @return void
data_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function execute(#[PhpStormStubsElementAvailable('8.1')] ?array $params = null) : bool { }
Executes a prepared statement @link https://php.net/manual/en/mysqli-stmt.execute.php @param array|null $params [optional] An optional list array with as many elements as there are bound parameters in the SQL statement being executed. Each value is treated as a string. @return bool true on success or false on failure.
execute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function fetch() : ?bool { }
Fetch results from a prepared statement into the bound variables @link https://php.net/manual/en/mysqli-stmt.fetch.php @return bool|null
fetch
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_warnings() : \mysqli_warning|false { }
Get result of SHOW WARNINGS @link https://php.net/manual/en/mysqli-stmt.get-warnings.php @return object|false
get_warnings
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function result_metadata() : \mysqli_result|false { }
Returns result set metadata from a prepared statement @link https://php.net/manual/en/mysqli-stmt.result-metadata.php @return mysqli_result|false a result object or false if an error occurred.
result_metadata
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function more_results() : bool { }
Check if there are more query results from a multiple query @link https://php.net/manual/en/mysqli-stmt.more-results.php @return bool
more_results
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function next_result() : bool { }
Reads the next result from a multiple query @link https://php.net/manual/en/mysqli-stmt.next-result.php @return bool
next_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function num_rows() : string|int { }
Return the number of rows in statements result set @link https://php.net/manual/en/mysqli-stmt.num-rows.php @return string|int An integer representing the number of rows in result set.
num_rows
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function send_long_data(int $param_num, string $data) : bool { }
Send data in blocks @link https://php.net/manual/en/mysqli-stmt.send-long-data.php @param int $param_num <p> Indicates which parameter to associate the data with. Parameters are numbered beginning with 0. </p> @param string $data <p> A string containing data to be sent. </p> @return bool true on success or false on failure.
send_long_data
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function free_result() : void { }
Frees stored result memory for the given statement handle @link https://php.net/manual/en/mysqli-stmt.free-result.php @return void
free_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function reset() : bool { }
Resets a prepared statement @link https://php.net/manual/en/mysqli-stmt.reset.php @return bool true on success or false on failure.
reset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function store_result() : bool { }
Stores a result set in an internal buffer @link https://php.net/manual/en/mysqli-stmt.store-result.php @return bool true on success or false on failure.
store_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function get_result() : \mysqli_result|false { }
Gets a result set from a prepared statement as a mysqli_result object @link https://php.net/manual/en/mysqli-stmt.get-result.php @return mysqli_result|false Returns a resultset or FALSE on failure
get_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function mysqli_close(\mysqli $mysql) : bool { }
Closes a previously opened database connection @link https://php.net/manual/en/mysqli.close.php @param mysqli $mysql A link identifier returned by mysqli_connect() or mysqli_init() @return bool
mysqli_close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function mysqli_debug(string $options) : bool { }
Performs debugging operations using the Fred Fish debugging library. @link https://php.net/manual/en/mysqli.debug.php @param string $options @return bool
mysqli_debug
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[ArrayShape(["errno" => "int", "sqlstate" => "string", "error" => "string"])] function mysqli_error_list(\mysqli $mysql) : array { }
Returns a list of errors from the last command executed @link https://php.net/manual/en/mysqli.error-list.php @param mysqli $mysql A link identifier returned by mysqli_connect() or mysqli_init() @return array A list of errors, each as an associative array containing the errno, error, and sqlstate. @since 5.4
mysqli_error_list
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_execute(\mysqli_stmt $statement, #[PhpStormStubsElementAvailable('8.1')] ?array $params = null) : bool { }
Executes a prepared statement Alias for <b>mysqli_stmt_execute</b> @link https://php.net/manual/en/function.mysqli-execute.php @param mysqli_stmt $statement @param array|null $params [optional] An optional list array with as many elements as there are bound parameters in the SQL statement being executed. Each value is treated as a string. @return bool
mysqli_execute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[PhpStormStubsElementAvailable('8.1')] function mysqli_fetch_column(\mysqli_result $result, int $column = 0) : string|int|float|false|null { }
Fetch a single column from the next row of a result set @link https://php.net/manual/en/mysqli-result.fetch-column.php @param mysqli_result $result A mysqli_result object returned by mysqli_query(), mysqli_store_result(), mysqli_use_result() or mysqli_stmt_get_result(). @param int $column [optional] <p> 0-indexed number of the column you wish to retrieve from the row. If no value is supplied, the first column will be returned. </p> @return string|int|float|false|null a single column from the next row of a result set or false if there are no more rows.
mysqli_fetch_column
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')] function mysqli_field_seek(\mysqli_result $result, int $index) { }
Set result pointer to a specified field offset @link https://php.net/manual/en/mysqli-result.field-seek.php @param mysqli_result $result A mysqli_result object returned by mysqli_query(), mysqli_store_result(), mysqli_use_result() or mysqli_stmt_get_result(). @param int $index The field number. This value must be in the range from 0 to number of fields - 1.
mysqli_field_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.0' => 'string'], default: '?string')] function mysqli_get_client_info(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.1')] \mysqli $mysql, #[PhpStormStubsElementAvailable(from: '8.0')] ?\mysqli $mysql = null) { }
Get MySQL client info @link https://php.net/manual/en/mysqli.get-client-info.php @param mysqli|null $mysql A link identifier returned by mysqli_connect() or mysqli_init() @return string|null A string that represents the MySQL client library version
mysqli_get_client_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[ArrayShape(["total" => "int", "active_plinks" => "int", "cached_plinks" => "int"])] function mysqli_get_links_stats() : array { }
Return information about open and cached links @link https://php.net/manual/en/function.mysqli-get-links-stats.php @return array mysqli_get_links_stats() returns an associative array with three elements, keyed as follows: <dl> <dt> <code>total</code></dt> <dd> <p> An integer indicating the total number of open links in any state. </p> </dd> <dt> <code>active_plinks</code></dt> <dd> <p> An integer representing the number of active persistent connections. </p> </dd> <dt> <code>cached_plinks</code></dt> <dd> <p> An integer representing the number of inactive persistent connections. </p> </dd> </dl> @since 5.6
mysqli_get_links_stats
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(["8.0" => "int"], default: "int|false")] function mysqli_stmt_attr_get(\mysqli_stmt $statement, int $attribute) : false|int { }
Used to get the current value of a statement attribute @link https://php.net/manual/en/mysqli-stmt.attr-get.php @param mysqli_stmt $statement @param int $attribute @return int|false Returns FALSE if the attribute is not found, otherwise returns the value of the attribute.
mysqli_stmt_attr_get
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function mysqli_ssl_set(\mysqli $mysql, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $key, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $certificate, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $ca_certificate, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $ca_path, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: 'string')] $cipher_algos) : bool { }
Used for establishing secure connections using SSL @link https://secure.php.net/manual/en/mysqli.ssl-set.php @param mysqli $mysql A link identifier returned by mysqli_connect() or mysqli_init() @param string|null $key The path name to the key file @param string|null $certificate The path name to the certificate file @param string|null $ca_certificate The path name to the certificate authority file @param string|null $ca_path The pathname to a directory that contains trusted SSL CA certificates in PEM format @param string|null $cipher_algos A list of allowable ciphers to use for SSL encryption @return bool This function always returns TRUE value.
mysqli_ssl_set
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')] function mysqli_stmt_close(\mysqli_stmt $statement) : bool { }
Closes a prepared statement @link https://php.net/manual/en/mysqli-stmt.close.php @param mysqli_stmt $statement @return bool
mysqli_stmt_close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_bind_param(\mysqli_stmt $statement, string $types) { }
Alias for <b>mysqli_stmt_bind_param</b> @link https://php.net/manual/en/function.mysqli-bind-param.php @param mysqli_stmt $statement @param string $types @removed 5.4
mysqli_bind_param
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_bind_result(\mysqli_stmt $statement, string $types, mixed &$var1) { }
Alias for <b>mysqli_stmt_bind_result</b> @link https://php.net/manual/en/function.mysqli-bind-result.php @param mysqli_stmt $statement @param string $types @param mixed &$var1 @removed 5.4
mysqli_bind_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_client_encoding(\mysqli $mysql) : string { }
Alias of <b>mysqli_character_set_name</b> @link https://php.net/manual/en/function.mysqli-client-encoding.php @param mysqli $mysql A link identifier returned by mysqli_connect() or mysqli_init() @return string @removed 5.4
mysqli_client_encoding
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_fetch(\mysqli_stmt $statement) : bool { }
Alias for <b>mysqli_stmt_fetch</b> @link https://php.net/manual/en/function.mysqli-fetch.php @param mysqli_stmt $statement @return bool @removed 5.4
mysqli_fetch
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_param_count(\mysqli_stmt $statement) : int { }
Alias for <b>mysqli_stmt_param_count</b> @link https://php.net/manual/en/function.mysqli-param-count.php @param mysqli_stmt $statement @return int @removed 5.4
mysqli_param_count
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_get_metadata(\mysqli_stmt $statement) : false|\mysqli_result { }
Alias for <b>mysqli_stmt_result_metadata</b> @link https://php.net/manual/en/function.mysqli-get-metadata.php @param mysqli_stmt $statement @return mysqli_result|false Returns a result object or FALSE if an error occurred @removed 5.4
mysqli_get_metadata
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(since: '5.3')] function mysqli_send_long_data(\mysqli_stmt $statement, int $param_num, string $data) : bool { }
Alias for <b>mysqli_stmt_send_long_data</b> @link https://php.net/manual/en/function.mysqli-send-long-data.php @param mysqli_stmt $statement @param int $param_num @param string $data @return bool @removed 5.4
mysqli_send_long_data
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[Deprecated(replacement: 'newrelic_accept_distributed_trace_headers()')] function newrelic_accept_distributed_trace_payload(string $payload) : void { }
Accepts a distributed trace payload. Distributed tracing allows you to see the path that a request takes as it travels through a distributed system. @link https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelicacceptdistributedtracepayload-php-agent-api/ @example https://docs.newrelic.com/docs/agents/php-agent/features/distributed-tracing-php/#manual @since 8.4 @deprecated 9.10 @param string $payload A JSON formatted string created by using newrelic_create_distributed_trace_payload. @return void
newrelic_accept_distributed_trace_payload
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
MIT
#[Deprecated(replacement: 'newrelic_accept_distributed_trace_headers()')] function newrelic_accept_distributed_trace_payload_httpsafe(string $httpsafe_payload, string $transport_type = 'HTTP') : bool { }
Accepts a distributed trace payload that includes an HTTPSafe (Base64 encoded) JSON string. Distributed tracing allows you to see the path that a request takes as it travels through a distributed system. Returns true to indicate success, or false if an error occurs. @link https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelicacceptdistributedtracepayloadhttpsafe-php-agent-api/ @example https://docs.newrelic.com/docs/agents/php-agent/features/distributed-tracing-php/#manual @since 8.4 @deprecated 9.10 @param string $httpsafe_payload An HTTPSafe (Base64 encoded) JSON string representation of the payload. @param string $transport_type [optional] A string overriding the default transport type. @return bool
newrelic_accept_distributed_trace_payload_httpsafe
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
MIT
#[Deprecated(replacement: 'newrelic_insert_distributed_trace_headers()')] function newrelic_create_distributed_trace_payload() : \newrelic\DistributedTracePayload { }
Creates a distributed trace payload. Distributed tracing allows you to see the path that a request takes as it travels through a distributed system. @link https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newreliccreatedistributedtracepayload-php-agent-api/ @example https://docs.newrelic.com/docs/agents/php-agent/features/distributed-tracing-php/#manual @since 8.4 @deprecated 9.10 @return newrelic\DistributedTracePayload
newrelic_create_distributed_trace_payload
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/newrelic/newrelic.php
MIT
#[Deprecated(since: "5.4")] function ocifetchinto($statement_resource, &$result, $mode = null) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Obsolete variant of {@see oci_fetch_array}, {@see oci_fetch_object}, {@see oci_fetch_assoc} and {@see oci_fetch_row} @link https://php.net/manual/en/function.ocifetchinto.php @param resource $statement_resource @param array &$result @param int $mode [optional] @return int|bool
ocifetchinto
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[ArrayShape(["code" => "int", "message" => "string", "offset" => "int", "sqltext" => "string"])] function oci_error($resource = null) { }
(PHP 5, PECL OCI8 &gt;= 1.1.0)<br/> Returns the last error found @link https://php.net/manual/en/function.oci-error.php @param resource $resource [optional] <p> For most errors, <i>resource</i> is the resource handle that was passed to the failing function call. For connection errors with {@see oci_connect}, {@see oci_new_connect} or {@see oci_pconnect} do not pass <i>resource</i>. </p> @return array|false If no error is found, {@see oci_error} returns <b>FALSE</b>. Otherwise, {@see oci_error} returns the error information as an associative array. </p> <p> <table> {@see oci_error} Array Description <tr valign="top"> <td>Array key</td> <td>Type</td> <td>Description</td> </tr> <tr valign="top"> <td>code</td> <td>integer</td> <td> The Oracle error number. </td> </tr> <tr valign="top"> <td>message</td> <td>string</td> <td> The Oracle error text. </td> </tr> <tr valign="top"> <td>offset</td> <td>integer</td> <td> The byte position of an error in the SQL statement. If there was no statement, this is 0 </td> </tr> <tr valign="top"> <td>sqltext</td> <td>string</td> <td> The SQL statement text. If there was no statement, this is an empty string. </td> </tr> </table>
oci_error
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[LanguageLevelTypeAware(['8.0' => 'OCILob|false'], default: 'OCI_Lob|false')] function oci_new_descriptor($connection, $type = \OCI_DTYPE_LOB) { }
(PHP 5, PECL OCI8 &gt;= 1.1.0)<br/> Initializes a new empty LOB or FILE descriptor @link https://php.net/manual/en/function.oci-new-descriptor.php @param resource $connection <p> An Oracle connection identifier, returned by {@see oci_connect} or {@see oci_pconnect}. </p> @param int $type [optional] <p> Valid values for <i>type</i> are: <b>OCI_DTYPE_FILE</b>, <b>OCI_DTYPE_LOB</b> and <b>OCI_DTYPE_ROWID</b>. </p> @return OCI_Lob|OCILob|false A new LOB or FILE descriptor on success, <b>FALSE</b> on error.
oci_new_descriptor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[LanguageLevelTypeAware(['8.0' => 'OCICollection|false'], default: 'OCI_Collection|false')] function oci_new_collection($connection, $tdo, $schema = null) { }
(PHP 5, PECL OCI8 &gt;= 1.1.0)<br/> Allocates new collection object @link https://php.net/manual/en/function.oci-new-collection.php @param resource $connection <p> An Oracle connection identifier, returned by {@see oci_connect} or {@see oci_pconnect}. </p> @param string $tdo <p> Should be a valid named type (uppercase). </p> @param string $schema [optional] <p> Should point to the scheme, where the named type was created. The name of the current user is the default value. </p> @return OCI_Collection|false A new <b>OCICollection</b> object or <b>FALSE</b> on error.
oci_new_collection
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_free_statement", since: "5.4")] function ocifreecursor($statement_resource) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_free_statement} @link https://php.net/manual/en/function.ocifreecursor.php @param resource $statement_resource @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
ocifreecursor
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_bind_by_name", since: "5.4")] function ocibindbyname($statement, $column_name, &$variable, $maximum_length = -1, $type = \SQLT_CHR) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_bind_by_name} @link https://php.net/manual/en/function.ocibindbyname.php @param resource $statement @param string $column_name @param mixed &$variable @param int $maximum_length [optional] @param int $type [optional] @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
ocibindbyname
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_define_by_name", since: "5.4")] function ocidefinebyname($statement, $column_name, &$variable, $type = \SQLT_CHR) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_define_by_name} @link https://php.net/manual/en/function.ocidefinebyname.php @param resource $statement <p>A valid OCI8 statement identifier created by {@see oci_parse()} and executed by {@see oci_execute()}, or a REF CURSOR statement identifier.</p> @param string $column_name <p>The column name used in the query. Use uppercase for Oracle's default, non-case sensitive column names. Use the exact column name case for case-sensitive column names.</p> @param mixed &$variable <p>The PHP variable that will contain the returned column value.</p> @param int $type [optional] <p>The data type to be returned. Generally not needed. Note that Oracle-style data conversions are not performed. For example, SQLT_INT will be ignored and the returned data type will still be SQLT_CHR. You can optionally use {@see oci_new_descriptor()} to allocate LOB/ROWID/BFILE descriptors.</p> @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
ocidefinebyname
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_is_null", since: "5.4")] function ocicolumnisnull($statement, $column_number_or_name) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_is_null} @link https://php.net/manual/en/function.ocicolumnisnull.php @param resource $statement @param mixed $column_number_or_name @return bool Returns TRUE if field is NULL, FALSE otherwise.
ocicolumnisnull
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_name", since: "5.4")] function ocicolumnname($statement, $column_number) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_name} @link https://php.net/manual/en/function.ocicolumnname.php @param resource $statement @param mixed $column_number @return string|false Returns the name as a string, or FALSE on errors.
ocicolumnname
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_size", since: "5.4")] function ocicolumnsize($statement, $column_number_or_name) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_size} @link https://php.net/manual/en/function.ocicolumnsize.php @param resource $statement @param mixed $column_number_or_name @return int|false Returns the size of a field in bytes, or <b>FALSE</b> on errors.
ocicolumnsize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_scale", since: "5.4")] function ocicolumnscale($statement_resource, $column_number) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_scale} @link https://php.net/manual/en/function.ocicolumnscale.php @param resource $statement_resource @param $column_number @return int|false Returns the scale as an integer, or <b>FALSE</b> on errors.
ocicolumnscale
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_precision", since: "5.4")] function ocicolumnprecision($statement_resource, $column_number) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_precision} @link https://php.net/manual/en/function.ocicolumnprecision.php @param resource $statement_resource @param string|int $column_number @return int|false Returns the precision as an integer, or <b>FALSE</b> on errors.
ocicolumnprecision
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_type", since: "5.4")] function ocicolumntype($statement_resource, $column_number) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_type} @link https://php.net/manual/en/function.ocicolumntype.php @param resource $statement_resource @param string|int $column_number @return mixed|false Returns the field data type as a string, or FALSE on errors.
ocicolumntype
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_field_type_raw", since: "5.4")] function ocicolumntyperaw($statement_resource, $column_number) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_field_type_raw} @link https://php.net/manual/en/function.ocicolumntyperaw.php @param resource $statement_resource @param string|int $column_number @return int|false Returns Oracle's raw data type as a number, or FALSE on errors.
ocicolumntyperaw
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: "oci_execute", since: "5.4")] function ociexecute($statement_resource, $mode = \OCI_COMMIT_ON_SUCCESS) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_execute} @link https://php.net/manual/en/function.ociexecute.php @param $statement_resource @param $mode [optional] @return bool Returns TRUE on success or FALSE on failure
ociexecute
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT
#[Deprecated(replacement: 'oci_cancel', since: "5.4")] function ocicancel($statement_resource) { }
(PHP 4, PHP 5, PECL OCI8 &gt;= 1.0.0)<br/> Alias of {@see oci_cancel} @link https://php.net/manual/en/function.ocicancel.php @param resource $statement_resource @return bool Returns TRUE on success or FALSE on failure
ocicancel
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php
MIT