Bluehost.com Web Hosting $6.95

RE: [PHP] PHP 5 Usage: Possible Bug?

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2003
Mike Ford
 
Posts: n/a
Default RE: [PHP] PHP 5 Usage: Possible Bug?

> -----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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0