Re: [PHP] object vs functions

2002-12-28 Thread Mat Harris
t; In the last few months, I have shifted my own programming techniques to > use classes and I have found it tends to work better for almost every > situation. Personally, I wish I had found out about them sooner! > > Hope this helps, (And I hope it makes sense, as I'm writing at

RE: [PHP] object vs functions

2002-12-28 Thread Paul Reed
bout them sooner! Hope this helps, (And I hope it makes sense, as I'm writing at 4:05am!) Paul Reed. -Original Message- From: Mat Harris [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 21:18 To: [EMAIL PROTECTED] Subject: [PHP] object vs functions if i have a php script

[PHP] object vs functions

2002-12-27 Thread Mat Harris
if i have a php script containing some functions, then all i have to do is include() the file and then call the functions. if i had an object (taking the example from php.net): do_foo(); ?> what is the point of having the object, when i could just call the functions? what a