Re: Allow objects in define()

From: Date: Mon, 14 Jun 2021 16:02:03 +0000
Subject: Re: Allow objects in define()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-114867@lists.php.net to get a copy of this message
On Mon, Jun 14, 2021 at 5:02 PM Nikita Popov <nikita.ppv@gmail.com> wrote:

> In the future, we're going to switch these resources to be objects, so
> allowing them in constants would be necessary at that point at least.
> Actually, we already encountered this as a BC issue when switching some
> other resource types to objects.
>

Makes perfect sense, thanks!

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


Thread (9 messages)

« previous php.internals (#114867) next »