PHP Classes & Objects – Introduction to OOP PHP Programming

Upgrade your Clever Techie learning experience:

UPDATE! (9/13/19) New features and improvements for Clever Techie Patreons:

1. Download full source code with detailed comments – easy to learn and understand code
2. Weekly source code file updates by Clever Techie – every time I learn new things about a topic I will add it to the source file and let you know about the update – keep up with the latest coding technologies
3. Library of custom Clever Techie functions with descriptive, easy to understand comments – skyrocket coding productivity, code more efficiently by using Clever library of custom re-usable functions
4. Syntax code summary – memorize and review previously learned code faster
4. Organized file structure – access all Clever Techie lessons, source code, graphics, diagrams and cheat sheet from a single workspace – no more searching around for previously covered material and source code – save enormous amount of time and effort
5. Outline of topics the source file covers – fast review of all previously learned coding lessons
6. Access to all full HD 1080p videos with no ads
7. Console input examples – interactive examples that make it easier to understand and learn coding
8. Access to updated PHP Programming Book by Clever Techie
9. Early access to Clever Techie videos

Subscribe to Clever Techie patreon:

Learn the basics of PHP classes and objects in this object oriented (OOP) PHP programming video. I first go over the syntax and lingo like properties, methods, object operator and how to define a simple class with the mentioned attributes (a collection of properties and methods). I then define a class called Game with some properties and one method to print game information to the screen. You should have a good understanding of how classes and objects work in php after watching this video.

Hey guys, I’m now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie 🙂

Download this video’s files here:

( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! )


( Website ) – PHP, JavaScript, WordPress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.

( YouTube Channel )

( Google Plus ) – clever techie video tutorials.

( Facebook )

( Twitter )



Xem thêm bài viết khác:

24 thoughts on “PHP Classes & Objects – Introduction to OOP PHP Programming

  1. I find $this so confusing, I understand how you use it in your example if accessing a property of a method. But often I see something where the dart is used like this in CodeIgniter

    $this ->load -> view (“aboutus”)

    What does this mean? It seems just like you are saying load this view. So where are the properties or methods in this type of statement

  2. When someone understands something really good he can easily transfer knowledge to other people.
    Salute to you sir Clever Techie!

  3. Why we use classes in php? Please reply it's urgent. I have give interview and they ask, I don't know why use classes?

Leave a Reply

Your email address will not be published. Required fields are marked *