diff --git a/language-snippets.ent b/language-snippets.ent index fbac1d5b12cb..8b4e7be1cea4 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -3,20 +3,8 @@ - 4.2.0The random number generator is seeded automatically.'> - -This feature has been -DEPRECATED as of PHP 5.3.0. Relying on this feature is -highly discouraged.'> - -This function has been -DEPRECATED as of PHP 5.3.0. Relying on this feature is -highly discouraged.'> - @@ -95,7 +83,6 @@ an underscore, but instead fails to extract such files.'> Instead of a function name, an array containing an object reference and a method name can also be supplied.'> - Callbacks registered with functions such as call_user_func and call_user_func_array will not be called if there is an uncaught exception thrown in a previous callback.'> @@ -104,11 +91,6 @@ called if there is an uncaught exception thrown in a previous callback.'> -Because this function depends on the -current scope to determine parameter details, it cannot be used as a -function parameter in versions prior to 5.3.0. If this value must be passed, the results should be assigned -to a variable, and that variable should be passed.'> - As of PHP 8.0.0, the func_*() family of functions is intended to be mostly transparent with regard to named arguments, by treating the arguments as if they were all passed positionally, @@ -231,7 +213,6 @@ the output of this function, and save it in a See also the .'> - When allowing user-supplied data to be @@ -249,45 +230,20 @@ This extension should be used at your own risk.'> -This feature has been -DEPRECATED as of PHP 5.3.0. Relying on this feature -is highly discouraged.'> - This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.'> - -This function has been -DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.'> - -This feature has been -DEPRECATED as of PHP 5.5.0. Relying on this feature -is highly discouraged.'> - This feature has been DEPRECATED as of PHP 5.6.0. Relying on this feature is highly discouraged.'> -This feature has been -DEPRECATED as of PHP 7.0.0. Relying on this feature -is highly discouraged.'> - This feature has been DEPRECATED as of PHP 7.1.0. Relying on this feature is highly discouraged.'> -This function has been -DEPRECATED as of PHP 7.1.0. Relying on this function -is highly discouraged.'> - This function has been DEPRECATED as of PHP 7.0.0 and @@ -304,17 +260,11 @@ is highly discouraged.'> xmlns="http://docbook.org/ns/docbook">This feature has been DEPRECATED as of PHP 7.2.0. Relying on this feature is highly discouraged.'> - This feature has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. Relying on this feature is highly discouraged.'> -This function has been -DEPRECATED as of PHP 7.2.0. Relying on this function -is highly discouraged.'> - This function has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. Relying on this function @@ -325,26 +275,15 @@ xmlns="http://docbook.org/ns/docbook">This feature has been DEPRECATED as of PHP 7.3.0. Relying on this feature is highly discouraged.'> -This function has been -DEPRECATED as of PHP 7.3.0. Relying on this function -is highly discouraged.'> - This function has been DEPRECATED as of PHP 7.3.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.'> -This feature has been -DEPRECATED as of PHP 7.4.0. Relying on this feature -is highly discouraged.'> - This function has been DEPRECATED as of PHP 7.4.0. Relying on this function is highly discouraged.'> - This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function @@ -384,11 +323,6 @@ xmlns="http://docbook.org/ns/docbook">This function has been DEPRECATED as of PHP 8.3.0. Relying on this function is highly discouraged.'> -This feature has been -DEPRECATED as of PHP 8.4.0. Relying on this feature -is highly discouraged.'> - This function has been DEPRECATED as of PHP 8.4.0. Relying on this function @@ -407,54 +341,12 @@ is highly discouraged.'> will certainly be removed in the future.'> -This function has been -DEPRECATED and REMOVED as of PHP 5.3.0.'> - -This function has been -DEPRECATED and REMOVED as of PHP 5.5.0.'> - - -This alias has been DEPRECATED as of PHP 5.3.0. Relying -on this alias is highly discouraged.'> - - -This function has been DEPRECATED as of PHP 5.4.0. Relying -on this function is highly discouraged.'> - This alias has been DEPRECATED as of PHP 5.4.0. Relying on this alias is highly discouraged.'> - -This function has been DEPRECATED as of PHP 5.5.0. Relying -on this function is highly discouraged.'> - -This feature was -DEPRECATED in PHP 5.5.0, and REMOVED as of PHP 7.0.0.'> - -This function was -DEPRECATED in PHP 5.5.0, and REMOVED as of PHP 7.0.0.'> - -This function was -DEPRECATED in PHP 4.1.0, and REMOVED as of PHP 7.0.0.'> - -This function was -DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.'> - This alias was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.'> - -This feature was -DEPRECATED in PHP 5.6.0, and -REMOVED as of PHP 7.0.0.'> - This function was REMOVED in PHP 7.0.0.'> @@ -519,82 +411,14 @@ warning. When using fsockopen to create an ssl:// socket, the developer is responsible for detecting and suppressing this warning.'> - - - This class is currently undocumented; only a list of its properties and - methods is available. - - -'> - This function is currently not documented; only its argument list is available. '> - - - This function was DEPRECATED in PHP 4.1.0, and - REMOVED in PHP 7.0.0. - - - Alternatives to this function include: - -'> - - - This feature was DEPRECATED in PHP 5.3.0, and - REMOVED in PHP 7.0.0. - - - Alternatives to this feature include: - -'> - - - This function was DEPRECATED in PHP 5.3.0, and - REMOVED in PHP 7.0.0. - - - Alternatives to this function include: - -'> - - - This function was DEPRECATED in PHP 5.5.0, and - REMOVED in PHP 7.0.0. - - - Alternatives to this function include: - -'> - - - This feature was REMOVED in PHP 7.0.0. - - - Alternatives to this feature include: - -'> - - - This function was REMOVED in PHP 7.0.0. - - - Alternatives to this function include: - -'> - This feature was DEPRECATED in PHP 7.1.0, and @@ -628,8 +452,6 @@ is highly discouraged. - - This function has no parameters.'> The above example will output:'> @@ -637,9 +459,7 @@ is highly discouraged. Output of the above example in PHP 5:'> Output of the above example in PHP 5.3:'> - Output of the above example in PHP 5.4:'> - Output of the above example in PHP 5.5:'> Output of the above example in PHP 5.6:'> @@ -650,8 +470,6 @@ is highly discouraged. Output of the above example in PHP 7.1:'> -Output of the above example in PHP 7.2:'> - Output of the above example in PHP 7.3:'> Output of the above example in PHP 8:'> @@ -674,8 +492,6 @@ is highly discouraged. Output of the above example in PHP 8.4 is similar to:'> -Output of the above example in PHP 8.5:'> - Output of the above example in PHP 8.5 is similar to:'> Output of the above example on 32 bit machines:'> @@ -687,10 +503,6 @@ something similar to:'> The above examples will output:'> -Output of the above examples on 32 bit machines:'> - -Output of the above examples on 64 bit machines:'> - The above examples will output something similar to:'> @@ -813,11 +625,6 @@ deprecated alias may be used: '> -This function alias is -deprecated and only exists for backwards compatibility reasons. The use of this -function is not recommended, as it may be removed from PHP in the future. -'> - DLL files that must be available to the Windows system PATH. For information on how to do this, see the @@ -944,19 +751,7 @@ function.'> '> - - key - - - See Public/Private Key parameters for a list of valid values. - - -'> - -This function is only available -if PHP is compiled using . -'> This function is only available if PHP is compiled with freetype support () @@ -1106,10 +901,6 @@ $font = 'SomeFont'; Used together with imagesetinterpolation, available as of PHP 5.5.0. '> - - 7.0.0T1Lib support was removed from PHP, thus this function was removed. -'> - The GD and GD2 image formats are proprietary image formats of libgd. They have to be regarded obsolete, and should only be used for development and testing @@ -1133,12 +924,6 @@ purposes.'> The default value will change in a future version of PHP, no earlier than PHP 9.0. '> - - - -dbm_identifierThe DBM link identifier, -returned by dbmopen.'> - dbmopen.'> imapAn IMAP\Connection instance.'> - -imapAn IMAP stream returned by -imap_open.'> Specifies where in the mailbox hierarchy to start searching.There are two special characters you can @@ -1436,18 +1218,10 @@ encoding value will be used.'> One of the MCRYPT_ciphername constants, or the name of the algorithm as string.'> -Used for the initialization in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. If you do not supply an IV, while it is needed for an algorithm, the function issues a warning and uses an IV with all its bytes set to "\0".'> - Used for the initialization in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. If the provided IV size is not supported by the chaining mode or no IV was provided, but the chaining mode requires one, the function will emit a warning and return &false;.'> One of the MCRYPT_MODE_modename constants, or one of the following strings: "ecb", "cbc", "cfb", "ofb", "nofb" or "stream".'> - - - -connAn MCVE_CONN resource returned by -m_initengine.'> - @@ -1552,8 +1326,6 @@ encoding value will be used.'> - - @@ -1637,12 +1409,6 @@ Furthermore, these timezones may be removed from the IANA timezone database at a Australia/Perth for the above examples. '> - -These timezone abbreviations have to be regarded as highly volatile, i.e. they -might be different for each timezonedb release, and should not be relied upon. -It is strongly recommended to avoid timezone abbreviations. -'> - Every call to a date/time function will generate a E_WARNING if the time zone is not valid. See also date_default_timezone_set'> @@ -1650,7 +1416,6 @@ if the time zone is not valid. See also date_default_timezone_set5.1.0 Now issues the E_STRICT and E_NOTICE time zone errors.'> - timestamp The optional timestamp parameter is an @@ -1672,9 +1437,7 @@ The function modifies this object.'> objectProcedural style only: A DateTimeZone object returned by timezone_open'> -DateTime object for method chaining&return.falseforfailure;.'> DateTime object for method chaining.'> -DateTimeImmutable object with the modified data &return.falseforfailure;.'> DateTimeImmutable object with the modified data.'> @@ -1690,7 +1453,6 @@ returned by timezone_open - Date and Time Formats.'> @@ -1758,12 +1520,9 @@ it is inserted with (e.g.) DOMNo '> - - The following examples use book.xml which contains the following: - fopen.'> The fingerprint key.'> - -Throws a HaruException on error.'> - The ODBC connection object, see odbc_connect for details.'> @@ -2148,7 +1904,6 @@ increasing oci8.default_prefetchoci_set_prefetch. '> - A valid OCI8 statement identifier created by oci_parse and executed @@ -2168,7 +1923,6 @@ pdf by either Acrobat Distiller™ or Ghostview.'> This function is affected by open_basedir.'> - Because this is a language construct and not a function, it cannot be called using variable functions, @@ -2187,8 +1941,6 @@ functions; they are part of the PHP core.'> Here's a short explanation of the configuration directives.'> - - The behaviour of these functions is affected by settings in &php.ini;. @@ -2209,13 +1961,6 @@ been compiled into PHP or dynamically loaded at runtime. The constants below are always available as part of the PHP core. '> - - -The classes below are defined by this extension, and -will only be available when the extension has either -been compiled into PHP or dynamically loaded at runtime. -'> - The constants below are defined by this driver, and will only be available when the extension has been either @@ -2242,8 +1987,6 @@ is set to PDO::ERRMODE_EXCEPTION. - - Installation of PECL extensions. Additional information such as new releases, @@ -2266,8 +2009,6 @@ section.'> DLL files) for this PECL extension are available from the PECL website.'> - - @@ -2346,13 +2087,11 @@ while PGSQL_BOTH will return both numerical and associative - The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.'> -safe mode'> SQL safe mode'> @@ -2444,36 +2183,6 @@ a primary PHP FastCGI implementation containing some features (mostly) useful fo iterative properties to most methods. They cannot be viewed using var_dump or anything else which can examine objects.'> - -The column names returned by -SQLITE_ASSOC and SQLITE_BOTH will be -case-folded according to the value of the -sqlite.assoc_case configuration -option.'> - -When the decode_binary -parameter is set to &true; (the default), PHP will decode the binary encoding -it applied to the data if it was encoded using the -sqlite_escape_string. You should normally leave this -value at its default, unless you are interoperating with databases created by -other sqlite capable applications.'> - -This function cannot be used with -unbuffered result handles.'> - -Two alternative syntaxes are -supported for compatibility with other database extensions (such as MySQL). -The preferred form is the first, where the dbhandle -parameter is the first parameter to the function.'> - -The optional result_type -parameter accepts a constant and determines how the returned array will be -indexed. Using SQLITE_ASSOC will return only associative -indices (named fields) while SQLITE_NUM will return -only numerical indices (ordinal field numbers). SQLITE_BOTH -will return both associative and numerical indices. -SQLITE_BOTH is the default for this function.'> - Field names returned by this function are case-sensitive.'> @@ -2481,7 +2190,6 @@ are case-sensitive.'> This function sets NULL fields to the PHP &null; value.'> - link_identifierThe MySQL connection. If the @@ -2534,12 +2242,6 @@ Instead, use either the actively developed MySQLiMySQL: choosing an API guide. Alternatives to this function include:'> -This function was deprecated in PHP 5.5.0, and it -and the entire original MySQL extension was removed in PHP 7.0.0. -Instead, use either the actively developed MySQLi or PDO_MySQL extensions. -See also the MySQL: choosing an API guide. -Alternatives to this function include:'> - Open non-persistent MySQL connections and result sets are automatically destroyed when a PHP script finishes its execution. So, while explicitly closing open @@ -2563,21 +2265,6 @@ brackets—for example, tcp://[fe80::1]:80.' Tidy object.'> -The config parameter -can be passed either as an array or as a string. If a string is passed, -it is interpreted as the name of the configuration file, otherwise, it is -interpreted as the options themselves. Check -&url.tidy.conf; -for an explanation about each option.The -encoding parameter sets the encoding for input/output -documents. The possible values for encoding are: -ascii, latin0, latin1, -raw, utf8, iso2022, -mac, win1252, ibm858, -utf16, utf16le, -utf16be, big5 and -shiftjis.'> - We do not recommend using a threaded MPM in production with Apache 2. Use the prefork MPM, which is @@ -2690,9 +2377,6 @@ The XMLWriter instance that is being modified. This objec - - - @@ -2703,14 +2387,10 @@ The XMLWriter instance that is being modified. This objec - - - - @@ -2831,7 +2511,6 @@ property is updated if a valid context is passed to the caller function.StreamBucket instance now; previously, an stdClass was returned.'> - GmagickException on error.'> @@ -2881,7 +2560,6 @@ to be references, then they must be references in the passed argument list.'> Win32 Error Code on failure.'> - WIN32_NO_ERROR on success&win32service.false.error;'> @@ -3026,7 +2704,6 @@ paths TRADER_MA_TYPE_* series of constants should be used.'> TRADER_MA_TYPE_* series of constants should be used.'> TRADER_MA_TYPE_* series of constants should be used.'> -TRADER_MA_TYPE_* series of constants should be used.'> TRADER_MA_TYPE_* series of constants should be used.'> TRADER_MA_TYPE_* series of constants should be used.'> TRADER_MA_TYPE_* series of constants should be used.'> @@ -3734,7 +3411,6 @@ local: { Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged.'> - @@ -4455,18 +4131,6 @@ local: { '> - - 5.6.0 - - The default value for the encoding parameter was - changed to be the value of the - default_charset configuration - option. - - -'> - 8.2.0 @@ -4636,30 +4300,6 @@ local: { '> - - - - filter - - - The filter to apply. - Can be a validation filter by using one of the - FILTER_VALIDATE_* - constants, a sanitization filter by using one of the - FILTER_SANITIZE_* - or FILTER_UNSAFE_RAW, or a custom filter by using - FILTER_CALLBACK. - - - The default is FILTER_DEFAULT, - which is an alias of FILTER_UNSAFE_RAW. - This will result in no filtering taking place by default. - - - -'> -