> -----Original Message----- > From: [-^-!-%- [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php