This is a discussion on RE: [PHP] PHP 5 Usage: Possible Bug? within the PHP General forums, part of the PHP Programming Forums category; > -----Original Message----- > From: [-^-!-%- [mailto:monfort@engineering.sdsu.edu] > Sent: 31 July 2003 05:46 > > I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> -----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 |