home / developersection / category
Inheritance is the one of the most important concept in object oriented programming. Inheritance is used to share properties and method between the related classes.
In this article we will focus how to deal with Visibility in PHP. Visibility is a big part in OOP. The concept of visibility is the scope of class members.
The magic methods are one with special names which are executed in response to some events.
Object and class are key part of object oriented programming in PHP. Let’s understand what are classes and objects.
Information sent by the user are visible to everyone (all name and values are displayed in the URL). So, GET method cannot be used to send sensitive information (like password).
Loop is used when we want to execute a same code for several times. In PHP we have 4 types of loop:
PHP supports eight data types:Integer,Float,String,Boolean,String,Array ,Float.An integer data types is a non-decimal number between -2,147,483,648 and 2,147,483,648.
A constant is an identifier or a name.These constant value remains the same during the execution of script.
Validation is used to check whether user has submitted the input or not. There are two types of validation:
Before creating Web Service in PHP first of all I will discuss about what’s Web Service? Web Service is an application that is designed to interact directly with other applications over the internet. That is in simple term