note 25195 added to keyword.extends
| From: | nathan at ncyoung dot com | Date: | Fri, 13 Sep 2002 18:33:04 +0000 |
| Subject: | note 25195 added to keyword.extends | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36643@lists.php.net to get a copy of this message | ||
I ran into weird non-cross platform behavior. I used to (on unix server) include a file with a
class definition in it, then define a class that extends that, and it worked. On windows it did not
work but did not give me an error until I tried to instantiate the extending class.
If I made a wrapper file that included the file with the base class definition, then included the
file with the extending class definition, then it worked.
--
http://www.php.net/manual/en/keyword.extends.php
http://master.php.net/manage/user-notes.php?action=edit+25195
http://master.php.net/manage/user-notes.php?action=delete+25195
http://master.php.net/manage/user-notes.php?action=reject+25195