nullsafe operator - PHP 8

nullsafe operator - PHP 8

The nullsafe Operator allows a developer to eliminate the null check for each property before going onto the next chain...

PHP / MySQL - 4 months ago

Remove Empty Array Elements and reindex in PHP

Remove Empty Array Elements and reindex in PHP

The built-in array_filter() function removes all the empty elements, zeros, false and null values from an array. This function uses...

PHP / MySQL - 4 months ago

PHP 7.4 - Null coalescing assignment operator

PHP 7.4 - Null coalescing assignment operator

The null coalescing assignment operator is a shorthand for null coalescing operations. Let's take a example code $data['date'] = $data['date']...

PHP / MySQL - 10 months ago

PHP 7.4 - Arrow functions

PHP 7.4 - Arrow functions

Arrow functions also called "short closures". We can always access the parent scope, there's no need for the use keyword....

PHP / MySQL - 10 months ago

PHP 7.4 - Numeric Literal Separator

PHP 7.4 - Numeric Literal Separator

PHP 7.4 allows for underscores to be used to visually separate numeric values. It looks like this: $unformattedNumber = 123456789.78;...

PHP / MySQL - 10 months ago

How to connect to Azure SQL Server with PHP

How to connect to Azure SQL Server with PHP

This article demonstrates how to use PHP to connect to an Azure SQL database. To connect to an Azure SQL...

PHP / MySQL - 1 year ago

How to get Mysql Table Comments

How to get Mysql Table Comments

Let's assume that we have a table with the following table schema: CREATE TABLE employee ( id INT NOT NULL...

PHP / MySQL - 2 years ago

Merging PDFs using PHP and ghostscript

Merging PDFs using PHP and ghostscript

In this post, We will show you how you can use Ghostscript with PHP to merge multiple PDF files into...

PHP / MySQL - 2 years ago

How to connect to a MSSQL Server With PHP

How to connect to a MSSQL Server With PHP

I recently had to connect to an MSSQL Server using PHP on an Ubuntu system using PHP. To connect to...

PHP / MySQL - 2 years ago

PHP 7.1 - Support for keys in list()

PHP 7.1 - Support for keys in list()

You can now specify keys in list(), or its new shorthand [] syntax. This enables destructuring of arrays with non-integer...

PHP / MySQL - 2 years ago