How to create CSV file using PHP
CSV (comma-separated values) is one of the most popular methods for transferring tabular data between applications. Lot of applications want to export data in a CSV file. In this article we will see...
View ArticleHow to create a zip file using PHP
Recently I had to write a script to create a zip file containing different files and folders. PHP has a ZipArchive class which can be used easily to create zip files. In this article we will see how to...
View ArticlePHP 7 – Null Coalesce Operator
PHP 7 brings a lot of improvements, features and new operators as compared to the earlier versions on PHP. One of the new operators is the Null Coalesce Operator (??). This operator can be used instead...
View ArticlePHP 7 – Combined Comparison (Spaceship) Operator
In this post we will take a look and another new operator in PHP 7. This operator is the Combined Comparison or Spaceship operator (<=>). This operator is a three way comparison operator. It will...
View ArticlePHP 7.4 – Null Coalesce Assignment Operator
The Null Coalesce Assignment Operator (??=) assigns the value of the right-hand parameter if the left-hand parameter is null. It is also called as Null Coalesce Equal Operator. The post PHP 7.4 – Null...
View Article