[phpstorm-stubs] update deprecations

This commit is contained in:
Ivan Fedorov 2022-01-04 16:29:36 +01:00 committed by Ivan Fedorov
parent 59c2ead32f
commit 2946bda91f
11 changed files with 525 additions and 10 deletions

View File

@ -763,6 +763,9 @@ class PDO
#[Deprecated("Use PDO::ATTR_EMULATE_PREPARES instead")]
public const PGSQL_ASSOC = 1;
/**
* @removed 7.1
*/
public const PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT = 1000;
/**

View File

@ -8080,6 +8080,7 @@ const CONSTANTS = array (
'MCRYPT_CRYPT' => 'mcrypt/mcrypt.php',
'MCRYPT_DECRYPT' => 'mcrypt/mcrypt.php',
'MCRYPT_DES' => 'mcrypt/mcrypt.php',
'MCRYPT_DES_COMPAT' => 'mcrypt/mcrypt.php',
'MCRYPT_DEV_RANDOM' => 'mcrypt/mcrypt.php',
'MCRYPT_DEV_URANDOM' => 'mcrypt/mcrypt.php',
'MCRYPT_ENCRYPT' => 'mcrypt/mcrypt.php',
@ -8097,7 +8098,11 @@ const CONSTANTS = array (
'MCRYPT_PANAMA' => 'mcrypt/mcrypt.php',
'MCRYPT_RAND' => 'mcrypt/mcrypt.php',
'MCRYPT_RC2' => 'mcrypt/mcrypt.php',
'MCRYPT_RC4' => 'mcrypt/mcrypt.php',
'MCRYPT_RC6' => 'mcrypt/mcrypt.php',
'MCRYPT_RC6_128' => 'mcrypt/mcrypt.php',
'MCRYPT_RC6_192' => 'mcrypt/mcrypt.php',
'MCRYPT_RC6_256' => 'mcrypt/mcrypt.php',
'MCRYPT_RIJNDAEL_128' => 'mcrypt/mcrypt.php',
'MCRYPT_RIJNDAEL_192' => 'mcrypt/mcrypt.php',
'MCRYPT_RIJNDAEL_256' => 'mcrypt/mcrypt.php',
@ -8105,6 +8110,9 @@ const CONSTANTS = array (
'MCRYPT_SAFER64' => 'mcrypt/mcrypt.php',
'MCRYPT_SAFERPLUS' => 'mcrypt/mcrypt.php',
'MCRYPT_SERPENT' => 'mcrypt/mcrypt.php',
'MCRYPT_SERPENT_128' => 'mcrypt/mcrypt.php',
'MCRYPT_SERPENT_192' => 'mcrypt/mcrypt.php',
'MCRYPT_SERPENT_256' => 'mcrypt/mcrypt.php',
'MCRYPT_SKIPJACK' => 'mcrypt/mcrypt.php',
'MCRYPT_THREEWAY' => 'mcrypt/mcrypt.php',
'MCRYPT_TRIPLEDES' => 'mcrypt/mcrypt.php',

View File

@ -615,7 +615,7 @@ define('CURLOPT_MAXCONNECTS', 71);
/**
* This option is deprecated, as it was never implemented in cURL and never had any effect.
* @link https://www.php.net/manual/en/function.curl-setopt.php
* @deprecated 5.6
* @removed 5.6
*/
define('CURLOPT_CLOSEPOLICY', 72);
/**
@ -977,31 +977,31 @@ define('CURLINFO_RTSP_SESSION_ID', 1048612);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @deprecated it was never implemented in cURL and never had any effect.
* @removed 5.6
*/
define('CURLCLOSEPOLICY_LEAST_RECENTLY_USED', 2);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @deprecated it was never implemented in cURL and never had any effect.
* @removed 5.6
*/
define('CURLCLOSEPOLICY_LEAST_TRAFFIC', 3);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @deprecated it was never implemented in cURL and never had any effect.
* @removed 5.6
*/
define('CURLCLOSEPOLICY_SLOWEST', 4);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @deprecated it was never implemented in cURL and never had any effect.
* @removed 5.6
*/
define('CURLCLOSEPOLICY_CALLBACK', 5);
/**
* Value for the <b>CURLOPT_CLOSEPOLICY</b> option.
* @link https://www.php.net/manual/en/curl.constants.php
* @deprecated it was never implemented in cURL and never had any effect.
* @removed 5.6
*/
define('CURLCLOSEPOLICY_OLDEST', 1);
/**
@ -2083,7 +2083,7 @@ define('CURLPIPE_NOTHING', 0);
* If this bit is set, libcurl will try to pipeline HTTP/1.1 requests on connections that are already established and in use to hosts.
* @link https://php.net/manual/en/curl.constants.php
* @link https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html
* @deprecated has no effect since version 7.62.0.
* @deprecated 7.4
* @since 7.0.7
*/
define('CURLPIPE_HTTP1', 1);

View File

