y to ExcludeList]] (Created 2020-06-09)
* [[rfc:deprecated_attribute|#[\Deprecated] Attribute]]\\ This RFC proposes an attribute to mark declarations as deprecated (Created 2020-05-07)
* [[rfc:var-export-array-s... Deprecations for PHP 7.4]] \\ Functionality to be deprecated in PHP 7.4. (Discussion started: 2019-06-21)
*
on is provided in the Proposal section:
* Soft-deprecated <php>DOMDocument</php> and <php>DOMEntity</php> p... ation in PHP 8.4 and removal in PHP 9.
==== Soft-deprecated DOMDocument and DOMEntity properties ====
Author...
The following properties have already been soft-deprecated for a long time:
* ''DOMDocument::$actualEncodi... dArray::__wakeup()</php> is pointless and such be deprecated.
<doodle title="Deprecate SplFixedArray::__wakeu
====== PHP RFC: #[\Deprecated] Attribute ======
* Version: 1.4
* Date: 2024-05-04
* Author: Benjamin Eb... n
* First Published at: http://wiki.php.net/rfc/deprecated_attribute
===== Introduction =====
PHP’s intern... functions and (class-)constants can be marked as deprecated, making this information available to Reflection and emitting deprecation errors (<php>E_DEPRECATED</php>), but there is no //equivalent// functional
g
Changing any of the following settings will be deprecated:
* <php>session.use_only_cookies</php>
* <ph... t()</php> to their non-default value will also be deprecated.
The constant <php>SID</php> will also be deprecated as part of this RFC. The standalone proposal to deprec... omatic rewriting of URLs to add PHPSESSID will be deprecated.
The hack which allows for manual control of th
Error.
<code php>
//PHP 8.4
var_dump(0 ** -1); //Deprecated: Zero raised to a negative power is deprecated
var_dump(0 ** -1.1); //Deprecated: Zero raised to a negative power is deprecated
var_dump(pow(0, -1)); //Deprecated: Zero raised to a negativ