note 43866 deleted from language.oop by danbrown
| From: | danbrown@php.net | Date: | Sat, 07 Nov 2009 19:04:04 +0000 |
| Subject: | note 43866 deleted from language.oop by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162570@lists.php.net to get a copy of this message | ||
Note Submitter: catalin dot ivan at utoronto dot ca
----
Regarding defining class variables:
The 'var' statement can NOT take Heredoc definitions, i.e. the
"<<<MARKER" stuff (these may be somehow 'dynamic' as per warning
above).
You must assign them values within the class constructor if you must use Heredoc.