Re: [PHP-DEV] Re: [RFC] Increment/Decrement Fixes

2021-09-01 Thread Nikita Popov
On Sun, Mar 8, 2020 at 8:31 PM Rowan Tommins wrote: > On 01/03/2020 21:23, Rowan Tommins wrote: > > https://wiki.php.net/rfc/increment_decrement_fixes > > > Hi all, > > I have just posted a substantially rewritten version of the above RFC. > > * The proposal to change boolean behaviour has been d

Re: [PHP-DEV] [DISCUSSION] ReflectionType::accepts

2021-09-01 Thread Nikita Popov
On Fri, Jan 29, 2021 at 11:16 AM Brent Roose wrote: > Hi Nikita > > I was indeed thinking about the former: acceptsValue; but I would excpect > that if the concrete value is a subtype of the current type, the fuction > would also return true. What I'm basically interested in: will this method > t