Class Constants – PHP OOP

Class Constants in PHP Once a constant is declared, it can\'t be changed. If you need to define some data that stays the same inside a class, you can use…

Access Modifiers – PHP OOP

Access Modifiers in PHP Access modifiers can be put on properties and methods to control how and where they can be used. There are three things that change access: public:…

Constructor / Destructor – PHP OOP

The __construct Function in PHP A constructor lets you set up an object\'s properties when you first create it. If you make a __construct() function, PHP will automatically call it…

PHP For PERL Experts

This chapter will show how PHP and PERL are alike and how they are different. This will make it easy for PERL developers to learn PHP and avoid making common…

PHP for C Experts

PHP for C Experts is easiest to understand as interpreted C that can be put into HTML documents. The language itself is similar to C, but variables are not typed,…

OOP in PHP

What is OOP in PHP? Object-oriented programming is known as OOP. While object-oriented programming involves constructing objects that include both data and functions, procedural programming involves developing procedures or functions…

Bugs Debugging PHP

Rarely do programmes work right the first time. There are a lot of things that could go wrong with your programme and cause the PHP interpreter to show an error…

Error & Exception Handling PHP

Error & Exception Handling PHP is the process of figuring out what went wrong with your programme and fixing it. If you don\'t deal with errors the right way, it…

PHP A to Z Function References

PHP has a lot of functions that come with it. Here is a list of different types of important functions. There are a lot of other types of functions that…