====== PHP RFC: #[\Deprecated] Attribute ======
* Version: 1.4
* Date: 2024-05-04
* Author: Benjamin Eb... 8
* 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
====== PHP RFC: Remove deprecated functionality in PHP 7 ======
* Date: 2014-09-11
* Author: Nikita Popov ... C proposes to remove functionality which has been deprecated during the 5.x cycle.
The following extensions are deprecated:
* ext/ereg (since PHP 5.3; use ext/pcre inste... extension]])
The following language features are deprecated:
* Assignment of ''new'' by reference (since P
====== Request for Comments: Add a deprecated modifier for functions ======
* Version: 1.0
* Date: 2012-12...
* First Published at: https://wiki.php.net/rfc/deprecated-modifier
===== Introduction =====
This RFC proposes the addition of a "deprecated" modifier for methods and functions giving the ZEND_ACC_DEPRECATED flag to functions, thus throwing an E_DEPRECATED
choices:
* **Short path**: a signature becomes deprecated in PHP 8.4 (or in PHP 8.3 when there is no need f... 0 at last.
* **Long path**: a signature becomes deprecated in PHP 8.4 (or in PHP 8.3 when there is no need f... 10.0.
* **No**: the signature should be neither deprecated, nor removed.
A few votes only include the "Shor... ion for more details.
**When will a signature be deprecated?**
When the "Short path" combined with the "Long
php.devel/76987
This RFC proposes to generate E_DEPRECATED errors when connecting to a MySQL database with t... cted.
<doodle title="Should ext/mysql generate E_DEPRECATED errors in PHP 5.5?" auth="user" voteType="single"... estion:
If the vote to make ext/mysql generate E_DEPRECATED errors is unsuccessful, what course of action do ... make the soft deprecation clearer, and generate E_DEPRECATED notices in PHP 5.6.
* **(b)** Enhance the manua
E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; html_errors
; Default Value: On
; Developm... values by
; reference at function call time is a deprecated feature which will be removed
; from PHP at some ... ER_NOTICE - user-generated notice message
; E_DEPRECATED - warn about code that will not work in futu... re versions
; of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common
p.net/rfc/deprecate_partially_supported_callables|Deprecated partially supported callables]] RFC and proposes ... p.net/rfc/deprecate_partially_supported_callables|Deprecated partially supported callables]] RFC was accepted ... returns `false`
</code>
In PHP 9.0, for the now deprecated partially supported callables, the "state" will g... e deprecation notices will only be thrown for the deprecated callable syntaxes, not for any other invalid synt
longer allowed due to the new rules, will emit E_DEPRECATED warnings, but will still allow the values in and ... hen it is considered safe (PHP 8 or later), the E_DEPRECATED warnings will be upgraded to E_RECOVERABLE_ERROR ... es would have:
* Drupal 7 homepage: One new E_DEPRECATED warning, which seems to catch faulty-looking code... min interface (across the all pages): One new E_DEPRECATED warning, which again seems to catch a real bug –
l''. The latter is very rarely used and should be deprecated. This includes both the ''(real)'' type-cast and ... al)'' type-cast is used and mark ''is_real()'' as deprecated.
<doodle title="Deprecate (real) cast and is_rea... tes_gpc()'' and ''get_magic_quotes_runtime()'' as deprecated.
This should only impact legacy code bases prior ... TER_SANITIZE_MAGIC_QUOTES ====
Magic quotes were deprecated all the way back in PHP 5.3 and later removed in
fa81606c492c9a668b2160d9a|Formally deprecate Soft-deprecated DOMDocument and DOMEntity properties]]
* [[ht... he Proposal section:
* Formally deprecate Soft-deprecated <php>DOMDocument</php> and <php>DOMEntity</php> p... e otherwise noted).
==== Formally deprecate Soft-deprecated DOMDocument and DOMEntity properties ====
* Au... ll/15369
The following properties have been soft-deprecated for at least [[https://github.com/php/doc-en/comm
====== Request for Comments: E_USER_DEPRECATED ======
* Version: 1.0
* Date: 2008-07-18
* Author: Lars S... irst Published at: http://wiki.php.net/rfc/e-user-deprecated-warning
===== Introduction =====
In 5.3 we introduced E_DEPRECATED to mark internal functions/classes/syntax elements as deprecated with a separate error level.
The same deprecation
d have aliases for old names. Old names are _not_ deprecated.
There are many functions that named before nami... =
These are example manual pages after this RFC. Deprecated function names are untouched. Aliased old functio... a user method given with an array of parameters [deprecated]
* call_user_method — Call a user method on an specific object [deprecated]
====PHP Options and Information====
* http:/
ms it causes sufficiently high, that it should be deprecated and removed.
===== The Problem =====
The value ... document the fallback from bareword to string as deprecated in the manual
- In PHP 7.2, change the text of ... of undefined constant %s''
===== E_WARNING vs E_DEPRECATED =====
It might seem surprising to raise an ''E_W... h text suggesting deprecation, rather than an ''E_DEPRECATED''. This was chosen because we need to balance two