Re: Re: [VOTE] Userspace operator overloading

From: Date: Thu, 26 Mar 2020 02:49:44 +0000
Subject: Re: Re: [VOTE] Userspace operator overloading
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-109320@lists.php.net to get a copy of this message
On Wed, Mar 25, 2020 at 6:28 AM Christoph M. Becker <cmbecker69@gmx.de> wrote: > > It seems to me that the RFC is not sufficiently specific enough > regarding the concatenation of instances of classes which implement > __toString(). Exactly what I was thinking too. Would be nice with some examples on this. > So if we ever wanted to change the value of > PHP_OPERAND_TYPES_NOT_SUPPORTED, we'd introduce a BC break. Therefore > the constant's value likely will never change, so using NULL directly to > signal unsupported operand types would be fine, wouldn't it? Agree on this too.

« previous php.internals (#109320) next »