note 102916 deleted from language.oop5.interfaces by danbrown
| From: | danbrown@php.net | Date: | Mon, 14 Mar 2011 22:14:41 +0000 |
| Subject: | note 102916 deleted from language.oop5.interfaces by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177872@lists.php.net to get a copy of this message | ||
Note Submitter: losinggeneration at gmail dot com
----
@thanhn2001
Classes can override const's when extending (classes or interfaces) but not when it implements
the interface. So the code you wrote does indeed work. Seems reasonable to believe this is the
intended behavior.