Today we are going to talk about constants in PHP. Constants are like variables that can’t be changed. Hence the name! it’s constant and it’s not variable. they are a good way to store information. ...
4 min read Read MoreToday we are going to talk about interfaces in PHP. Interface is like a skeleton for the class. Interface is an important topic in OOP and it helps you manage your code better. ...
6 min read Read MoreToday we are going to talk about namespaces in PHP. Namespace is like putting the classes in a group. it helps you organize your code much better. It's a must-know topic for a PHP programmer. ...
7 min read Read MoreToday we are going to talk about Static methods and properties in PHP. You can access the methods and properties of a class without create a new object but for that you need to know about static. ...
5 min read Read MoreToday we are going to talk about Inheritance in PHP. Inheritance is another important topic related to object oriented programming in PHP. It can help you extend the functionalities of a class. ...
8 min read Read MoreToday we are going to talk about classes in PHP. This is an introduction to a series of posts that would cover the topic of object oriented programming in PHP. class is the first one. ...
8 min read Read MoreToday we are going to talk about calculating execution time in PHP. Sometimes it’s a good idea to calculate the execution time of your functions and script as a whole. ...
3 min read Read MoreToday we are going to talk about generating random numbers in PHP. Knowing how to generate a random number is more useful than you think. you can select random users and much more. ...
3 min read Read MoreToday we are going to talk about working XML and JSON in PHP. XML and JSON are the most common formats that are used in APIs. knowing how to work with them is essential for any web developer. ...
9 min read Read MoreToday we are going to talk about working with a csv files in PHP. Comma Separated Values (csv) is a common way to store the data in a file and it's important to know how to work with them. ...
5 min read Read More