PHP has OpenSSL extension that provides various functions related with cryptography, such as symmetric and asymmetric encryption and decryption, private and public key pair generation, etc.
Since PHP 8.2, we...
PHP has a function str_split that can be used to convert a string to an array. In PHP versions before 8.2, the str_split function returns an array with a single...
PHP allows to dynamically set and get class properties that are not declared in the class. Since PHP 8.2, dynamic properties are deprecated.
Let's say we have User class which...
The PHP functions utf8_encode and utf8_decode are used for converting string between ISO-8859-1 and UTF-8 encodings. Since 8.2, these functions are deprecated because they have an inaccurate name and can...
PHP provides several ways to embed variables into string. Since PHP 8.2, string interpolation when the dollar sign is placed outside the curly braces ${var} is deprecated.
Since PHP 8.2...
When working with Docker, it can be useful to get detailed information about Docker networks. It includes network creation date, scope, driver, whether IPv6 is enabled and other information. This...
When working with Docker, it can be useful to get detailed information about Docker images. It includes image creation date, exposed ports, CMD scripts, architecture, environment variables, etc. This tutorial...
Current consumption measuring is an important task when choosing the right power supply for a project. This tutorial demonstrates how to measure a current consumption of the XIAO SAMD21 development...
A light dependent resistor (LDR) is a type of resistor that resistance changes according to the intensity of light. It can be used in applications such as street lighting systems...
When working with Docker containers, it is useful to know how to start, stop, and restart the container via command line manually. This tutorial demonstrates how to do that.
Stop...