What is new in PHP 7.2?

In this post we’re going to check 5 new features of PHP 7.2: New object type, Extension loading by name, Abstract method overriding, Sodium Cryptography library and Parameter type widening

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 compile PHP-7.2 on CentOS


On November 30, 2017 the PHP development team released the PHP 7.2 version, this release added news features, here some of them:

  • New object type: Previously the object statement was used to convert one data type to another one e.g. an array to an sdtClass object and/or vice versa, PHP 7.2 introduces the object data type which can be used to specify the type of parameter and/or for the type of a function return.
  • Extension loading by name: Now it is not necessary to specify the file extension (.so for Unix, .dll for Windows) when loading an extension allowing greater portability in the php configuration file (php.ini).
  • Abstract method overriding: Now an abstract class that inherits from another abstract class can change/overwrite an abstract method of its parent class.

How to compile PHP 7.1 in Ubuntu 16.04

PHPOn December 1, 2016 the PHP development community released version 7.1, which added 12 new features , we mention some of them below:

Nullable types: Type declarations for parameters and return values can now be marked as nullable by prefixing the type name with a question mark. This signifies that as well as the specified type, NULL can be passed as an argument, or returned as a value, respectively.
Void functions: The void type functions should not return any value so they should use an empty return or omit it completely, I think that if you omit the return it gives more clarity to the code since it is more consistent with the definition of void, the NULL value is not a valid return value for void functions.
Symmetric array destructuring : The shorthand array syntax ([]) may now be used to destructure arrays for assignments (including within foreach).

Is Linux an Operating System?

Short Answer: No.

Long Answer: An operating system is a set of tools or software that you install on your computer or device and create a base system that allows you to extend its functionality by installing additional applications. In other words, an operating system is the minimum environment necessary to make your computer or device usable.

3 Tools for PDF manipulation

PDF (Portable Document Format) is one of the most used document format for exchanging information due to its great flexibility and portability, here anothers feautures we can mention:

  • It allows encapsulating text, fonts, images and other information necessary to view the document.
  • It is platform independent, both software and hardware, so as its name implies it is extremely portable.
  • It is a standard and open format.

Termux a terminal emulator for Android

Termux is a terminal emulator for Android and a minimalistic GNU / Linux environment. Termux installs a minimum default base system allowing additional applications to be installed using the apt package manager. Termux does not need your phone to be rooted to run.

How to schedule tasks in GNU/Linux

cron is a time-based job scheduler in Unix-like computer operating systems, cron is used to schedule jobs at fixed times, dates, or intervals; cron runs every minute and detects if there is a new command or task (reading the files /etc/crontab, /etc/cron.d/* and /var/spool/cron/crontabs/*) to run.