@ -41,6 +41,7 @@
* @param int $sync [optional] <p>
* </p>
* @return resource|false an InterBase link identifier on success, or false on error.
* @removed 7.4
*/
function ibase_connect($database = null, $username = null, $password = null, $charset = null, $buffers = null, $dialect = null, $role = null, $sync = null) {}
@ -83,6 +84,7 @@ function ibase_connect($database = null, $username = null, $password = null, $ch
* @param int $sync [optional] <p>
* </p>
* @return resource|false an InterBase link identifier on success, or false on error.
* @removed 7.4
*/
function ibase_pconnect($database = null, $username = null, $password = null, $charset = null, $buffers = null, $dialect = null, $role = null, $sync = null) {}
@ -95,6 +97,7 @@ function ibase_pconnect($database = null, $username = null, $password = null, $c
* is assumed.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_close($connection_id = null) {}
@ -106,6 +109,7 @@ function ibase_close($connection_id = null) {}
* assumed.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_drop_db($connection = null) {}
@ -131,6 +135,7 @@ function ibase_drop_db($connection = null) {}
* affected by the query for INSERT, UPDATE and DELETE statements. In order
* to retain backward compatibility, it will return true for these
* statements if the query succeeded without affecting any rows.
* @removed 7.4
*/
function ibase_query($link_identifier = null, $query, $bind_args = null) {}
@ -151,6 +156,7 @@ function ibase_query($link_identifier = null, $query, $bind_args = null) {}
* @return array|false an array that corresponds to the fetched row, or false if there
* are no more rows. Each result column is stored in an array offset,
* starting at offset 0.
* @removed 7.4
*/
function ibase_fetch_row($result_identifier, $fetch_flag = null) {}
@ -171,6 +177,7 @@ function ibase_fetch_row($result_identifier, $fetch_flag = null) {}
* @return array|false an associative array that corresponds to the fetched row.
* Subsequent calls will return the next row in the result set, or false if
* there are no more rows.
* @removed 7.4
*/
function ibase_fetch_assoc($result, $fetch_flag = null) {}
@ -191,6 +198,7 @@ function ibase_fetch_assoc($result, $fetch_flag = null) {}
* </p>
* @return object|false an object with the next row information, or false if there are
* no more rows.
* @removed 7.4
*/
function ibase_fetch_object($result_id, $fetch_flag = null) {}
@ -202,6 +210,7 @@ function ibase_fetch_object($result_id, $fetch_flag = null) {}
* ibase_execute.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_free_result($result_identifier) {}
@ -215,6 +224,7 @@ function ibase_free_result($result_identifier) {}
* The name to be assigned.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_name_result($result, $name) {}
@ -225,6 +235,7 @@ function ibase_name_result($result, $name) {}
* An InterBase query.
* </p>
* @return resource|false a prepared query handle, or false on error.
* @removed 7.4
*/
function ibase_prepare($query) {}
@ -246,6 +257,7 @@ function ibase_prepare($query) {}
* the query (if > 0 and applicable to the statement type). A query that
* succeeded, but did not affect any rows (e.g. an UPDATE of a non-existent
* record) will return true.
* @removed 7.4
*/
function ibase_execute($query, ...$bind_arg) {}
@ -256,6 +268,7 @@ function ibase_execute($query, ...$bind_arg) {}
* A query prepared with ibase_prepare.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_free_query($query) {}
@ -266,6 +279,7 @@ function ibase_free_query($query) {}
* @param int $increment [optional]
* @param resource $link_identifier [optional]
* @return mixed new generator value as integer, or as string if the value is too big.
* @removed 7.4
*/
function ibase_gen_id($generator, $increment = null, $link_identifier = null) {}
@ -276,6 +290,7 @@ function ibase_gen_id($generator, $increment = null, $link_identifier = null) {}
* An InterBase result identifier.
* </p>
* @return int the number of fields as an integer.
* @removed 7.4
*/
function ibase_num_fields($result_id) {}
@ -286,6 +301,7 @@ function ibase_num_fields($result_id) {}
* The prepared query handle.
* </p>
* @return int the number of parameters as an integer.
* @removed 7.4
*/
function ibase_num_params($query) {}
@ -297,6 +313,7 @@ function ibase_num_params($query) {}
* connection resource, its default transaction is used.
* </p>
* @return int the number of rows as an integer.
* @removed 7.4
*/
function ibase_affected_rows($link_identifier = null) {}
@ -312,6 +329,7 @@ function ibase_affected_rows($link_identifier = null) {}
* @return array an array with the following keys: name,
* alias, relation,
* length and type.
* @removed 7.4
*/
function ibase_field_info($result, $field_number) {}
@ -327,6 +345,7 @@ function ibase_field_info($result, $field_number) {}
* @return array an array with the following keys: name,
* alias, relation,
* length and type.
* @removed 7.4
*/
function ibase_param_info($query, $param_number) {}
@ -350,6 +369,7 @@ function ibase_param_info($query, $param_number) {}
* assumed.
* </p>
* @return resource|false a transaction handle, or false on error.
* @removed 7.4
*/
function ibase_trans($trans_args = null, $link_identifier = null) {}
@ -364,6 +384,7 @@ function ibase_trans($trans_args = null, $link_identifier = null) {}
* corresponding transaction will be committed.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_commit($link_or_trans_identifier = null) {}
@ -378,6 +399,7 @@ function ibase_commit($link_or_trans_identifier = null) {}
* corresponding transaction will be rolled back.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_rollback($link_or_trans_identifier = null) {}
@ -394,6 +416,7 @@ function ibase_rollback($link_or_trans_identifier = null) {}
* will not be invalidated.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_commit_ret($link_or_trans_identifier = null) {}
@ -410,6 +433,7 @@ function ibase_commit_ret($link_or_trans_identifier = null) {}
* will not be invalidated.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_rollback_ret($link_or_trans_identifier = null) {}
@ -426,6 +450,7 @@ function ibase_rollback_ret($link_or_trans_identifier = null) {}
* @return array an array containing information about a BLOB. The information returned
* consists of the length of the BLOB, the number of segments it contains, the size
* of the largest segment, and whether it is a stream BLOB or a segmented BLOB.
* @removed 7.4
*/
function ibase_blob_info($link_identifier, $blob_id) {}
@ -438,6 +463,7 @@ function ibase_blob_info($link_identifier, $blob_id) {}
* </p>
* @return resource|false a BLOB handle for later use with
* ibase_blob_add or false on failure.
* @removed 7.4
*/
function ibase_blob_create($link_identifier = null) {}
@ -451,6 +477,7 @@ function ibase_blob_create($link_identifier = null) {}
* The data to be added.
* </p>
* @return void
* @removed 7.4
*/
function ibase_blob_add($blob_handle, $data) {}
@ -461,6 +488,7 @@ function ibase_blob_add($blob_handle, $data) {}
* A BLOB handle opened with ibase_blob_create.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_blob_cancel($blob_handle) {}
@ -475,6 +503,7 @@ function ibase_blob_cancel($blob_handle) {}
* the BLOB was being written to, this function returns a string containing
* the BLOB id that has been assigned to it by the database. On failure, this
* function returns false.
* @removed 7.4
*/
function ibase_blob_close($blob_handle) {}
@ -490,6 +519,7 @@ function ibase_blob_close($blob_handle) {}
* </p>
* @return resource|false a BLOB handle for later use with
* ibase_blob_get or false on failure.
* @removed 7.4
*/
function ibase_blob_open($link_identifier, $blob_id) {}
@ -504,6 +534,7 @@ function ibase_blob_open($link_identifier, $blob_id) {}
* </p>
* @return string|false at most len bytes from the BLOB, or false
* on failure.
* @removed 7.4
*/
function ibase_blob_get($blob_handle, $len) {}
@ -513,6 +544,7 @@ function ibase_blob_get($blob_handle, $len) {}
* @param string $blob_id <p>
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_blob_echo($blob_id) {}
@ -527,6 +559,7 @@ function ibase_blob_echo($blob_id) {}
* The file handle is a handle returned by fopen.
* </p>
* @return string|false the BLOB id on success, or false on error.
* @removed 7.4
*/
function ibase_blob_import($link_identifier, $file_handle) {}
@ -534,6 +567,7 @@ function ibase_blob_import($link_identifier, $file_handle) {}
* Return error messages
* @link https://php.net/manual/en/function.ibase-errmsg.php
* @return string|false the error message as a string, or false if no error occurred.
* @removed 7.4
*/
function ibase_errmsg() {}
@ -541,6 +575,7 @@ function ibase_errmsg() {}
* Return an error code
* @link https://php.net/manual/en/function.ibase-errcode.php
* @return int|false the error code as an integer, or false if no error occurred.
* @removed 7.4
*/
function ibase_errcode() {}
@ -554,6 +589,7 @@ function ibase_errcode() {}
* @param string $middle_name [optional]
* @param string $last_name [optional]
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_add_user($service_handle, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
@ -567,6 +603,7 @@ function ibase_add_user($service_handle, $user_name, $password, $first_name = nu
* @param string $middle_name [optional]
* @param string $last_name [optional]
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_modify_user($service_handle, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
@ -576,6 +613,7 @@ function ibase_modify_user($service_handle, $user_name, $password, $first_name =
* @param resource $service_handle
* @param string $user_name
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_delete_user($service_handle, $user_name) {}
@ -586,6 +624,7 @@ function ibase_delete_user($service_handle, $user_name) {}
* @param string $dba_username
* @param string $dba_password
* @return resource|false
* @removed 7.4
*/
function ibase_service_attach($host, $dba_username, $dba_password) {}
@ -594,6 +633,7 @@ function ibase_service_attach($host, $dba_username, $dba_password) {}
* @link https://php.net/manual/en/function.ibase-service-detach.php
* @param resource $service_handle
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_service_detach($service_handle) {}
@ -606,6 +646,7 @@ function ibase_service_detach($service_handle) {}
* @param int $options [optional]
* @param bool $verbose [optional]
* @return mixed
* @removed 7.4
*/
function ibase_backup($service_handle, $source_db, $dest_file, $options = null, $verbose = null) {}
@ -618,6 +659,7 @@ function ibase_backup($service_handle, $source_db, $dest_file, $options = null,
* @param int $options [optional]
* @param bool $verbose [optional]
* @return mixed
* @removed 7.4
*/
function ibase_restore($service_handle, $source_file, $dest_db, $options = null, $verbose = null) {}
@ -629,6 +671,7 @@ function ibase_restore($service_handle, $source_file, $dest_db, $options = null,
* @param int $action
* @param int $argument [optional]
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_maintain_db($service_handle, $db, $action, $argument = null) {}
@ -640,6 +683,7 @@ function ibase_maintain_db($service_handle, $db, $action, $argument = null) {}
* @param int $action
* @param int $argument [optional]
* @return string
* @removed 7.4
*/
function ibase_db_info($service_handle, $db, $action, $argument = null) {}
@ -649,6 +693,7 @@ function ibase_db_info($service_handle, $db, $action, $argument = null) {}
* @param resource $service_handle
* @param int $action
* @return string
* @removed 7.4
*/
function ibase_server_info($service_handle, $action) {}
@ -662,6 +707,7 @@ function ibase_server_info($service_handle, $action) {}
* </p>
* @param string ...$_ [optional]
* @return string the name of the event that was posted.
* @removed 7.4
*/
function ibase_wait_event($event_name1, $event_name2 = null, ...$_) {}
@ -687,6 +733,7 @@ function ibase_wait_event($event_name1, $event_name2 = null, ...$_) {}
* @param string ...$_ [optional]
* @return resource The return value is an event resource. This resource can be used to free
* the event handler using ibase_free_event_handler.
* @removed 7.4
*/
function ibase_set_event_handler($event_handler, $event_name1, $event_name2 = null, ...$_) {}
@ -698,6 +745,7 @@ function ibase_set_event_handler($event_handler, $event_name1, $event_name2 = nu
* ibase_set_event_handler.
* </p>
* @return bool true on success or false on failure.
* @removed 7.4
*/
function ibase_free_event_handler($event) {}
@ -1451,6 +1499,7 @@ function fbird_free_event_handler($event) {}
* The default transaction settings are to be used.
* This default is determined by the client library, which defines it as IBASE_WRITE|IBASE_CONCURRENCY|IBASE_WAIT in most cases.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_DEFAULT', 0);
/**
@ -1466,28 +1515,33 @@ define('IBASE_TEXT', 1);
* Also available as IBASE_TEXT for backward compatibility.
* Causes BLOB contents to be fetched inline, instead of being fetched as BLOB identifiers.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_FETCH_BLOBS', 1);
/**
* Causes arrays to be fetched inline. Otherwise, array identifiers are returned.
* Array identifiers can only be used as arguments to INSERT operations, as no functions to handle array identifiers are currently available.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_FETCH_ARRAYS', 2);
/**
* Causes date and time fields not to be returned as strings, but as UNIX timestamps (the number of seconds since the epoch, which is 1-Jan-1970 0:00 UTC).
* Might be problematic if used with dates before 1970 on some systems.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_UNIXTIME', 4);
/**
* Starts a read-write transaction.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_WRITE', 1);
/**
* Starts a read-only transaction.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_READ', 2);
/**
@ -1497,12 +1551,14 @@ define('IBASE_READ', 2);
* If <b>IBASE_REC_NO_VERSION</b> was specified, only the latest version of a row can be read.
* If <b>IBASE_REC_VERSION</b> was specified, a row can even be read when a modification to it is pending in a concurrent transaction.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_COMMITTED', 8);
/**
* Starts a transaction with the isolation level set to 'consistency',
* which means the transaction cannot read from tables that are being modified by other concurrent transactions.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_CONSISTENCY', 16);
/**
@ -1510,6 +1566,7 @@ define('IBASE_CONSISTENCY', 16);
* which means the transaction has access to all tables,
* but cannot see changes that were committed by other transactions after the transaction was started.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_CONCURRENCY', 4);
/**
@ -1525,87 +1582,232 @@ define('IBASE_REC_NO_VERSION', 32);
/**
* Indicated that a transaction should fail immediately when a conflict occurs.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_NOWAIT', 256);
/**
* Indicated that a transaction should wait and retry when a conflict occurs.
* @link https://www.php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_WAIT', 128);
/**
* @removed 7.4
*/
define('IBASE_BKP_IGNORE_CHECKSUMS', 1);
/**
* @removed 7.4
*/
define('IBASE_BKP_IGNORE_LIMBO', 2);
/**
* @removed 7.4
*/
define('IBASE_BKP_METADATA_ONLY', 4);
/**
* @removed 7.4
*/
define('IBASE_BKP_NO_GARBAGE_COLLECT', 8);
/**
* @removed 7.4
*/
define('IBASE_BKP_OLD_DESCRIPTIONS', 16);
/**
* @removed 7.4
*/
define('IBASE_BKP_NON_TRANSPORTABLE', 32);
/**
* Options to ibase_backup
* @link https://php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_BKP_CONVERT', 64);
/**
* @removed 7.4
*/
define('IBASE_RES_DEACTIVATE_IDX', 256);
/**
* @removed 7.4
*/
define('IBASE_RES_NO_SHADOW', 512);
/**
* @removed 7.4
*/
define('IBASE_RES_NO_VALIDITY', 1024);
/**
* @removed 7.4
*/
define('IBASE_RES_ONE_AT_A_TIME', 2048);
/**
* @removed 7.4
*/
define('IBASE_RES_REPLACE', 4096);
/**
* @removed 7.4
*/
define('IBASE_RES_CREATE', 8192);
/**
* Options to ibase_restore
* @link https://php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_RES_USE_ALL_SPACE', 16384);
/**
* @removed 7.4
*/
define('IBASE_PRP_PAGE_BUFFERS', 5);
/**
* @removed 7.4
*/
define('IBASE_PRP_SWEEP_INTERVAL', 6);
/**
* @removed 7.4
*/
define('IBASE_PRP_SHUTDOWN_DB', 7);
/**
* @removed 7.4
*/
define('IBASE_PRP_DENY_NEW_TRANSACTIONS', 10);
/**
* @removed 7.4
*/
define('IBASE_PRP_DENY_NEW_ATTACHMENTS', 9);
/**
* @removed 7.4
*/
define('IBASE_PRP_RESERVE_SPACE', 11);
/**
* @removed 7.4
*/
define('IBASE_PRP_RES_USE_FULL', 35);
/**
* @removed 7.4
*/
define('IBASE_PRP_RES', 36);
/**
* @removed 7.4
*/
define('IBASE_PRP_WRITE_MODE', 12);
/**
* @removed 7.4
*/
define('IBASE_PRP_WM_ASYNC', 37);
/**
* @removed 7.4
*/
define('IBASE_PRP_WM_SYNC', 38);
/**
* @removed 7.4
*/
define('IBASE_PRP_ACCESS_MODE', 13);
/**
* @removed 7.4
*/
define('IBASE_PRP_AM_READONLY', 39);
/**
* @removed 7.4
*/
define('IBASE_PRP_AM_READWRITE', 40);
/**
* @removed 7.4
*/
define('IBASE_PRP_SET_SQL_DIALECT', 14);
/**
* @removed 7.4
*/
define('IBASE_PRP_ACTIVATE', 256);
/**
* @removed 7.4
*/
define('IBASE_PRP_DB_ONLINE', 512);
/**
* @removed 7.4
*/
define('IBASE_RPR_CHECK_DB', 16);
/**
* @removed 7.4
*/
define('IBASE_RPR_IGNORE_CHECKSUM', 32);
/**
* @removed 7.4
*/
define('IBASE_RPR_KILL_SHADOWS', 64);
/**
* @removed 7.4
*/
define('IBASE_RPR_MEND_DB', 4);
/**
* @removed 7.4
*/
define('IBASE_RPR_VALIDATE_DB', 1);
/**
* @removed 7.4
*/
define('IBASE_RPR_FULL', 128);
/**
* Options to ibase_maintain_db
* @link https://php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_RPR_SWEEP_DB', 2);
/**
* @removed 7.4
*/
define('IBASE_STS_DATA_PAGES', 1);
/**
* @removed 7.4
*/
define('IBASE_STS_DB_LOG', 2);
/**
* @removed 7.4
*/
define('IBASE_STS_HDR_PAGES', 4);
/**
* @removed 7.4
*/
define('IBASE_STS_IDX_PAGES', 8);
/**
* Options to ibase_db_info
* @link https://php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_STS_SYS_RELATIONS', 16);
/**
* @removed 7.4
*/
define('IBASE_SVC_SERVER_VERSION', 55);
/**
* @removed 7.4
*/
define('IBASE_SVC_IMPLEMENTATION', 56);
/**
* @removed 7.4
*/
define('IBASE_SVC_GET_ENV', 59);
/**
* @removed 7.4
*/
define('IBASE_SVC_GET_ENV_LOCK', 60);
/**
* @removed 7.4
*/
define('IBASE_SVC_GET_ENV_MSG', 61);
/**
* @removed 7.4
*/
define('IBASE_SVC_USER_DBPATH', 58);
/**
* @removed 7.4
*/
define('IBASE_SVC_SVR_DB_INFO', 50);
/**
* Options to ibase_server_info
* @link https://php.net/manual/en/ibase.constants.php
* @removed 7.4
*/
define('IBASE_SVC_GET_USERS', 68);

View File

@ -64,6 +64,7 @@ function mcrypt_ofb($cipher, $key, $data, $mode, $iv = null) {}
* @param int|string $cipher
* @param string $module
* @return int
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_get_key_size($cipher, $module) {}
@ -78,6 +79,7 @@ function mcrypt_get_key_size($cipher, $module) {}
* @param string $module <p>
* One of the <b>MCRYPT_MODE_modename</b> constants, or one of the following strings: "ecb", "cbc", "cfb", "ofb", "nofb" or "stream".</p>
* @return int Gets the block size, as an integer.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_get_block_size($cipher, $module) {}
@ -91,6 +93,7 @@ function mcrypt_get_block_size($cipher, $module) {}
* </p>
* @return string|false This function returns the name of the cipher or false, if the cipher does
* not exist.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_get_cipher_name($cipher) {}
@ -120,6 +123,7 @@ function mcrypt_get_cipher_name($cipher) {}
* rand is.
* </p>
* @return string|false the initialization vector, or false on error.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_create_iv($size, $source = MCRYPT_DEV_URANDOM) {}
@ -133,6 +137,7 @@ function mcrypt_create_iv($size, $source = MCRYPT_DEV_URANDOM) {}
* is used.
* </p>
* @return array an array with all the supported algorithms.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_list_algorithms($lib_dir = null) {}
@ -146,6 +151,7 @@ function mcrypt_list_algorithms($lib_dir = null) {}
* (php.ini) directive is used.
* </p>
* @return array an array with all the supported modes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_list_modes($lib_dir = null) {}
@ -167,6 +173,7 @@ function mcrypt_list_modes($lib_dir = null) {}
* @return int|false the size of the Initialisation Vector (IV) in bytes. On error the
* function returns false. If the IV is ignored in the specified cipher/mode
* combination zero is returned.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_get_iv_size($cipher, $module) {}
@ -208,6 +215,7 @@ function mcrypt_get_iv_size($cipher, $module) {}
* IV with all bytes set to '\0'.
* </p>
* @return string the encrypted data, as a string.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_encrypt($cipher, $key, $data, $mode, $iv = null) {}
@ -241,6 +249,7 @@ function mcrypt_encrypt($cipher, $key, $data, $mode, $iv = null) {}
* '\0'.
* </p>
* @return string the decrypted data as a string.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_decrypt($cipher, $key, $data, $mode, $iv = null) {}
@ -268,6 +277,7 @@ function mcrypt_decrypt($cipher, $key, $data, $mode, $iv = null) {}
* @param string $mode_directory <p>
* </p>
* @return resource|false Normally it returns an encryption descriptor, or false on error.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_open($cipher, $cipher_directory, $mode, $mode_directory) {}
@ -297,6 +307,7 @@ function mcrypt_module_open($cipher, $cipher_directory, $mode, $mode_directory)
* other return value is an unknown error. If an error occurs a warning will
* be displayed accordingly. false is returned if incorrect parameters
* were passed.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_generic_init($td, $key, $iv) {}
@ -318,6 +329,7 @@ function mcrypt_generic_init($td, $key, $iv) {}
* The data to encrypt.
* </p>
* @return string the encrypted data.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_generic($td, $data) {}
@ -333,6 +345,7 @@ function mcrypt_generic($td, $data) {}
* Encrypted data.
* </p>
* @return string
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mdecrypt_generic($td, $data) {}
@ -344,7 +357,7 @@ function mdecrypt_generic($td, $data) {}
* @return bool
* @removed 7.0
*/
#[Deprecated(since: '5.4')]
#[Deprecated(since: '5.3')]
function mcrypt_generic_end($td) {}
/**
@ -354,6 +367,7 @@ function mcrypt_generic_end($td) {}
* The encryption descriptor.
* </p>
* @return bool true on success or false on failure.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_generic_deinit($td) {}
@ -365,6 +379,7 @@ function mcrypt_generic_deinit($td) {}
* The encryption descriptor.
* </p>
* @return int Returns 0 on success and a negative integer on failure
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_self_test($td) {}
@ -377,6 +392,7 @@ function mcrypt_enc_self_test($td) {}
* </p>
* @return bool true if the mode is for use with block algorithms, otherwise it
* returns false.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_is_block_algorithm_mode($td) {}
@ -389,6 +405,7 @@ function mcrypt_enc_is_block_algorithm_mode($td) {}
* </p>
* @return bool true if the algorithm is a block algorithm or false if it is
* a stream one.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_is_block_algorithm($td) {}
@ -400,6 +417,7 @@ function mcrypt_enc_is_block_algorithm($td) {}
* The encryption descriptor.
* </p>
* @return bool true if the mode outputs blocks of bytes or false if it outputs bytes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_is_block_mode($td) {}
@ -411,6 +429,7 @@ function mcrypt_enc_is_block_mode($td) {}
* The encryption descriptor.
* </p>
* @return int the block size of the specified algorithm in bytes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_block_size($td) {}
@ -422,6 +441,7 @@ function mcrypt_enc_get_block_size($td) {}
* The encryption descriptor.
* </p>
* @return int the maximum supported key size of the algorithm in bytes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_key_size($td) {}
@ -437,6 +457,7 @@ function mcrypt_enc_get_key_size($td) {}
* array then all key sizes between 1 and
* mcrypt_enc_get_key_size are supported by the
* algorithm.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_supported_key_sizes($td) {}
@ -448,6 +469,7 @@ function mcrypt_enc_get_supported_key_sizes($td) {}
* The encryption descriptor.
* </p>
* @return int the size of the IV, or 0 if the IV is ignored in the algorithm.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_iv_size($td) {}
@ -459,6 +481,7 @@ function mcrypt_enc_get_iv_size($td) {}
* The encryption descriptor.
* </p>
* @return string the name of the opened algorithm as a string.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_algorithms_name($td) {}
@ -470,6 +493,7 @@ function mcrypt_enc_get_algorithms_name($td) {}
* The encryption descriptor.
* </p>
* @return string the name as a string.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_enc_get_modes_name($td) {}
@ -486,6 +510,7 @@ function mcrypt_enc_get_modes_name($td) {}
* </p>
* @return bool The function returns true if the self test succeeds, or false when if
* fails.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_self_test($algorithm, $lib_dir = null) {}
@ -503,6 +528,7 @@ function mcrypt_module_self_test($algorithm, $lib_dir = null) {}
* @return bool This function returns true if the mode is for use with block
* algorithms, otherwise it returns false. (e.g. false for stream, and
* true for cbc, cfb, ofb).
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_is_block_algorithm_mode($mode, $lib_dir = null) {}
@ -519,6 +545,7 @@ function mcrypt_module_is_block_algorithm_mode($mode, $lib_dir = null) {}
* </p>
* @return bool This function returns true if the specified algorithm is a block
* algorithm, or false is it is a stream algorithm.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_is_block_algorithm($algorithm, $lib_dir = null) {}
@ -536,6 +563,7 @@ function mcrypt_module_is_block_algorithm($algorithm, $lib_dir = null) {}
* @return bool This function returns true if the mode outputs blocks of bytes or
* false if it outputs just bytes. (e.g. true for cbc and ecb, and
* false for cfb and stream).
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_is_block_mode($mode, $lib_dir = null) {}
@ -551,6 +579,7 @@ function mcrypt_module_is_block_mode($mode, $lib_dir = null) {}
* is on the system.
* </p>
* @return int the block size of the algorithm specified in bytes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_get_algo_block_size($algorithm, $lib_dir = null) {}
@ -567,6 +596,7 @@ function mcrypt_module_get_algo_block_size($algorithm, $lib_dir = null) {}
* </p>
* @return int This function returns the maximum supported key size of the
* algorithm specified in bytes.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_get_algo_key_size($algorithm, $lib_dir = null) {}
@ -585,6 +615,7 @@ function mcrypt_module_get_algo_key_size($algorithm, $lib_dir = null) {}
* If it returns an empty array then all key sizes between 1 and
* mcrypt_module_get_algo_key_size are supported by the
* algorithm.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_get_supported_key_sizes($algorithm, $lib_dir = null) {}
@ -596,50 +627,251 @@ function mcrypt_module_get_supported_key_sizes($algorithm, $lib_dir = null) {}
* The encryption descriptor.
* </p>
* @return bool true on success or false on failure.
* @removed 7.2
*/
#[Deprecated(since: '7.1')]
function mcrypt_module_close($td) {}
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_ENCRYPT', 0);
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_DECRYPT', 1);
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_DEV_RANDOM', 0);
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_DEV_URANDOM', 1);
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RAND', 2);
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_3DES', "tripledes");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_ARCFOUR_IV', "arcfour-iv");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_ARCFOUR', "arcfour");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_BLOWFISH', "blowfish");
define('MCRYPT_BLOWFISH_COMPAT', "blowfish-compat");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_CAST_128', "cast-128");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_CAST_256', "cast-256");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_CRYPT', "crypt");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_DES', "des");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_DES_COMPAT', "des-compat");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_ENIGNA', "crypt");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_GOST', "gost");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_LOKI97', "loki97");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_PANAMA', "panama");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC2', "rc2");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC4', "rc4");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RIJNDAEL_128', "rijndael-128");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RIJNDAEL_192', "rijndael-192");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RIJNDAEL_256', "rijndael-256");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SAFER64', "safer-sk64");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SAFER128', "safer-sk128");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SAFERPLUS', "saferplus");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SERPENT', "serpent");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SERPENT_128', "serpent-128");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SERPENT_192', "serpent-192");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SERPENT_256', "serpent-256");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_THREEWAY', "threeway");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_TRIPLEDES', "tripledes");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_TWOFISH', "twofish");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_WAKE', "wake");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_XTEA', "xtea");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_IDEA', "idea");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MARS', "mars");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC6', "rc6");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC6_128', "rc6-128");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC6_192', "rc6-192");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_RC6_256', "rc6-256");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_SKIPJACK', "skipjack");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_CBC', "cbc");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_CFB', "cfb");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_ECB', "ecb");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_NOFB', "nofb");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_OFB', "ofb");
/**
* @deprecated 7.1
* @removed 7.2
*/
define('MCRYPT_MODE_STREAM', "stream");
// End of mcrypt v.

