Re: DateTimeInterface is not a usable interface?

From: Date: Tue, 21 Jul 2015 11:14:50 +0000
Subject: Re: DateTimeInterface is not a usable interface?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-87219@lists.php.net to get a copy of this message
Hey Niktia, On 21 July 2015 at 11:05, Niktia Nefedov <inefedor@gmail.com> wrote: > There's a workaround though - it's to always call user-defined class's > method directly from built-in functions > That's not the workaround, that's the actual fix: the current fix breaks the OO model basics by introducing a limitation in the interface, rather than in the broken implementations. Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

« previous php.internals (#87219) next »