PHP Object Oriented Programming (OOP) concept

 PHP is a Server Side Scripting Language, mainly used for web development but also used for general purpose. Object Oriented Programming (PHP-OOP), is a type of programming language principle included in PHP-5, that's help to build complex web application.

The Object Oriented concepts in PHP are:

Class -   A class is a blueprint for creating object. It is a piece of code describing how to manage a topic or task in the way we want.  Read More


Relation between Classes and Objects

Constructor and Destructor

  
 


No comments:

Write a program in PHP to reverse a number

A number can be written in reverse order. For example 12345 = 54321 <?php   $ num = 23456;   $ revnum = 0;   while ($ num > 1)   {   $...