What’s new in PHP 7.4?

The PHP development team announced, on november 2019, the immediate availability of PHP 7.4.0. This release marks the fourth feature update to the PHP 7 series.

PHP 7.4.0 comes with numerous improvements and new features

What is new in PHP 7.1?

On December 1, 2016 the PHP development team released the PHP 7.1 version, 12 news features was added, here we covered 8 of them: Nullable types, Void functions, Symmetric array destructuring, Class constant visibility, …

How to compare objects in PHP

PHP offers a simple way to compare objects using the comparison (==) and identity (===) operators.

When using the comparison operator (==), object variables are compared in a simple manner: Two object instances are equal if they have the same attributes and values and are instances of the same class.

When using the identity operator (===), object variables are identical if and only if they refer to the same instance of the same class.

How to Read XML files in PHP?


Over the past 4 years I have worked with many XML providers (interconnecting B2B applications) and some of these providers distribute big XML files, some of them have more than 2GB, as you may already suspect we should not dump 2GB of information into memory because PHP will generate a memory overflow fatal error and your application will not be able to recover by itself, so in this post I will explains how to solve this problem, using…

What is new in PHP 7.0?

The PHP community continues to add new features and functionality to this popular programming language in order to make it more attractive, functional and useful. The version 7 (released on December 3) is considered one of the major updates in all the history of PHP due the Zend Engine was refactored to achieve best performance and best use of the memory. Also new features that facilitate and accelerate web development were introduced.

Anonymous functions in PHP

With the release of version 5.3.0, PHP development team incorporated what are called anonymous functions or closure.

An anonymous function, as its name implies, is nothing more than a function that has no name and that can be used as a callback allowing greater elegance and readability of source code, it is also possible to assign an anonymous function to a variable as were another data PHP type. PHP internally converts this variable in an instance of the Closure class.

What is new in PHP 5.5?

In recent years the PHP community has made a great effort to improving and adding new features and functionality to this popular programming language in order to make it more attractive, functional and useful. With the release of PHP 5.5 have been introduced some features very expected by the developer community. Today LibreByte proposes to show everything new which brings PHP 5.5.