What Is Differences Between Objects And Classes In Php?
What Is Differences Between Objects And Classes In Php? Please let me help to know about that.
Objects are instances of classes. Classes represent a structure of properties and collection of methods.
A decent tutorial on the basic principles of object-oriented programming: http://docs.oracle.com/javase/tutori...pts/index.html
(Yes, it's a bit Java-oriented, but 99% of it is transferable to PHP.)
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
A good book is " PHP Advanced and Object-Oriented Programming" by Larry Ullman, it helped me out a lot.
Last edited by Strider64; 06-30-2013 at 08:13 AM.
Reason: My usual typos ;)
Refer the below link
Explained about Object and class with example.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)