note 94275 deleted from language.oop5.abstract by thiago
| From: | thiago@php.net | Date: | Mon, 26 Oct 2009 19:08:06 +0000 |
| Subject: | note 94275 deleted from language.oop5.abstract by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162127@lists.php.net to get a copy of this message | ||
Note Submitter: Josh Hayden
----
To Michael McNally (16-Sep-2009 07:00):
With interfaces you may define methods, but you cannot define properties. If you try to define
properties, you will get an "Interfaces may not include member variables" fatal error:
<?php
interface myInterface
{
public abstract $testVar; // fatal error
}
?>