note 9521 added to Classes and Objects
| From: | monsy2 at yahoo dot com | Date: | Wed, 08 Nov 2000 22:33:21 +0000 |
| Subject: | note 9521 added to Classes and Objects | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7508@lists.php.net to get a copy of this message | ||
It seems that when you use "extends", the definition of the extended classe must precede
the use of "new", otherwise it whon't work.
Which is not the case with a not extended class. (php4)
http://www.php.net/manual/language.oop.php