Add 7.0 removals

This commit is contained in:
Maxim.Kolmakov 2020-01-22 18:12:36 +01:00
parent 4ac782cea0
commit 4987fd5e3f
9 changed files with 121 additions and 71 deletions

View File

@ -1952,7 +1952,7 @@ function imagefttext ($image, $size, $angle, $x, $y, $color, $fontfile, $text, $
* can be used for further purposes. Otherwise the function returns false.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsloadfont ($filename) {}
@ -1965,7 +1965,7 @@ function imagepsloadfont ($filename) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0
*/
function imagepsfreefont ($font_index) {}
@ -1982,9 +1982,7 @@ function imagepsfreefont ($font_index) {}
* IsoLatin2.enc.
* </p>
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0
*/
function imagepsencodefont ($font_index, $encodingfile) {}
@ -1998,9 +1996,7 @@ function imagepsencodefont ($font_index, $encodingfile) {}
* Extension value, must be greater than 0.
* </p>
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0
*/
function imagepsextendfont ($font_index, $extend) {}
@ -2016,7 +2012,7 @@ function imagepsextendfont ($font_index, $extend) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsslantfont ($font_index, $slant) {}
@ -2091,7 +2087,7 @@ function imagepsslantfont ($font_index, $slant) {}
* Returns false on error.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepstext ($image, $text, $font_index, $size, $foreground, $background, $x, $y, $space = null, $tightness = null, $angle = null, $antialias_steps = null) {}
@ -2123,9 +2119,7 @@ function imagepstext ($image, $text, $font_index, $size, $foreground, $backgroun
* <td>lower y-coordinate</td>
* </tr>
* Returns false on error.
* @since 4.0
* @since 5.0
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
* @removed 7.0
*/
function imagepsbbox ($text, $font, $size) {}

View File

@ -1788,6 +1788,7 @@ class IntlDateFormatter {
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @deprecated 5.5 https://secure.php.net/manual/en/migration55.deprecated.php
* @removed 7.0
*/
public function setTimeZoneId($zone) { }
@ -4190,6 +4191,7 @@ function datefmt_get_timezone() { }
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @deprecated 5.5 https://secure.php.net/manual/en/migration55.deprecated.php
* @removed 7.0
*/
function datefmt_set_timezone_id(MessageFormatter $mf, $zone) { }

View File

@ -11,8 +11,7 @@
* @param string $data
* @param int $mode
* @return string
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mcrypt_ecb ($cipher, $key, $data, $mode) {}
@ -26,8 +25,7 @@ function mcrypt_ecb ($cipher, $key, $data, $mode) {}
* @param int $mode
* @param string $iv [optional]
* @return string
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mcrypt_cbc ($cipher, $key, $data, $mode, $iv = null) {}
@ -41,8 +39,7 @@ function mcrypt_cbc ($cipher, $key, $data, $mode, $iv = null) {}
* @param int $mode
* @param string $iv [optional]
* @return string
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mcrypt_cfb ($cipher, $key, $data, $mode, $iv = null) {}
@ -56,8 +53,7 @@ function mcrypt_cfb ($cipher, $key, $data, $mode, $iv = null) {}
* @param int $mode
* @param string $iv [optional]
* @return string
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mcrypt_ofb ($cipher, $key, $data, $mode, $iv = null) {}
@ -372,8 +368,7 @@ function mdecrypt_generic ($td, $data) {}
* @param resource $td
* @return bool
* @deprecated 5.4 This function has been DEPRECATED as of PHP 5.4.0.
* @since 4.0.2
* @since 5.1.6
* @removed 7.0
*/
function mcrypt_generic_end ($td) {}

View File

@ -26,7 +26,7 @@
* called before with the same parameters.
* </p>
* @return resource|false a MS SQL link identifier on success, or false on error.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_connect ($servername = null, $username = null, $password = null, $new_link = false) {}
@ -55,7 +55,7 @@ function mssql_connect ($servername = null, $username = null, $password = null,
* </p>
* @return resource a positive MS SQL persistent link identifier on success, or
* false on error.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_pconnect ($servername = null, $username = null, $password = null, $new_link = false) {}
@ -72,7 +72,7 @@ function mssql_pconnect ($servername = null, $username = null, $password = null,
* mssql_pconnect.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_close ($link_identifier = null) {}
@ -101,7 +101,7 @@ function mssql_close ($link_identifier = null) {}
* mssql_connect was called, and use it.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_select_db ($database_name, $link_identifier = null) {}
@ -127,7 +127,7 @@ function mssql_select_db ($database_name, $link_identifier = null) {}
* </p>
* @return mixed a MS SQL result resource on success, true if no rows were
* returned, or false on error.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_query ($query, $link_identifier = null, $batch_size = 0) {}
@ -140,7 +140,7 @@ function mssql_query ($query, $link_identifier = null, $batch_size = 0) {}
* call to mssql_query.
* </p>
* @return int the batch number as an integer.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_batch ($result) {}
@ -154,7 +154,7 @@ function mssql_fetch_batch ($result) {}
* mssql_pconnect.
* </p>
* @return int the number of records affected by last operation.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_rows_affected ($link_identifier) {}
@ -167,7 +167,7 @@ function mssql_rows_affected ($link_identifier) {}
* call to mssql_query.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_free_result ($result) {}
@ -177,7 +177,7 @@ function mssql_free_result ($result) {}
* @link https://php.net/manual/en/function.mssql-get-last-message.php
* @return string last error message from server, or an empty string if
* no error messages are returned from MSSQL.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_get_last_message () {}
@ -190,7 +190,7 @@ function mssql_get_last_message () {}
* call to mssql_query.
* </p>
* @return int the number of rows, as an integer.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_num_rows ($result) {}
@ -203,7 +203,7 @@ function mssql_num_rows ($result) {}
* call to mssql_query.
* </p>
* @return int the number of fields, as an integer.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_num_fields ($result) {}
@ -224,7 +224,7 @@ function mssql_num_fields ($result) {}
* </p>
* <p>
* The properties of the object are:
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_field ($result, $field_offset = -1) {}
@ -238,7 +238,7 @@ function mssql_fetch_field ($result, $field_offset = -1) {}
* </p>
* @return array|false an array that corresponds to the fetched row, or false if there
* are no more rows.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_row ($result) {}
@ -258,7 +258,7 @@ function mssql_fetch_row ($result) {}
* </p>
* @return array|false an array that corresponds to the fetched row, or false if there
* are no more rows.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_array ($result, $result_type = MSSQL_BOTH) {}
@ -272,7 +272,7 @@ function mssql_fetch_array ($result, $result_type = MSSQL_BOTH) {}
* </p>
* @return array an associative array that corresponds to the fetched row, or
* false if there are no more rows.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_assoc ($result_id) {}
@ -286,7 +286,7 @@ function mssql_fetch_assoc ($result_id) {}
* </p>
* @return object an object with properties that correspond to the fetched row, or
* false if there are no more rows.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_fetch_object ($result) {}
@ -302,7 +302,7 @@ function mssql_fetch_object ($result) {}
* The field offset, starts at 0. If omitted, the current field is used.
* </p>
* @return int|false The length of the specified field index on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_field_length ($result, $offset = null) {}
@ -318,7 +318,7 @@ function mssql_field_length ($result, $offset = null) {}
* The field offset, starts at 0. If omitted, the current field is used.
* </p>
* @return string|false The name of the specified field index on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_field_name ($result, $offset = -1) {}
@ -334,7 +334,7 @@ function mssql_field_name ($result, $offset = -1) {}
* The field offset, starts at 0. If omitted, the current field is used.
* </p>
* @return string|false The type of the specified field index on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_field_type ($result, $offset = -1) {}
@ -349,7 +349,7 @@ function mssql_field_type ($result, $offset = -1) {}
* The desired row number of the new result pointer.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_data_seek ($result_identifier, $row_number) {}
@ -365,7 +365,7 @@ function mssql_data_seek ($result_identifier, $row_number) {}
* The field offset, starts at 0.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_field_seek ($result, $field_offset) {}
@ -393,7 +393,7 @@ function mssql_field_seek ($result, $field_offset) {}
* tablename.fieldname argument.
* </p>
* @return string the contents of the specified cell.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_result ($result, $row, $field) {}
@ -407,7 +407,7 @@ function mssql_result ($result, $row, $field) {}
* </p>
* @return bool true if an additional result set was available or false
* otherwise.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_next_result ($result_id) {}
@ -419,7 +419,7 @@ function mssql_next_result ($result_id) {}
* The new error severity.
* </p>
* @return void
* @deprecated 7.0
* @removed 7.0
*/
function mssql_min_error_severity ($severity) {}
@ -431,7 +431,7 @@ function mssql_min_error_severity ($severity) {}
* The new message severity.
* </p>
* @return void
* @deprecated 7.0
* @removed 7.0
*/
function mssql_min_message_severity ($severity) {}
@ -450,7 +450,7 @@ function mssql_min_message_severity ($severity) {}
* @return resource a resource identifier "statement", used in subsequent calls to
* mssql_bind and mssql_execute,
* or false on errors.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_init ($sp_name, $link_identifier = null) {}
@ -497,7 +497,7 @@ function mssql_init ($sp_name, $link_identifier = null) {}
* SQLVARCHAR and this value 50.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_bind ($stmt, $param_name, &$var, $type, $is_output = false, $is_null = false, $maxlen = -1) {}
@ -512,7 +512,7 @@ function mssql_bind ($stmt, $param_name, &$var, $type, $is_output = false, $is_n
* Whenever to skip the results or not.
* </p>
* @return mixed
* @deprecated 7.0
* @removed 7.0
*/
function mssql_execute ($stmt, $skip_results = false) {}
@ -524,7 +524,7 @@ function mssql_execute ($stmt, $skip_results = false) {}
* Statement resource, obtained with mssql_init.
* </p>
* @return bool true on success or false on failure.
* @deprecated 7.0
* @removed 7.0
*/
function mssql_free_statement ($stmt) {}

View File

@ -51,6 +51,7 @@
* @return resource|false a MySQL link identifier on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_connect ($server = 'ini_get("mysql.default_host")', $username = 'ini_get("mysql.default_user")', $password = 'ini_get("mysql.default_password")', $new_link = false, $client_flags = 0) {}
@ -88,6 +89,7 @@ function mysql_connect ($server = 'ini_get("mysql.default_host")', $username = '
* failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_pconnect ($server = 'ini_get("mysql.default_host")', $username = 'ini_get("mysql.default_user")', $password = 'ini_get("mysql.default_password")', $client_flags = null) {}
@ -99,6 +101,7 @@ function mysql_pconnect ($server = 'ini_get("mysql.default_host")', $username =
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_close ($link_identifier = null) {}
@ -113,6 +116,7 @@ function mysql_close ($link_identifier = null) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_select_db ($database_name, $link_identifier = null) {}
@ -156,6 +160,7 @@ function mysql_select_db ($database_name, $link_identifier = null) {}
* the query.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_query ($query, $link_identifier = null) {}
@ -181,6 +186,7 @@ function mysql_query ($query, $link_identifier = null) {}
* or false on error.
* @since 4.0.6
* @since 5.0
* @removed 7.0
*/
function mysql_unbuffered_query ($query, $link_identifier = null) {}
@ -204,6 +210,7 @@ function mysql_unbuffered_query ($query, $link_identifier = null) {}
* queries to indicate success/failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_db_query ($database, $query, $link_identifier = null) {}
@ -218,6 +225,7 @@ function mysql_db_query ($database, $query, $link_identifier = null) {}
* @deprecated 5.4
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_list_dbs ($link_identifier = null) {}
@ -237,6 +245,7 @@ function mysql_list_dbs ($link_identifier = null) {}
* @deprecated 5.2
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_list_tables ($database, $link_identifier = null) {}
@ -261,6 +270,7 @@ function mysql_list_tables ($database, $link_identifier = null) {}
* <b>mysql_field_type</b>.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_list_fields ($database_name, $table_name, $link_identifier = null) {}
@ -272,6 +282,7 @@ function mysql_list_fields ($database_name, $table_name, $link_identifier = null
* @return resource|false A result pointer resource on success or false on failure.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_list_processes ($link_identifier = null) {}
@ -284,6 +295,7 @@ function mysql_list_processes ($link_identifier = null) {}
* '' (empty string) if no error occurred.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_error ($link_identifier = null) {}
@ -296,6 +308,7 @@ function mysql_error ($link_identifier = null) {}
* 0 (zero) if no error occurred.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_errno ($link_identifier = null) {}
@ -325,6 +338,7 @@ function mysql_errno ($link_identifier = null) {}
* deleted records plus the number of inserted records.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_affected_rows ($link_identifier = null) {}
@ -339,6 +353,7 @@ function mysql_affected_rows ($link_identifier = null) {}
* no MySQL connection was established.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_insert_id ($link_identifier = null) {}
@ -364,6 +379,7 @@ function mysql_insert_id ($link_identifier = null) {}
* false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_result ($result, $row, $field = 0) {}
@ -375,6 +391,7 @@ function mysql_result ($result, $row, $field = 0) {}
* @since 4.0
* @since 5.0
* @deprecated 5.5
* @removed 7.0
*/
function mysql_num_rows ($result) {}
@ -387,6 +404,7 @@ function mysql_num_rows ($result) {}
* success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_num_fields ($result) {}
@ -405,6 +423,7 @@ function mysql_num_fields ($result) {}
* array offset, starting at offset 0.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_row ($result) {}
@ -436,6 +455,7 @@ function mysql_fetch_row ($result) {}
* access the contents with the original column name.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_array ($result, $result_type = MYSQL_BOTH) {}
@ -457,6 +477,7 @@ function mysql_fetch_array ($result, $result_type = MYSQL_BOTH) {}
* description about aliases.
* @since 4.0.3
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_assoc ($result) {}
@ -483,6 +504,7 @@ function mysql_fetch_assoc ($result) {}
* array offset, starting at offset 0.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_object ($result, $class_name = 'stdClass', array $params = null ) {}
@ -497,6 +519,7 @@ function mysql_fetch_object ($result, $class_name = 'stdClass', array $params =
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_data_seek ($result, $row_number) {}
@ -508,6 +531,7 @@ function mysql_data_seek ($result, $row_number) {}
* @return array|false An array of lengths on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_lengths ($result) {}
@ -540,6 +564,7 @@ function mysql_fetch_lengths ($result) {}
* zerofill - 1 if the column is zero-filled
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_fetch_field ($result, $field_offset = 0) {}
@ -552,6 +577,7 @@ function mysql_fetch_field ($result, $field_offset = 0) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_seek ($result, $field_offset) {}
@ -569,6 +595,7 @@ function mysql_field_seek ($result, $field_offset) {}
* for SELECT, SHOW, EXPLAIN, and DESCRIBE queries.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_free_result ($result) {}
@ -581,6 +608,7 @@ function mysql_free_result ($result) {}
* @return string|false The name of the specified field index on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_name ($result, $field_offset) {}
@ -593,6 +621,7 @@ function mysql_field_name ($result, $field_offset) {}
* @return string The name of the table on success.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_table ($result, $field_offset) {}
@ -605,6 +634,7 @@ function mysql_field_table ($result, $field_offset) {}
* @return int|false The length of the specified field index on success or false on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_len ($result, $field_offset) {}
@ -621,6 +651,7 @@ function mysql_field_len ($result, $field_offset) {}
* documentation.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_type ($result, $field_offset) {}
@ -642,6 +673,7 @@ function mysql_field_type ($result, $field_offset) {}
* "auto_increment" and "timestamp".
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_field_flags ($result, $field_offset) {}
@ -655,6 +687,7 @@ function mysql_field_flags ($result, $field_offset) {}
* @return string the escaped string.
* @since 4.0.3
* @since 5.0
* @removed 7.0
*/
function mysql_escape_string ($unescaped_string) {}
@ -669,6 +702,7 @@ function mysql_escape_string ($unescaped_string) {}
* @return string|false the escaped string, or false on error.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_real_escape_string ($unescaped_string, $link_identifier = null) {}
@ -683,6 +717,7 @@ function mysql_real_escape_string ($unescaped_string, $link_identifier = null) {
* If <i>link_identifier</i> is invalid, null is returned.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_stat ($link_identifier = null) {}
@ -694,6 +729,7 @@ function mysql_stat ($link_identifier = null) {}
* @return int|false The thread ID on success or false on failure.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_thread_id ($link_identifier = null) {}
@ -705,6 +741,7 @@ function mysql_thread_id ($link_identifier = null) {}
* @return string the default character set name for the current connection.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_client_encoding ($link_identifier = null) {}
@ -717,6 +754,7 @@ function mysql_client_encoding ($link_identifier = null) {}
* otherwise false.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_ping ($link_identifier = null) {}
@ -727,6 +765,7 @@ function mysql_ping ($link_identifier = null) {}
* @return string The MySQL client version.
* @since 4.0.5
* @since 5.0
* @removed 7.0
*/
function mysql_get_client_info () {}
@ -739,6 +778,7 @@ function mysql_get_client_info () {}
* connection or false on failure.
* @since 4.0.5
* @since 5.0
* @removed 7.0
*/
function mysql_get_host_info ($link_identifier = null) {}
@ -750,6 +790,7 @@ function mysql_get_host_info ($link_identifier = null) {}
* @return int|false the MySQL protocol on success or false on failure.
* @since 4.0.5
* @since 5.0
* @removed 7.0
*/
function mysql_get_proto_info ($link_identifier = null) {}
@ -761,6 +802,7 @@ function mysql_get_proto_info ($link_identifier = null) {}
* @return string|false the MySQL server version on success or false on failure.
* @since 4.0.5
* @since 5.0
* @removed 7.0
*/
function mysql_get_server_info ($link_identifier = null) {}
@ -775,6 +817,7 @@ function mysql_get_server_info ($link_identifier = null) {}
* will return false.
* @since 4.3
* @since 5.0
* @removed 7.0
*/
function mysql_info ($link_identifier = null) {}
@ -788,6 +831,7 @@ function mysql_info ($link_identifier = null) {}
* @param resource $link_identifier [optional]
* @return bool true on success or false on failure.
* @since 5.2.3
* @removed 7.0
*/
function mysql_set_charset ($charset, $link_identifier = null) {}
@ -796,6 +840,7 @@ function mysql_set_charset ($charset, $link_identifier = null) {}
* @param $query
* @param $link_identifier [optional]
* @deprecated 5.3 Use mysql_db_query instead.
* @removed 7.0
*/
function mysql ($database_name, $query, $link_identifier) {}
@ -803,6 +848,7 @@ function mysql ($database_name, $query, $link_identifier) {}
* @param $result
* @param $field_index
* @deprecated 5.5 Use mysql_field_name instead.
* @removed 7.0
*/
function mysql_fieldname ($result, $field_index) {}
@ -810,6 +856,7 @@ function mysql_fieldname ($result, $field_index) {}
* @param $result
* @param $field_offset
* @deprecated 5.5 Use mysql_field_table instead.
* @removed 7.0
*/
function mysql_fieldtable ($result, $field_offset) {}
@ -817,6 +864,7 @@ function mysql_fieldtable ($result, $field_offset) {}
* @param $result
* @param $field_offset
* @deprecated 5.5 Use mysql_field_len instead.
* @removed 7.0
*/
function mysql_fieldlen ($result, $field_offset) {}
@ -824,6 +872,7 @@ function mysql_fieldlen ($result, $field_offset) {}
* @param $result
* @param $field_offset
* @deprecated 5.5 Use mysql_field_type instead.
* @removed 7.0
*/
function mysql_fieldtype ($result, $field_offset) {}
@ -831,6 +880,7 @@ function mysql_fieldtype ($result, $field_offset) {}
* @param $result
* @param $field_offset
* @deprecated 5.5 Use mysql_field_flags instead.
* @removed 7.0
*/
function mysql_fieldflags ($result, $field_offset) {}
@ -838,18 +888,21 @@ function mysql_fieldflags ($result, $field_offset) {}
* @param $database_name
* @param $link_identifier [optional]
* @deprecated 5.5 Use mysql_select_db instead.
* @removed 7.0
*/
function mysql_selectdb ($database_name, $link_identifier) {}
/**
* @param $result
* @deprecated 5.5 Use mysql_free_result instead.
* @removed 7.0
*/
function mysql_freeresult ($result) {}
/**
* @param $result
* @deprecated 5.5 Use mysql_num_fields instead.
* @removed 7.0
*/
function mysql_numfields ($result) {}
@ -860,12 +913,14 @@ function mysql_numfields ($result) {}
* @param resource $result <p>The result resource that is being evaluated. This result comes from a call to mysql_query().</p>
* @return int|false <p>The number of rows in the result set on success or FALSE on failure. </p>
* @deprecated 5.5 Use mysql_num_rows instead.
* @removed 7.0
*/
function mysql_numrows ($result) {}
/**
* @param $link_identifier [optional]
* @deprecated 5.5 Use mysql_list_dbs instead.
* @removed 7.0
*/
function mysql_listdbs ($link_identifier) {}
@ -873,6 +928,7 @@ function mysql_listdbs ($link_identifier) {}
* @param $database_name
* @param $link_identifier [optional]
* @deprecated 5.5 Use mysql_list_tables instead.
* @removed 7.0
*/
function mysql_listtables ($database_name, $link_identifier) {}
@ -881,6 +937,7 @@ function mysql_listtables ($database_name, $link_identifier) {}
* @param $table_name
* @param $link_identifier [optional]
* @deprecated 5.5 Use mysql_list_fields instead.
* @removed 7.0
*/
function mysql_listfields ($database_name, $table_name, $link_identifier) {}
@ -902,6 +959,7 @@ function mysql_listfields ($database_name, $table_name, $link_identifier) {}
* of the error.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_db_name ($result, $row, $field = null) {}
@ -910,6 +968,7 @@ function mysql_db_name ($result, $row, $field = null) {}
* @param $row
* @param $field [optional]
* @deprecated 5.5 Use mysql_db_name instead.
* @removed 7.0
*/
function mysql_dbname ($result, $row, $field) {}
@ -932,6 +991,7 @@ function mysql_dbname ($result, $row, $field) {}
* such as <b>mysql_fetch_array</b>.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function mysql_tablename ($result, $i) {}
@ -940,6 +1000,7 @@ function mysql_tablename ($result, $i) {}
* @param $result
* @param $row
* @param $field [optional]
* @removed 7.0
*/
function mysql_table_name ($result, $row, $field) {}
@ -949,6 +1010,7 @@ function mysql_table_name ($result, $row, $field) {}
* index.
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_ASSOC', 1);
@ -957,6 +1019,7 @@ define ('MYSQL_ASSOC', 1);
* fields. This index starts with 0, the first field in the result.
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_NUM', 2);
@ -965,6 +1028,7 @@ define ('MYSQL_NUM', 2);
* and the fieldname as the array index.
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_BOTH', 3);
@ -972,6 +1036,7 @@ define ('MYSQL_BOTH', 3);
* Use compression protocol
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_CLIENT_COMPRESS', 32);
@ -981,6 +1046,7 @@ define ('MYSQL_CLIENT_COMPRESS', 32);
* with PHP 4 and Windows binaries of PHP 5.
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_CLIENT_SSL', 2048);
@ -989,6 +1055,7 @@ define ('MYSQL_CLIENT_SSL', 2048);
* inactivity before closing the connection.
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_CLIENT_INTERACTIVE', 1024);
@ -996,6 +1063,7 @@ define ('MYSQL_CLIENT_INTERACTIVE', 1024);
* Allow space after function names
* @link https://php.net/manual/en/mysql.constants.php
* @deprecated 5.5
* @removed 7.0
*/
define ('MYSQL_CLIENT_IGNORE_SPACE', 256);

View File

@ -32,8 +32,7 @@
* <p>
* If the optional parameter <i>regs</i> was not passed or
* the length of the matched string is 0, this function returns 1.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function ereg ($pattern, $string, array &$regs = null) {}
@ -58,8 +57,7 @@ function ereg ($pattern, $string, array &$regs = null) {}
* </p>
* @return string The modified string is returned. If no matches are found in
* <i>string</i>, then it will be returned unchanged.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function ereg_replace ($pattern, $replacement, $string) {}
@ -92,8 +90,7 @@ function ereg_replace ($pattern, $replacement, $string) {}
* <p>
* If the optional parameter <i>regs</i> was not passed or
* the length of the matched string is 0, this function returns 1.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function eregi ($pattern, $string, array &$regs = null) {}
@ -118,8 +115,7 @@ function eregi ($pattern, $string, array &$regs = null) {}
* </p>
* @return string The modified string is returned. If no matches are found in
* <i>string</i>, then it will be returned unchanged.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function eregi_replace ($pattern, $replacement, $string) {}

View File

@ -996,8 +996,7 @@ function get_cfg_var ($option) {}
* @link https://php.net/manual/en/function.magic-quotes-runtime.php
* @deprecated 5.3
* @param $new_setting
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function magic_quotes_runtime ($new_setting) {}
@ -1010,8 +1009,7 @@ function magic_quotes_runtime ($new_setting) {}
* </p>
* @return bool true on success or false on failure.
* @deprecated 5.4 This function has been DEPRECATED as of PHP 5.4.0. Raises an E_CORE_ERROR.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function set_magic_quotes_runtime ($new_setting) {}

View File

@ -58,9 +58,8 @@ function call_user_func_array ($function, array $param_arr) {}
* @param object $obj
* @param mixed $parameter [optional]
* @param mixed $_ [optional]
* @return mixed
* @since 4.0
* @since 5.0
* @return mixed
* @removed 7.0
*/
function call_user_method ($method_name, &$obj, $parameter = null, $_ = null) {}
@ -72,8 +71,7 @@ function call_user_method ($method_name, &$obj, $parameter = null, $_ = null) {}
* @param object $obj
* @param array $params
* @return mixed
* @since 4.0.5
* @since 5.0
* @removed 7.0
*/
function call_user_method_array ($method_name, &$obj, array $params) {}

View File

@ -794,8 +794,7 @@ function set_file_buffer ($fp, $buffer) {}
* This affects calls like fgets() and fread() that read from the stream.
* In non-blocking mode an fgets() call will always return right away while in blocking mode it will wait for data to become available on the stream.
* @return bool Returns TRUE on success or FALSE on failure.
* @since 4.0
* @since 5.0
* @removed 7.0
*/
function set_socket_blocking ($socket, $mode) {}