Re: Inconsistency in class definition/usage order
| From: | Joe Watkins | Date: | Fri, 05 Apr 2013 10:48:20 +0000 |
| Subject: | Re: Inconsistency in class definition/usage order | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66971@lists.php.net to get a copy of this message | ||
On 04/05/2013 11:39 AM, Madara Uchiha wrote:
After I saw this question on Stack Overflow: http://stackoverflow.com/questions/15688642/how-does-a-class-extension-or-interface-work, I realized that the guy was right. Is there an explanation for this, or is it just one of those things that got overlooked? Should something be done? (i.e. enforcing class usage only after definition?) Interfaces must be declared before being referenced.Joe