Language Selection

English French German Italian Portuguese Spanish

PHP 8.1 Released

Filed under
Development
  • 25 Nov 2021: PHP 8.1.0 Released

    The PHP development team announces the immediate availability of PHP 8.1.0. This release marks the latest minor release of the PHP language.

  • PHP 8.1 Released With Fibers, Enumerations, Read-Only Properties & Much More - Phoronix

    PHP 8.1.0 was just officially released as the latest annual feature update to this widely-used, server-side programming language.

    PHP 8.1 finally introduces the notion of "enums" or enumerations for a custom type that is a discrete number of possible values. PHP enums can be used anywhere an object can be used.

  • Remi Collet: PHP version 8.1.0 is released!

    RC5 was GOLD, so version 8.1.0 GA is just released, at planed date.

    A great thanks to all developers who have contributed to this new major and long awaiting version of PHP and thanks to all testers of the RC versions who have allowed us to deliver a good quality version.

    RPM are available in the remi-php81 repository for Fedora ≥ 33 and Enterprise Linux ≥ 7 (RHEL, CentOS, Alma, Rocky...) and as Software Collection in the remi-safe repository.

PHP 8.1 is Here Studded with Highly Requested Features

PHP 8.1 has been officially released and brings numerous innovations, such as enumerations, fibers and performance improvements.

PHP is a server side scripting language that is used to develop web applications. According to W3Techs’ data, PHP is used by 78.2% of all websites with a known server-side programming language. In other words, almost 8 out of every 10 websites that you visit on the Internet are using PHP in some way.

The language continues to evolve, by releasing their newest PHP 8.1 update, just a couple of days after the formation of a PHP Foundation was announced. This new version, released November 25, 2021, contains many new features, including enums, readonly properties, first-class callable syntax, fibers, intersection types, performance improvements and more.

Let’s take a quick look at some of the new features, performance tweaks and other reasons why you should migrate to PHP 8.1.

Read more

Benchmark

  • PHP 8.1 Benchmarks - Continuing The Nice Performance Trajectory

    PHP 8.1 released on Thursday as the latest major feature release for this programming language. In this article are some benchmarks of PHP 8.1.0 on an AMD EPYC powered Linux server compared to prior releases going as far back as PHP 5.6.

    As previously covered, PHP 8.1 introduces many new language features like PHP "Fibers", enums, read-only class properties, new fsync functions, and much more. PHP 8.1 is another great annual update to this server-side language. But as we've seen over the past number of years since the late PHP 5.x era, the performance has continued improving.

PHP 8.1.0 and a new foundation

  • PHP 8.1.0 and a new foundation

    Version 8.1.0 of the PHP language has been released. This release includes a number of new features, including enumerations, read-only properties, fibers, and more.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

KDE Eco Sprint May 2022

A week ago I attended the KDE Eco Sprint in Berlin for some experiments around power consumption measurements and tools for that. It has been the first in-person KDE sprint for me since the start of the pandemic, and even happened to be in exactly the same place as the last pre-pandemic one I have been to. Read more

Portmaster: GlassWire Alternative for Linux to Monitor Network

GlassWire is a popular network monitoring app (with no support for Linux) that helps you track data usage, unusual network activity, malicious access to the network, and more. I wish it supports Linux, but for now, it only works on Windows and Android. For Linux, we do not have a full-fledged GUI-based application that helps us monitor the network in Linux. However, I recently stumbled upon “Portmaster”, an open-source network monitor available for Linux and other platforms. Interestingly, it offers some of the same abilities as seen with Glasswire, with some extras. Note that it is not exactly a replacement for “GlassWire” but a potential alternative in the making. Read more

