# About RFC for deprecated modifier

- Thread: https://externals.io/message/72001
- Original archive: https://news-web.php.net/php.internals/72001
- Started by Kevin Ingwersen on 2014-02-02T16:43:25+00:00
- Messages: 4
- RFC: Add a deprecated modifier for functions (Obsolete) — https://externals.io/rfc/deprecated-modifier.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #72001 — Kevin Ingwersen — 2014-02-02T16:43:25+00:00

URL: https://externals.io/message/72001#72001

Hello there!

I just wanted to ask what the current status for this RFC is: https://wiki.php.net/rfc/deprecated-modifier

Currently, I am just browsing thru the RFCs available. Some of them have actually been implemented (There is one about the $foo=(new bar)->baz syntax thats still listed as in discussion).

Kind regards, Ingwie

---

## #72005 — Sara Golemon — 2014-02-02T17:29:04+00:00

URL: https://externals.io/message/72001#72005 · In reply to: #72001

On Sun, Feb 2, 2014 at 8:43 AM, Kevin Ingwersen
<ingwie2000@googlemail.com> wrote:
> I just wanted to ask what the current status for this RFC is: https://wiki.php.net/rfc/deprecated-modifier
>
I'd ask Yussuf, but given that it's > 1 year old I'd call the RFC
abandoned (until I heard otherwise).

That said, I'd be inclined to introduce annotation first, then make
"Deprecated" an official annotation which the engine recognized in the
way the RFC describes.

> Currently, I am just browsing thru the RFCs available. Some of them have actually been implemented (There is one about the $foo=(new bar)->baz syntax thats still listed as in discussion).
>
That one probably just needs a quick vote.

-Sara

---

## #72007 — Rasmus Lerdorf — 2014-02-02T17:37:43+00:00

URL: https://externals.io/message/72001#72007 · In reply to: #72005

> On Sun, Feb 2, 2014 at 8:43 AM, Kevin Ingwersen
> <ingwie2000@googlemail.com> wrote:
> > […]
> That one probably just needs a quick vote.

That'd be a weird vote since it was implemented years ago and shipped
with PHP 5.4.0:

php > echo `phpversion()`;
5.4.20
php > class bar { function baz() { echo 'eh?'; } }
php > $foo = (new bar)->baz();
eh?

---

## #72009 — Sara Golemon — 2014-02-02T17:41:25+00:00

URL: https://externals.io/message/72001#72009 · In reply to: #72007

> 
> > […]
>
> That'd be a weird vote since it was implemented years ago and shipped
> with PHP 5.4.0:
>
Hah.  That was my initial thought, but he mentioned it was "Under
Discussion" so I had a doubt.  Sometimes it's hard for me to remember
what's reached PHP and what hasn't.

-Sara
