Re: Property Accessors v1.2
| From: | Amaury Bouchard | Date: | Sat, 13 Oct 2012 10:06:02 +0000 |
| Subject: | Re: Property Accessors v1.2 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63390@lists.php.net to get a copy of this message | ||
2012/10/13 Nikita Popov <nikita.ppv@gmail.com>
> interface Foo {
> // this is okay
> public $abc { get; set; }
>
> // this is invalid
> public $abc;
> }
>
Sorry, I missed something. Why the first should be correct but not the
second one?
For me it's exactly the same thing.