Re: [RFC] Default constructors

From: Date: Mon, 24 Nov 2014 15:49:42 +0000
Subject: Re: [RFC] Default constructors
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-79130@lists.php.net to get a copy of this message
Hi! > However, I thought about one more inconsistent. Your patch works fine > for "parent::" methods but not for "grandparents::" > In the following code "default constructor" won't work. Yes, this is OK - the support is only for one pattern, calling the parent, because it's what you're supposed to do. If you do anything else, it would work (or not work) as before since it's not the best practice so you're on your own. > It's not a big problem to fix implementation to support it, or may be > support for "parent::" is enough. > Anyway, it should be reflected in RFC (if this code should work or > should not). Sure, I'll add a note on RFC about it. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#79130) next »