note 77121 added to language.oop5
| From: | innadiatedat_g_maildotcom at osu1 dot php dot net | Date: | Thu, 16 Aug 2007 07:25:27 +0000 |
| Subject: | note 77121 added to language.oop5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129515@lists.php.net to get a copy of this message | ||
@deimors:
The reason is that until you use the 'new' operator to create a new instance of a class,
the $this variable can not exist within anything the class will execute before it's initialized
and as well php does not allow non-scalar values to be used to initialize object properties with the
exception of an array initialized with all scalar values.
----
Server IP: 69.147.83.197
Probable Submitter: 216.210.100.168
----
Manual Page -- http://www.php.net/manual/en/language.oop5.php
Edit -- https://master.php.net/note/edit/77121
Del: integrated -- https://master.php.net/note/delete/77121/integrated
Del: useless -- https://master.php.net/note/delete/77121/useless
Del: bad code -- https://master.php.net/note/delete/77121/bad+code
Del: spam -- https://master.php.net/note/delete/77121/spam
Del: non-english -- https://master.php.net/note/delete/77121/non-english
Del: in docs -- https://master.php.net/note/delete/77121/in+docs
Del: other reasons-- https://master.php.net/note/delete/77121
Reject -- https://master.php.net/note/reject/77121
Search -- https://master.php.net/manage/user-notes.php