Don't use bugfix number in deprecation tag

This commit is contained in:
Svetlana.Zemlyanskaya 2019-10-02 15:14:57 +02:00
parent 5dca9dfa97
commit ed0b51f993
15 changed files with 45 additions and 45 deletions

View File

@ -152,7 +152,7 @@ function strncasecmp ($str1, $str2, $len) {}
* false.
* @since 4.0
* @since 5.0
* @deprecated 7.2.0 Use a foreach loop instead.
* @deprecated 7.2 Use a foreach loop instead.
*/
function each (array &$array) {}
@ -750,7 +750,7 @@ function get_defined_vars () {}
* @return string a unique function name as a string, or false on error.
* @since 4.0.1
* @since 5.0
* @deprecated 7.2.0 Use anonymous functions instead.
* @deprecated 7.2 Use anonymous functions instead.
*/
function create_function ($args, $code) {}

View File

@ -743,7 +743,7 @@ class PDO {
const MYSQL_ATTR_SSL_VERIFY_SERVER_CERT = 1016;
/**
* @deprecated 5.6.0 Use PDO::ATTR_EMULATE_PREPARES instead.
* @deprecated 5.6 Use PDO::ATTR_EMULATE_PREPARES instead.
*/
const PGSQL_ASSOC = 1;
const PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT = 1000;

View File

@ -2016,7 +2016,7 @@ class ReflectionType
* @link https://php.net/manual/en/reflectiontype.tostring.php
* @return string Returns the type of the parameter.
* @since 7.0
* @deprecated 7.1.0:8.0.0 Please use getName()
* @deprecated 7.1 Please use getName()
* @see \ReflectionType::getName()
*/
public function __toString()

View File

@ -89,7 +89,7 @@ function exif_read_data ($stream, $sections = null, $arrays = false, $thumbnail
* @param $thumbnail [optional]
* @since 4.0.1
* @since 5.0
* @deprecated 7.2.0 Use {@see exif_read_data()} instead.
* @deprecated 7.2 Use {@see exif_read_data()} instead.
*/
function read_exif_data ($filename, $sections = null, $arrays = false, $thumbnail = false) {}

View File

@ -463,14 +463,14 @@ define ('FILTER_FLAG_ALLOW_SCIENTIFIC', 16384);
/**
* Require scheme in "validate_url" filter.
* @link https://php.net/manual/en/filter.constants.php
* @deprecated 7.3.0
* @deprecated 7.3
*/
define ('FILTER_FLAG_SCHEME_REQUIRED', 65536);
/**
* Require host in "validate_url" filter.
* @link https://php.net/manual/en/filter.constants.php
* @deprecated 7.3.0
* @deprecated 7.3
*/
define ('FILTER_FLAG_HOST_REQUIRED', 131072);

View File

@ -1928,7 +1928,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.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsloadfont ($filename) {}
@ -1941,7 +1941,7 @@ function imagepsloadfont ($filename) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsfreefont ($font_index) {}
@ -1960,7 +1960,7 @@ function imagepsfreefont ($font_index) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsencodefont ($font_index, $encodingfile) {}
@ -1976,7 +1976,7 @@ function imagepsencodefont ($font_index, $encodingfile) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsextendfont ($font_index, $extend) {}
@ -1992,7 +1992,7 @@ function imagepsextendfont ($font_index, $extend) {}
* @return bool true on success or false on failure.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsslantfont ($font_index, $slant) {}
@ -2067,7 +2067,7 @@ function imagepsslantfont ($font_index, $slant) {}
* Returns false on error.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 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) {}
@ -2101,7 +2101,7 @@ function imagepstext ($image, $text, $font_index, $size, $foreground, $backgroun
* Returns false on error.
* @since 4.0
* @since 5.0
* @deprecated 7.0.0 This function was REMOVED in PHP 7.0.0.
* @deprecated 7.0 This function was REMOVED in PHP 7.0.0.
*/
function imagepsbbox ($text, $font, $size) {}
@ -2137,7 +2137,7 @@ function imagetypes () {}
* @return bool true on success or false on failure.
* @since 4.0.5
* @since 5.0
* @deprecated 7.2.0 Use imagecreatefromjpeg() and imagewbmp() instead
* @deprecated 7.2 Use imagecreatefromjpeg() and imagewbmp() instead
*/
function jpeg2wbmp ($jpegname, $wbmpname, $dest_height, $dest_width, $threshold) {}
@ -2162,7 +2162,7 @@ function jpeg2wbmp ($jpegname, $wbmpname, $dest_height, $dest_width, $threshold)
* @return bool true on success or false on failure.
* @since 4.0.5
* @since 5.0
* @deprecated 7.2.0 Use imagecreatefrompng() and imagewbmp() instead
* @deprecated 7.2 Use imagecreatefrompng() and imagewbmp() instead
*/
function png2wbmp ($pngname, $wbmpname, $dest_height, $dest_width, $threshold) {}
@ -2180,7 +2180,7 @@ function png2wbmp ($pngname, $wbmpname, $dest_height, $dest_width, $threshold) {
* @return bool true on success or false on failure.
* @since 4.0.5
* @since 5.0
* @deprecated 7.3.0 Use imagewbmp() instead
* @deprecated 7.3 Use imagewbmp() instead
*/
function image2wbmp ($image, $filename = null, $threshold = null) {}

View File

@ -532,7 +532,7 @@ function gmp_sign ($a) {}
* @return resource|GMP A random GMP number.
* @since 4.0.4
* @since 5.0
* @deprecated 7.2.0 Use {@see gmp_random_bits()} or {@see gmp_random_range()} instead.
* @deprecated 7.2 Use {@see gmp_random_bits()} or {@see gmp_random_range()} instead.
*/
function gmp_random ($limiter = 20) {}

View File

@ -6075,7 +6075,7 @@ define ('IDNA_NONTRANSITIONAL_TO_UNICODE', 32);
* Use IDNA 2003 algorithm in {@see idn_to_utf8} and
* {@see idn_to_ascii}. This is the default.
* @link https://php.net/manual/en/intl.constants.php
* @deprecated 7.2.0 Use {@see INTL_IDNA_VARIANT_UTS46} instead.
* @deprecated 7.2 Use {@see INTL_IDNA_VARIANT_UTS46} instead.
*/
define ('INTL_IDNA_VARIANT_2003', 0);

View File

@ -371,7 +371,7 @@ function mdecrypt_generic ($td, $data) {}
* @link https://php.net/manual/en/function.mcrypt-generic-end.php
* @param resource $td
* @return bool
* @deprecated 5.4.0 This function has been DEPRECATED as of PHP 5.4.0.
* @deprecated 5.4 This function has been DEPRECATED as of PHP 5.4.0.
* @since 4.0.2
* @since 5.1.6
*/

View File

@ -187,7 +187,7 @@ function mysql_unbuffered_query ($query, $link_identifier = null) {}
/**
* Selects a database and executes a query on it
* @link https://php.net/manual/en/function.mysql-db-query.php
* @deprecated 5.3.0 Use mysql_select_db() and mysql_query() instead
* @deprecated 5.3 Use mysql_select_db() and mysql_query() instead
* @param string $database <p>
* The name of the database that will be selected.
* </p>
@ -215,7 +215,7 @@ function mysql_db_query ($database, $query, $link_identifier = null) {}
* failure. Use the <b>mysql_tablename</b> function to traverse
* this result pointer, or any function for result tables, such as
* <b>mysql_fetch_array</b>.
* @deprecated 5.4.0
* @deprecated 5.4
* @since 4.0
* @since 5.0
*/
@ -234,7 +234,7 @@ function mysql_list_dbs ($link_identifier = null) {}
* Use the <b>mysql_tablename</b> function to
* traverse this result pointer, or any function for result tables,
* such as <b>mysql_fetch_array</b>.
* @deprecated 5.2.0
* @deprecated 5.2
* @since 4.0
* @since 5.0
*/
@ -648,7 +648,7 @@ function mysql_field_flags ($result, $field_offset) {}
/**
* Escapes a string for use in a mysql_query
* @link https://php.net/manual/en/function.mysql-escape-string.php
* @deprecated 5.3.0 Use mysql_real_escape_string() instead
* @deprecated 5.3 Use mysql_real_escape_string() instead
* @param string $unescaped_string <p>
* The string that is to be escaped.
* </p>
@ -795,7 +795,7 @@ function mysql_set_charset ($charset, $link_identifier = null) {}
* @param $database_name
* @param $query
* @param $link_identifier [optional]
* @deprecated 5.3.0 Use mysql_db_query instead.
* @deprecated 5.3 Use mysql_db_query instead.
*/
function mysql ($database_name, $query, $link_identifier) {}

View File

@ -5,7 +5,7 @@
/**
* Regular expression match
* @link https://php.net/manual/en/function.ereg.php
* @deprecated 5.3.0 Use preg_match() instead
* @deprecated 5.3 Use preg_match() instead
* @param string $pattern <p>
* Case sensitive regular expression.
* </p>
@ -40,7 +40,7 @@ function ereg ($pattern, $string, array &$regs = null) {}
/**
* Replace regular expression
* @link https://php.net/manual/en/function.ereg-replace.php
* @deprecated 5.3.0 Use preg_replace() instead
* @deprecated 5.3 Use preg_replace() instead
* @param string $pattern <p>
* A POSIX extended regular expression.
* </p>
@ -66,7 +66,7 @@ function ereg_replace ($pattern, $replacement, $string) {}
/**
* Case insensitive regular expression match
* @link https://php.net/manual/en/function.eregi.php
* @deprecated 5.3.0 Use preg_match() instead
* @deprecated 5.3 Use preg_match() instead
* @param string $pattern <p>
* Case insensitive regular expression.
* </p>
@ -100,7 +100,7 @@ function eregi ($pattern, $string, array &$regs = null) {}
/**
* Replace regular expression case insensitive
* @link https://php.net/manual/en/function.eregi-replace.php
* @deprecated 5.3.0 Use preg_replace() instead
* @deprecated 5.3 Use preg_replace() instead
* @param string $pattern <p>
* A POSIX extended regular expression.
* </p>
@ -126,7 +126,7 @@ function eregi_replace ($pattern, $replacement, $string) {}
/**
* Split string into array by regular expression
* @link https://php.net/manual/en/function.split.php
* @deprecated 5.3.0 Use preg_split() instead
* @deprecated 5.3 Use preg_split() instead
* @param string $pattern <p>
* Case sensitive regular expression.
* </p>
@ -169,7 +169,7 @@ function split ($pattern, $string, $limit = -1) {}
/**
* Split string into array by regular expression case insensitive
* @link https://php.net/manual/en/function.spliti.php
* @deprecated 5.3.0 Use preg_split() with the 'i' modifier instead
* @deprecated 5.3 Use preg_split() with the 'i' modifier instead
* @param string $pattern <p>
* Case insensitive regular expression.
* </p>
@ -212,7 +212,7 @@ function spliti ($pattern, $string, $limit = -1) {}
/**
* Make regular expression for case insensitive match
* @link https://php.net/manual/en/function.sql-regcase.php
* @deprecated 5.3.0
* @deprecated 5.3
* @param string $string <p>
* The input string.
* </p>

View File

@ -124,7 +124,7 @@ function session_decode ($data) {}
* </p>
* @param mixed $_ [optional]
* @return bool true on success or false on failure.
* @deprecated 5.3.0 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @since 4.0
* @since 5.0
*/
@ -137,7 +137,7 @@ function session_register ($name, $_ = null) {}
* The variable name.
* </p>
* @return bool true on success or false on failure.
* @deprecated 5.3.0 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @since 4.0
* @since 5.0
*/
@ -152,7 +152,7 @@ function session_unregister ($name) {}
* @return bool <b>session_is_registered</b> returns true if there is a
* global variable with the name <i>name</i> registered in
* the current session, false otherwise.
* @deprecated 5.3.0 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @since 4.0
* @since 5.0
*/

View File

@ -1,7 +1,7 @@
<?php
/**
* @deprecated 5.3.0 since 5.3.0
* @deprecated 5.3
* Loads a PHP extension at runtime
* @link https://php.net/manual/en/function.dl.php
* @param string $library <p>

View File

@ -994,7 +994,7 @@ function get_cfg_var ($option) {}
/**
* &Alias; <function>set_magic_quotes_runtime</function>
* @link https://php.net/manual/en/function.magic-quotes-runtime.php
* @deprecated 5.3.0
* @deprecated 5.3
* @param $new_setting
* @since 4.0
* @since 5.0
@ -1004,7 +1004,7 @@ function magic_quotes_runtime ($new_setting) {}
/**
* Sets the current active configuration setting of magic_quotes_runtime
* @link https://php.net/manual/en/function.set-magic-quotes-runtime.php
* @deprecated 5.3.0
* @deprecated 5.3
* @param bool $new_setting <p>
* false for off, true for on.
* </p>

View File

@ -31,7 +31,7 @@ $_COOKIE = array();
*/
$_ENV = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_ENV_VARS = array();
@ -48,7 +48,7 @@ $HTTP_ENV_VARS = array();
*/
$_FILES = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_POST_FILES = array();
@ -65,7 +65,7 @@ $HTTP_POST_FILES = array();
*/
$_GET = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_GET_VARS = array();
@ -82,7 +82,7 @@ $HTTP_GET_VARS = array();
*/
$_POST = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_POST_VARS = array();
@ -118,7 +118,7 @@ $_REQUEST = array();
*/
$_SERVER = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_SERVER_VARS = array();
@ -173,7 +173,7 @@ $_SERVER['ORIG_PATH_INFO'] = '';
*/
$_SESSION = array();
/**
* @deprecated 4.1.0
* @deprecated 4.1
*/
$HTTP_SESSION_VARS = array();
@ -205,7 +205,7 @@ $argv = array();
* <p><a href="https://secure.php.net/manual/en/reserved.variables.php">
* https://secure.php.net/manual/en/reserved.variables.php</a>
*
* @deprecated 5.6.0 Deprecated as of PHP 5.6.0. Use the php://input stream instead.
* @deprecated 5.6 Deprecated as of PHP 5.6.0. Use the php://input stream instead.
*/
$HTTP_RAW_POST_DATA = '';