View File

@ -1,6 +1,7 @@
<?php
// Start of oci8 v.2.0.7
use JetBrains\PhpStorm\Deprecated;
use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware;
/**
@ -861,6 +862,7 @@ function oci_fetch_array($statement, $mode = null) {}
* @param int $mode [optional]
* @return int|bool
*/
#[Deprecated(since: "5.4")]
function ocifetchinto($statement_resource, &$result, $mode = null) {}
/**
@ -1729,6 +1731,7 @@ function oci_free_cursor($statement_resource) {}
* @param resource $statement_resource
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
#[Deprecated(replacement: "oci_free_statement", since: "5.4")]
function ocifreecursor($statement_resource) {}
/**
@ -1742,6 +1745,7 @@ function ocifreecursor($statement_resource) {}
* @param int $type [optional]
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
#[Deprecated(replacement: "oci_bind_by_name", since: "5.4")]
function ocibindbyname($statement, $column_name, &$variable, $maximum_length = -1, $type = SQLT_CHR) {}
/**
@ -1755,6 +1759,7 @@ function ocibindbyname($statement, $column_name, &$variable, $maximum_length = -
* 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.
*/
#[Deprecated(replacement: "oci_define_by_name", since: "5.4")]
function ocidefinebyname($statement, $column_name, &$variable, $type = SQLT_CHR) {}
/**
@ -1765,6 +1770,7 @@ function ocidefinebyname($statement, $column_name, &$variable, $type = SQLT_CHR)
* @param mixed $column_number_or_name
* @return bool Returns TRUE if field is NULL, FALSE otherwise.
*/
#[Deprecated(replacement: "oci_field_is_null", since: "5.4")]
function ocicolumnisnull($statement, $column_number_or_name) {}
/**
@ -1775,6 +1781,7 @@ function ocicolumnisnull($statement, $column_number_or_name) {}
* @param mixed $column_number
* @return string|false Returns the name as a string, or FALSE on errors.
*/
#[Deprecated(replacement: "oci_field_name", since: "5.4")]
function ocicolumnname($statement, $column_number) {}
/**
@ -1785,6 +1792,7 @@ function ocicolumnname($statement, $column_number) {}
* @param mixed $column_number_or_name
* @return int|false Returns the size of a field in bytes, or <b>FALSE</b> on errors.
*/
#[Deprecated(replacement: "oci_field_size", since: "5.4")]
function ocicolumnsize($statement, $column_number_or_name) {}
/**
@ -1795,6 +1803,7 @@ function ocicolumnsize($statement, $column_number_or_name) {}
* @param $column_number
* @return int|false Returns the scale as an integer, or <b>FALSE</b> on errors.
*/
#[Deprecated(replacement: "oci_field_scale", since: "5.4")]
function ocicolumnscale($statement_resource, $column_number) {}
/**
@ -1805,6 +1814,7 @@ function ocicolumnscale($statement_resource, $column_number) {}
* @param string|int $column_number
* @return int|false Returns the precision as an integer, or <b>FALSE</b> on errors.
*/
#[Deprecated(replacement: "oci_field_precision", since: "5.4")]
function ocicolumnprecision($statement_resource, $column_number) {}
/**
@ -1815,6 +1825,7 @@ function ocicolumnprecision($statement_resource, $column_number) {}
* @param string|int $column_number
* @return mixed|false Returns the field data type as a string, or FALSE on errors.
*/
#[Deprecated(replacement: "oci_field_type", since: "5.4")]
function ocicolumntype($statement_resource, $column_number) {}
/**
@ -1825,6 +1836,7 @@ function ocicolumntype($statement_resource, $column_number) {}
* @param string|int $column_number
* @return int|false Returns Oracle's raw data type as a number, or FALSE on errors.
*/
#[Deprecated(replacement: "oci_field_type_raw", since: "5.4")]
function ocicolumntyperaw($statement_resource, $column_number) {}
/**
@ -1835,6 +1847,7 @@ function ocicolumntyperaw($statement_resource, $column_number) {}
* @param $mode [optional]
* @return bool Returns TRUE on success or FALSE on failure
*/
#[Deprecated(replacement: "oci_execute", since: "5.4")]
function ociexecute($statement_resource, $mode = OCI_COMMIT_ON_SUCCESS) {}
/**
@ -1844,6 +1857,7 @@ function ociexecute($statement_resource, $mode = OCI_COMMIT_ON_SUCCESS) {}
* @param resource $statement_resource
* @return bool Returns TRUE on success or FALSE on failure
*/
#[Deprecated(replacement: 'oci_cancel', since: "5.4")]
function ocicancel($statement_resource) {}
/**
@ -1853,6 +1867,7 @@ function ocicancel($statement_resource) {}
* @param resource $statement_resource
* @return bool Returns TRUE on success or FALSE if there are no more rows in the statement.
*/
#[Deprecated(replacement: "oci_fetch", since: "5.4")]
function ocifetch($statement_resource) {}
/**
@ -1866,6 +1881,7 @@ function ocifetch($statement_resource) {}
* @param int $flags [optional]
* @return int|false Returns the number of rows in output, which may be 0 or more, or FALSE on failure.
*/
#[Deprecated(replacement: "oci_fetch_all", since: "5.4")]
function ocifetchstatement($statement_resource, &$output, $skip, $maximum_rows, $flags) {}
/**
@ -1875,6 +1891,7 @@ function ocifetchstatement($statement_resource, &$output, $skip, $maximum_rows,
* @param resource $statement_resource
* @return bool Returns TRUE on success or FALSE on failure.
*/
#[Deprecated(replacement: "oci_free_statement", since: "5.4")]
function ocifreestatement($statement_resource) {}
/**
@ -1884,6 +1901,7 @@ function ocifreestatement($statement_resource) {}
* @param bool $mode
* @removed 8.0
*/
#[Deprecated(replacement: "oci_internal_debug", since: "5.4")]
function ociinternaldebug($mode) {}
/**
@ -1893,6 +1911,7 @@ function ociinternaldebug($mode) {}
* @param resource $statement_resource
* @return int|false Returns the number of columns as an integer, or FALSE on errors.
*/
#[Deprecated(replacement: "oci_num_fields", since: "5.4")]
function ocinumcols($statement_resource) {}
/**
@ -1903,6 +1922,7 @@ function ocinumcols($statement_resource) {}
* @param string $sql_text
* @return resource|false Returns a statement handle on success, or FALSE on error.
*/
#[Deprecated(replacement: "oci_parse", since: "5.4")]
function ociparse($connection_resource, $sql_text) {}
/**
@ -1912,6 +1932,7 @@ function ociparse($connection_resource, $sql_text) {}
* @param resource $connection_resource
* @return resource|false Returns a new statement handle, or FALSE on error.
*/
#[Deprecated(replacement: "oci_new_cursor", since: "5.4")]
function ocinewcursor($connection_resource) {}
/**
@ -1922,6 +1943,7 @@ function ocinewcursor($connection_resource) {}
* @param $column_number_or_name
* @return false|mixed Returns everything as strings except for abstract types (ROWIDs, LOBs and FILEs). Returns FALSE on error.
*/
#[Deprecated(replacement: "oci_result", since: "5.4")]
function ociresult($statement_resource, $column_number_or_name) {}
/**
@ -1931,6 +1953,7 @@ function ociresult($statement_resource, $column_number_or_name) {}
* @param $connection_resource
* @return string|false Returns the version information as a string or FALSE on error.
*/
#[Deprecated(replacement: "oci_server_version", since: "5.4")]
function ociserverversion($connection_resource) {}
/**
@ -1940,6 +1963,7 @@ function ociserverversion($connection_resource) {}
* @param resource $statement_resource
* @return string|false Returns everything as strings except for abstract types (ROWIDs, LOBs and FILEs). Returns FALSE on error.
*/
#[Deprecated(replacement: "oci_statement_type", since: "5.4")]
function ocistatementtype($statement_resource) {}
/**
@ -1949,6 +1973,7 @@ function ocistatementtype($statement_resource) {}
* @param resource $statement_resource
* @return int|false Returns the number of rows affected as an integer, or FALSE on errors.
*/
#[Deprecated(replacement: "oci_num_rows", since: "5.4")]
function ocirowcount($statement_resource) {}
/**
@ -1958,6 +1983,7 @@ function ocirowcount($statement_resource) {}
* @param resource $connection_resource
* @return bool Returns TRUE on success or FALSE on failure.
*/
#[Deprecated(replacement: "oci_close", since: "5.4")]
function ocilogoff($connection_resource) {}
/**
@ -1971,6 +1997,7 @@ function ocilogoff($connection_resource) {}
* @param int $session_mode [optional]
* @return resource|false Returns a connection identifier or FALSE on error.
*/
#[Deprecated(replacement: "oci_connect", since: "5.4")]
function ocilogon($username, $password, $connection_string, $character_set, $session_mode) {}
/**
@ -1985,6 +2012,7 @@ function ocilogon($username, $password, $connection_string, $character_set, $ses
* @param $session_mode [optional]
* @return resource|false <p>Returns a connection identifier or <b>FALSE</b> on error.</p>
*/
#[Deprecated(replacement: "oci_new_connect", since: "5.4")]
function ocinlogon($username, $password, $connection_string, $character_set, $session_mode) {}
/**
@ -1999,6 +2027,7 @@ function ocinlogon($username, $password, $connection_string, $character_set, $se
* @param $session_mode [optional]
* @return resource|false <p>Returns a connection identifier or <b>FALSE</b> on error.</p>
*/
#[Deprecated(replacement: "oci_pconnect", since: "5.4")]
function ociplogon($username, $password, $connection_string, $character_set, $session_mode) {}
/**
@ -2010,6 +2039,7 @@ function ociplogon($username, $password, $connection_string, $character_set, $se
* For connection errors with oci_connect(), oci_new_connect() or oci_pconnect() do not pass resource.
* @return array|false If no error is found, oci_error() returns FALSE. Otherwise, oci_error() returns the error information as an associative array.
*/
#[Deprecated(replacement: "oci_error", since: "5.4")]
function ocierror($connection_or_statement_resource) {}
/**
@ -2020,6 +2050,7 @@ function ocierror($connection_or_statement_resource) {}
* @param $lob_descriptor
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
#[Deprecated(replacement: "OCI-Lob::free", since: "5.4")]
function ocifreedesc($lob_descriptor) {}
/**
@ -2032,6 +2063,7 @@ function ocifreedesc($lob_descriptor) {}
* @param int $offset [optional]
* @return bool
*/
#[Deprecated(replacement: "OCI-Lob::save", since: "5.4")]
function ocisavelob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor, $data, $offset) {}
/**
@ -2043,6 +2075,7 @@ function ocisavelob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_
* @param string $filename
* @return bool
*/
#[Deprecated(replacement: "OCI_Lob::import", since: "5.4")]
function ocisavelobfile(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor, $filename) {}
/**
@ -2056,6 +2089,7 @@ function ocisavelobfile(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: '
* @param int $length [optional] <p>Indicates the length of data to be exported.</p>
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
#[Deprecated(replacement: "OCI_Lob::export", since: "5.4")]
function ociwritelobtofile(
#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
$filename,
@ -2071,6 +2105,7 @@ function ociwritelobtofile(
* @param OCI_Lob|OCILob $lob_descriptor
* @return string|false <p>Returns the contents of the object, or <b>FALSE</b> on errors.</p>
*/
#[Deprecated(replacement: "OCI_Lob::load", since: "5.4")]
function ociloadlob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor) {}
/**
@ -2086,6 +2121,7 @@ function ociloadlob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_
* </p>
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
#[Deprecated(replacement: "oci_commit", since: "5.4")]
function ocicommit($connection_resource) {}
/**
@ -2096,6 +2132,7 @@ function ocicommit($connection_resource) {}
* @param resource $connection_resource
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
#[Deprecated(replacement: "oci_rollback", since: "5.4")]
function ocirollback($connection_resource) {}
/**
@ -2110,6 +2147,7 @@ function ocirollback($connection_resource) {}
* @param $type [optional] <p>Valid values for type are: <b>OCI_DTYPE_FILE</b>, <b>OCI_DTYPE_LOB</b> and <b>OCI_DTYPE_ROWID</b>.</p>
* @return OCI_LOB|false Returns a new LOB or FILE descriptor on success, FALSE on error.
*/
#[Deprecated(replacement: "oci_new_descriptor", since: "5.4")]
#[LanguageLevelTypeAware(['8.0' => 'OCILob|false'], default: 'OCI_Lob|false')]
function ocinewdescriptor($connection_resource, $type = OCI_DTYPE_LOB) {}
@ -2125,6 +2163,7 @@ function ocinewdescriptor($connection_resource, $type = OCI_DTYPE_LOB) {}
* @param $number_of_rows
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
#[Deprecated(replacement: "oci_set_prefetch", since: "5.4")]
function ocisetprefetch($statement_resource, $number_of_rows) {}
/**
@ -2147,6 +2186,7 @@ function ocipasswordchange($connection_resource_or_connection_string_or_dbname,
* @param OCI_Collection|OCICollection $collection
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
#[Deprecated(replacement: "OCI_Collection::free", since: "5.4")]
function ocifreecollection(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {}
/**
@ -2163,6 +2203,7 @@ function ocifreecollection(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'],
* </p>
* @return OCI_Collection|false <p>Returns a new OCI_Collection object or FALSE on error.</p>
*/
#[Deprecated(replacement: "oci_new_collection", since: "5.4")]
#[LanguageLevelTypeAware(['8.0' => 'OCICollection|false'], default: 'OCI_Collection|false')]
function ocinewcollection($connection_resource, $tdo, $schema = null) {}
@ -2175,6 +2216,7 @@ function ocinewcollection($connection_resource, $tdo, $schema = null) {}
* @param mixed $value <p>The value to be added to the collection. Can be a string or a number.</p>
* @return bool <p>Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
*/
#[Deprecated(replacement: "OCI_Collection::append", since: "5.4")]
function ocicollappend(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $value) {}
/**
@ -2186,6 +2228,7 @@ function ocicollappend(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], defa
* @param int $index <p>The element index. First index is 0.</p>
* @return mixed <p>Returns <b>FALSE</b> if such element doesn't exist; <b>NULL</b> if element is <b>NULL</b>; string if element is column of a string datatype or number if element is numeric field.</p>
*/
#[Deprecated(replacement: "OCI_COLLection::getElem", since: "5.4")]
function ocicollgetelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index) {}
/**
@ -2197,6 +2240,7 @@ function ocicollgetelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], def
* @param $value <p>Can be a string or a number.</p>
* @return bool <p>Returns TRUE on success or FALSE on failure.</p>
*/
#[Deprecated(replacement: "OCI_Collection::assignElem", since: "5.4")]
function ocicollassignelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $index, $value) {}
/**
@ -2207,6 +2251,7 @@ function ocicollassignelem(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'],
* @param OCI_Collection $collection
* @return int|false <p>Returns the number of elements in the collection or <b>FALSE</b> on error.</p>
*/
#[Deprecated(replacement: "OCI_COLLection::size", since: "5.4")]
function ocicollsize(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {}
/**
@ -2218,6 +2263,7 @@ function ocicollsize(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], defaul
* @return int|false <p> Returns the maximum number as an integer, or <b>FALSE</b> on errors.
* If the returned value is 0, then the number of elements is not limited.</p>
*/
#[Deprecated(replacement: "OCI_COLLection::max", since: "5.4")]
function ocicollmax(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection) {}
/**
@ -2229,6 +2275,7 @@ function ocicollmax(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default
* @param int|float $number
* @return bool Returns <b>TRUE</b> or <b>FALSE</b> on failure.
*/
#[Deprecated(replacement: "OCI_Collection::trim", since: "5.4")]
function ocicolltrim(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $collection, $number) {}
/**
@ -2251,6 +2298,7 @@ function ocicolltrim(#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], defaul
* </ul>
* @return bool <p>Returns TRUE on success or FALSE on failure.</p>
*/
#[Deprecated(replacement: "OCI-Lob::writeTemporary", since: "5.4")]
function ociwritetemporarylob(
#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor,
$data,
@ -2264,6 +2312,7 @@ function ociwritetemporarylob(
* @param OCI_Lob|OCILob $lob_descriptor
* @return bool <p>Returns TRUE on success or FALSE on failure.</p>
*/
#[Deprecated(replacement: "OCI-Lob::close()", since: "5.4")]
function ocicloselob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI_Lob')] $lob_descriptor) {}
/**
@ -2275,6 +2324,7 @@ function ocicloselob(#[LanguageLevelTypeAware(['8.0' => 'OCILob'], default: 'OCI
* @param OCI_Collection $from An instance of OCI-Collection.
* @return bool <p>Returns TRUE on success or FALSE on failure.</p>
*/
#[Deprecated(replacement: "OCI-Collection::assign", since: "5.4")]
function ocicollassign(
#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $to,
#[LanguageLevelTypeAware(['8.0' => 'OCICollection'], default: 'OCI_Collection')] $from

View File

@ -13,6 +13,7 @@
* </p>
* @return string|false the recoded string or <b>FALSE</b>, if unable to
* perform the recode request.
* @removed 7.4
*/
function recode_string($request, $string) {}
@ -31,6 +32,7 @@ function recode_string($request, $string) {}
* the <i>output</i>
* </p>
* @return bool <b>FALSE</b>, if unable to comply, <b>TRUE</b> otherwise.
* @removed 7.4
*/
function recode_file($request, $input, $output) {}
@ -39,6 +41,7 @@ function recode_file($request, $input, $output) {}
* @link https://php.net/manual/en/function.recode.php
* @param $request
* @param $str
* @removed 7.4
*/
function recode($request, $str) {}

View File

@ -244,7 +244,7 @@ function get_browser(?string $user_agent, bool $return_array = false): object|ar
* @param string $string <p>
* The string to be encrypted.
* </p>
* @param string $salt [optional] <p>
* @param string $salt <p>
* An optional salt string to base the encryption on. If not provided,
* one will be randomly generated by PHP each time you call this function.
* PHP 5.6 or later raise E_NOTICE error if this parameter is omitted
@ -258,7 +258,7 @@ function get_browser(?string $user_agent, bool $return_array = false): object|ar
*/
#[Pure]
#[PhpStormStubsElementAvailable(to: '7.4')]
function crypt($string, $salt = null): ?string {}
function crypt($string, $salt): ?string {}
/**
* One-way string encryption (hashing)

View File

@ -32,6 +32,7 @@ $_COOKIE = [];
$_ENV = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_ENV_VARS = [];
@ -49,6 +50,7 @@ $HTTP_ENV_VARS = [];
$_FILES = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_POST_FILES = [];
@ -65,6 +67,7 @@ $HTTP_POST_FILES = [];
$_GET = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_GET_VARS = [];
@ -82,6 +85,7 @@ $HTTP_GET_VARS = [];
$_POST = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_POST_VARS = [];
@ -118,6 +122,7 @@ $_REQUEST = [];
$_SERVER = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_SERVER_VARS = [];
@ -173,6 +178,7 @@ $_SERVER['ORIG_PATH_INFO'] = '';
$_SESSION = [];
/**
* @deprecated 4.1
* @removed 5.4
*/
$HTTP_SESSION_VARS = [];
@ -205,6 +211,7 @@ $argv = [];
* https://secure.php.net/manual/en/reserved.variables.php</a>
*
* @deprecated 5.6 Deprecated as of PHP 5.6.0. Use the php://input stream instead.
* @removed 7.0
*/
$HTTP_RAW_POST_DATA = '';
@ -224,5 +231,6 @@ $http_response_header = [];
*
* <p><a href="https://secure.php.net/manual/en/reserved.variables.php">
* https://secure.php.net/manual/en/reserved.variables.php</a>
* @deprecated 7.2
*/
$php_errormsg = '';

View File

@ -189,6 +189,9 @@ define('T_DOUBLE_COLON', 397);
* @since 7.4
*/
define('T_FN', 311);
/**
* @removed 7.0
*/
define('T_BAD_CHARACTER', 405);
/**

View File

@ -12,6 +12,7 @@
* An optional comment string that appears in the packet header.
* </p>
* @return string|false the WDDX packet, or <b>FALSE</b> on error.
* @removed 7.4
*/
function wddx_serialize_value($var, $comment = null) {}
@ -24,6 +25,7 @@ function wddx_serialize_value($var, $comment = null) {}
* </p>
* @param mixed ...$_ [optional]
* @return string|false the WDDX packet, or <b>FALSE</b> on error.
* @removed 7.4
*/
function wddx_serialize_vars($var_name, ...$_) {}
@ -34,6 +36,7 @@ function wddx_serialize_vars($var_name, ...$_) {}
* An optional comment string.
* </p>
* @return resource|false a packet ID for use in later functions, or <b>FALSE</b> on error.
* @removed 7.4
*/
function wddx_packet_start($comment = null) {}
@ -44,6 +47,7 @@ function wddx_packet_start($comment = null) {}
* A WDDX packet, returned by <b>wddx_packet_start</b>.
* </p>
* @return string the string containing the WDDX packet.
* @removed 7.4
*/
function wddx_packet_end($packet_id) {}
@ -59,6 +63,7 @@ function wddx_packet_end($packet_id) {}
* </p>
* @param mixed ...$_ [optional]
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @removed 7.4
*/
function wddx_add_vars($packet_id, $var_name, ...$_) {}
@ -70,6 +75,7 @@ function wddx_add_vars($packet_id, $var_name, ...$_) {}
* </p>
* @return mixed the deserialized value which can be a string, a number or an
* array. Note that structures are deserialized into associative arrays.
* @removed 7.4
*/
function wddx_deserialize($packet) {}