PHP Errors Handling

PHP Errors Handling

PHP5 introduced exceptions, a completely different way to handle errors. Simply, exceptions like sensors detect any error occur within your code and output a bunch of data to handle these errors. Let’s see how these exceptions work.

continue reading »

How To Test PHP Classes and Objects

How To Test PHP Classes and Objects

PHP provides a set of functions to test classes and objects. These functions allow you to know more information about classes and objects that you are using at runtime. All these functions provided by PHP reflection API but their simplicity make them the first choice.

continue reading »

Working With MySQL Joins

working with mysql unions

In PHP applications, Retrieving data from relational tables generally require the use of joins. MySQL joins enable developers to select data from multiple tables with a single SQL statement. Let’s explore MYSQL joins.

continue reading »