PHP has spread operator (...) which allows unpacking arrays. When array is prefixed with spread operator, an array elements are spread in place. The spread operator can be used multiple...
PHP provides the fputcsv function which formats an array of fields as a CSV line and writes it to a file. Since PHP 8.1, this function accepts a new optional...
AVIF is a pretty new image format compared with PNG or JPEG. Since PHP 8.1, GD extension can be compiled with AVIF support.
The gd_info function returns features of the...
PHP allows specifying types for function and class method parameters. Passing null to a non-nullable parameter will emit a fatal error. In versions prior to PHP 8.1, this behavior only...
XXH32 is a variant of xxHash non-cryptographic hash function that accepts a string of any length and returns a 32-bit fixed-length digest value, commonly represented as a sequence of 8...
MySQLi is a PHP extension that allows to use the functionality provided by MySQL database. MySQLi supports five different error modes, which defines how MySQLi should behave when an error...
When working with arrays, there might be a case to determine if an array is a list. Since PHP 8.1, the array_is_list function can be used to check whether a...
Speedtest CLI is a command line tool that allows to test internet bandwidth using speedtest.net service. Speedtest CLI is an official tool developed by Ookla. This tool can useful to...
PHP is a programming language which often used for creating web applications and dynamic websites. New features and various changes are introduced on each release of PHP.
This tutorial demonstrates...
The youtube-dl a tool for downloading videos from YouTube and other websites via command line. The list of all the supported websites can be found in official website. The youtube-dl...