note 96885 added to language.oop5.properties
| From: | Anonymus at osu1 dot php dot net | Date: | Sun, 21 Mar 2010 12:23:49 +0000 |
| Subject: | note 96885 added to language.oop5.properties | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167261@lists.php.net to get a copy of this message | ||
Why does
public $var = array(1,2,3);
work, but why does not
protected $var = dirname(__FILE__);
? Isn't this practically the same?
----
Server IP: 69.147.83.197
Probable Submitter: 91.19.196.162
----
Manual Page -- http://www.php.net/manual/en/language.oop5.properties.php
Edit -- https://master.php.net/note/edit/96885
Del: integrated -- https://master.php.net/note/delete/96885/integrated
Del: useless -- https://master.php.net/note/delete/96885/useless
Del: bad code -- https://master.php.net/note/delete/96885/bad+code
Del: spam -- https://master.php.net/note/delete/96885/spam
Del: non-english -- https://master.php.net/note/delete/96885/non-english
Del: in docs -- https://master.php.net/note/delete/96885/in+docs
Del: other reasons-- https://master.php.net/note/delete/96885
Reject -- https://master.php.net/note/reject/96885
Search -- https://master.php.net/manage/user-notes.php