FW: [PHP-NOTES] note 12845 added to language.oop.php
| From: | James Moore | Date: | Fri, 11 May 2001 19:00:29 +0000 |
| Subject: | FW: [PHP-NOTES] note 12845 added to language.oop.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3241@lists.php.net to get a copy of this message | ||
Can anyone verify this?? If it acts as I think the user implies it does its
a bug.
- James
> -----Original Message-----
> From: andrew@NOSPAM.mukau.net [mailto:andrew@NOSPAM.mukau.net]
> Sent: 11 May 2001 04:41
> To: php-notes@lists.php.net
> Subject: [PHP-NOTES] note 12845 added to language.oop.php
>
>
> Hi there... Something I noticed ...
>
> If you have a Class A which
> requires Class B (eg. require ('B.inc'); )
> If you have two more classes extending A:
> Class C extends A
> Class D extends A
> you may run into some problems if your script requires both C and
> D, - you will get an error saying you are redefining Class B.
> The solution is to require only class C or class D in a script.
>
> http://www.php.net/manual/en/language.oop.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail: php-notes-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net