PHP 8.0 Alpha released with promising new features

PHP 8.0 will come with Just in Time Compiler, Union Types and Attributes.

One of the most expected features is the Just in Time Compiler. Compiler promises significant performance improvements, albeit not always within the context of web requests.

PHP 8.0 comes with support for Union Types. In the versions so far, you could only declare a single type for properties, parameters, and return types. From version 8.0, you can declare more than one type for arguments, return types, and class properties.

As of PHP 8, we’ll be able to use attributes. The goal of these attributes, also known as annotations in many other languages, is to add meta data to classes, methods, variables and what not in a structured way.

As PHP 8 is still under development, we could see several changes before the final release. By the moment the Feature Freeze comes (end of July 2020) no further language features can target 8.0 anymore.

We’ll keep track of these changes.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *