Overloading in PHPOctober 1, 2013We are going to see a surprise in this PHP tutorial. We all know about overloading and it is a basic concept in OOPS and we have beaten it enough in our colleges. We have operator overloading, function overloading etc. When different operations are performed using the same operator, then it is called operator overloading. […]This tutorial was added to PHP.
PHP Magic MethodsSeptember 20, 2013Generally, for each PHP user defined function, it contains two portions, such as function definition and function call. In some special cases, PHP functions will have function declaration. For example, PHP interfaces functions or PHP abstract functions, that we have seen with abstract access modifiers. In PHP, we can define some special functions that will […]This tutorial was added to PHP.
PHP Access ModifiersSeptember 18, 2013PHP access modifiers are used to set access rights with PHP classes and their members that are the functions and variables defined within the class scope. In PHP, there are some keywords representing these access modifiers. These keywords will be added with PHP classes and its members. PHP keywords as Access Control Modifiers Now, let […]This tutorial was added to PHP.
PHP Constructors DestructorsSeptember 4, 2013While working with PHP object model, we need to set properties of that object, before using it as a reference to access class member functions. For such initial settings, object oriented concepts are there, that are commonly used in many object-oriented languages. Constructors and destructors are such object-oriented concepts supported by PHP. Constructors are used […]This tutorial was added to PHP.
PHP self Vs thisAugust 28, 2013In PHP, the self and this keyword are used to refer class members within the scope of a class. The class members can be either variables or functions. These PHP keywords differ with the static behavior of the class members. PHP this keyword refers a non-static member of a class with respect to the class […]This tutorial was added to PHP.
Use of PHP finalJuly 3, 2013As like as other programming languages, like, Java, the final keyword is added into PHP as of its version 5. This keyword is used as a modifier, but only applicable for PHP classes and functions. If the final modifier is applied to PHP classes, then, the class cannot be inherited by some other class. At […]This tutorial was added to PHP.
PHP InterfacesJune 28, 2013In PHP, the interface blocks which declares set of functions to be defined with a class to implement this interface. A class can extend more than one interface, thereby, we can simulate multiple inheritances in PHP. Let us see all about it, in detail with this article. PHP class implements Interface While implementing an interface […]This tutorial was added to PHP.
PHP InheritanceJune 18, 2013Inheritance is one of the popularly used Object Oriented Programming features. It allows having shared properties and functions between related classes. This feature allows us to interrelate classes, to abstract data and methods and increase reusability. One of the noticeable change while migrating from PHP version 4 to PHP version 5 is of introducing Object-oriented […]This tutorial was added to PHP.
OOPS Features Supported by PHPApril 24, 2013PHP supports both procedural and Object Oriented programming. Object Oriented methodologies will be useful and effective while working with complex or huge size projects. It helps to compartmentalize the project based domains and programming layers to make it easy to handle. In this tutorial, we are going to see some of the important OOPS features supported […]This tutorial was added to PHP.
PHP Object CloningApril 11, 2013Object cloning is creating a copy of an object. An object copy is created by using the clone keyword and the __clone() method cannot be called directly. In PHP, cloning an object is doing a shallow copy and not a deep copy. Meaning, the contained objects of the copied objects are not copied. If you wish […]This tutorial was added to PHP.
↑ Back to Top
PHPPHP IntroductionPHP BasicsPHP Shopping CartPHP Contact FormTypes, Variables & OperatorsPHP StringsPHP ArraysPHP FunctionsPHP OOPSOOPS Features Supported by PHPPHP Constructors DestructorsPHP Access ModifiersPHP InheritancePHP InterfacesOverloading in PHPPHP Magic MethodsUse of PHP finalPHP self Vs thisPHP Object CloningPHP FormsAdvancedPHP AJAXRESTful APIPHP DatabasesPHP Sessions and CookiesError and Exception HandlingFiles and DirectoriesPHP Date TimePHP GraphicsPHP XMLPHP Code SamplesPHP FreelancerjQueryWordpressMySQLCSS