today's howtos

  • How to Turn Your Raspberry Pi into a Video Conferencing Station - Make Tech Easier

    Post-lockdown, with working and schooling from home as a matter of routine, more people are turning toward video conferencing as a way to keep in touch and get things done. Tools like Google Meet, Skype and Zoom mean we can keep in touch with people outside the confines of our home, across cities, time zones, and even countries, making the world smaller and allowing for remote collaboration. If you’re looking for another great Raspberry Pi project, I urge you to try this one. This tutorial shows you how to turn your Raspberry PI into a video conferencing station.

  • How To Install phpMyAdmin with Nginx on Ubuntu 22.04 LTS - idroot

    In this tutorial, we will show you how to install phpMyAdmin with Nginx on Ubuntu 22.04 LTS, as well as some extra required by phpMyAdmin

  • How To Install GIMP on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install GIMP on AlmaLinux 9, as well as some extra required packages by GIMP

  • How I automate plant care using Raspberry Pi and open source tools | Opensource.com

    Automation is a hot topic right now. In my day job as an SRE part of my remit is to automate as many repeating tasks as possible. But how many of us do that in our daily, not-work, lives? This year, I am focused on automating away the toil so that we can focus on the things that are important. Home Assistant has so many features and integrations, it can be overwhelming at times. And as I’ve mentioned in previous articles, I use it for many things, including monitoring plants.

  • How to flush the DNS cache on Ubuntu Server | TechRepublic

    Sometimes a network connection doesn’t seem to function how we expect them to. And it doesn’t matter how much you troubleshoot the issue, the problem doesn’t go away. You’ve configured a static IP address, you know that configuration is solid and you can ping your gateway, but something is causing that Linux server from reaching the outside world in the manner you expect. One problem could be the DNS cache. DNS is a crucial aspect of networking for all machines, as it translates names to IP addresses. When something goes wrong with DNS, your machine might have trouble reaching the outside world. I have experienced, on a few occasions, a DNS cache to be the problem. When that happens, what do you do? You flush the DNS cache.

  • How to install Minikube on Ubuntu 22.04 - NextGenTips

    Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your local machine. Kubernetes quickly set up a local Kubernetes cluster on Linux, Windows, and macOS. It is always advisable before diving into Kubernetes, you will need a minimal Kubernetes setup. Such a setup should spin up fast and integrate well with other tools. In his tutorial, we are going to learn how to install Minikube on Ubuntu 22.04. I am going to use Docker as a containerization platform. You can either VirtualBox, Podman, KVM, etc.

  • How to install Podman on CentOS 9 Stream?

    Podman is a container engine compatible with the OCI Containers specification. Podman is part of Red Hat Linux, but it can also be installed on other distributions. As you can expect, Podman is open source, and we can install it on almost any Linux distribution without too much trouble. We could say that Docker is Podman’s main rival. And it is that Podman pretends, with its philosophy, to be a reliable alternative to Docker which is one of the most important container solutions out there.

  • Use Tag Editor to tag resources across regions on AWS
  • Backup MySQL Databases to Amazon S3 (Shell Script)

    A shell script is a collection of commands to perform a specific job. MySQL is a relational database management system widely used on Linux systems. Amazon S3 is a cloud storage device provided by Amazon Web Services. It’s a good practice for the system administrator to back up databases at regular intervals and store them in a remote location like Amazon S3.

GNU Chinese Translators Team - Happy 20th Birthday GNU CTT [Savannah]

20 Year ago, May the 28th, GNU Chinese Translators Team was registered at Savannah. I joined the project from Help GNU. My original intention was to support this project and maybe help myself to understand more of GNU. At that time it was only me who worked actively in translating the GNU web pages into Simplified Chinese. I had even had to approve my own translation which was not the correct approach. I really wanted some other people to join the project like the project creators, and I started to really understand that to be a volunteer in a Free Software project means to be persistent and stubborn. Gradually we had some newcomers joining the project, like hagb, hahawang, psiace, shankangke, shi, wind, etc. I am very excited whenever there is a newcomer because I know I am the person to let them know the project and I am the person to encourage them contributing their time and talent in this project. Read more