Monday, April 22, 2019

Working with Arrays in PHP

1. Introduction An array stores multiple values of similar types in one single variable. Assume a scenario in which you want to store names of...

String manipulation in PHP

1. Introduction In the last article in this series, we learned about arrays. In this article, we will learn about strings in PHP. String is...

What’s new in PHP 7.2

1. Overview In this article, we’ll learn about the new and interesting features in PHP 7.2 Release 7.2 of PHP was done in November, 2018. It...

Handling PHP Errors and Exceptions

1. Introduction In this article in this series will learn how we can handle errors and exceptions that occur when our PHP code is executed. We...

Understanding the SOLID principles of software engineering

1. Introduction Software engineering is a combination of art and science. In this article, we will understand the most basic and essential software design principle:...

The hello world program in PHP

1. Overview We start learning any programming language, with the famous hello world! program. This tradition is followed religiously since the inception of software programming,...

All about variables and constants

1. Introduction In the first post of this series, we learned how to write a hello world program in PHP. In this second post, we...

Operators in PHP

1. Introduction Operators allow us to perform certain operations with values, arrays, and variables. There are several different types of operators. In PHP 7, two...

Databases and working with MySQL

1. Introduction In this article, we are learning about databases and how we can connect to databases using PHP programs. Databases are used as information storage...

Looping around in PHP

1. Introduction In this article in the series, we are learning about different types of loops. Loops are programming constructs that can be used to...