Featured Posts

Writing Website Scrapers in PHPWriting Website Scrapers in PHP This article discusses about how to write a website scraper using PHP for web site data extraction. The concepts taught can be applied and programmed in Java, C#, etc. Basically any language that has a...

Readmore

12 common programming mistakes to avoid12 common programming mistakes to avoid Programming is an art and science and like all art and science the only way to learn is from mistakes. I have made many... and I would like to share with you the mistakes that I have made over my journey...

Readmore

7 habits of highly effective freelance programmers7 habits of highly effective freelance programmers I have developed these based on my freelancing experience. Though I have discontinued freelancing, but would like to share my practices with you. These are basic practices and have been developed over...

Readmore

  • Prev
  • Next

PHP Tutorial

I started working on PHP a long time ago. Unfortunately not many PHP tutorial were available that would explain the basics of PHP at that time. It is my vision to help the entire developer community to learn the concepts of PHP.

This page will consist of various articles and tutorials on PHP, e.g.: PHP5 Tutorial, PHP Examples, PHP Class, etc. Read on to find out.

I also invite you to sign up for my newsletters to keep yourself updated on PHP Tutorial and other technical posts that I write.

PHP5 Tutorial – Basics of PHP5 Class

1. How to create a PHP5 Class
2. How to Create a PHP5 Class Object
3. Defining Attributes of a PHP5 Class
4. Defining Methods of a PHP5 Class

PHP5 Constructor and Destructor

1. Creating a PHP5 Constructor __construct()
2. How to create a PHP5 Destructor __destruct()


Advance PHP5 Concepts

1. Public, private and protected Access Specifiers
2. $this variable explained
3. instanceOf Operator Explained
4. Defining PHP5 Class Constants
5. Static Data Members and Methods
6. Final Class and Methods
7. Exception Handling in PHP5

PHP5 Inheritance & Polymorphism

1. PHP Inheritance
2. PHP Abstract Class and Interface
3. PHP Polymorphism

PHP5 Magic Methods

1. __toString() Magic method
2. __get() and __set() Magic Method
3. __isset() and __unset() Magic Method
4. __call() Magic method
5. __autoload() method
6. __sleep() and __wakeup()
7. __clone() method

Subscribe to my FREE newsletter for updates on more PHP tutorials

Your email: