RE: [PHP] PHP 5 Usage: Possible Bug?
| From: | Ford, Mike [LSS] | Date: | Thu, 31 Jul 2003 14:21:28 +0000 |
| Subject: | RE: [PHP] PHP 5 Usage: Possible Bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157728@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: [-^-!-%- [mailto:monfort@engineering.sdsu.edu]
> Sent: 31 July 2003 05:46
>
> I came across the following inconsistency between PHP 4 and
> PHP 5 Build
> 2195(Jul 24 2003 20:10:21). The error makes sense. I am just curious
> about the version inconsistency. Is this due to a change in
> PHP 5 (as part
> of the class enhancements) or is it an oversight?
> For my information, please advise.
>
>
> ==Example==
> I can initiate a class before it is defined in version 4, but
> not in 5.
Yes, this is a design change between PHP4 and PHP5. Just get used to defining all your classes
before you instantiate them.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211