Cybersecurity news

Jessica Doner

Back to the list

PHP 8.6 is out, and here’s what changes for your code

Help Net Security,

PHP 8.6 released with new features like partial function application and a Time\Duration class, plus default changes that existing apps could trip over.

Overview

PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers 8.6 has been released with new features and changes that affect how code runs. The update includes a Time\Duration class, a polling APIA structured interface that lets one software program request data or actions from another program for event loops, and a clamp() function. It also changes default settings for sessionsAn active logged-in period of communication between a user or device and a server, which means existing applications might need testing to ensure login flows still work. File writing functions now report failures clearly instead of ignoring them, and many functions throw errors for invalid inputs. The release adds post-quantumNew encryption algorithms designed to stay secure even against future quantum computers keyThe secret value that locks or opens a message encapsulation in Sodium and deprecates several older functions. Developers using PHP must test their applications before upgrading to avoid issues with the new defaults.

Terms in this story

PHP
A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
Sessions
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
post-quantum
New encryption algorithms designed to stay secure even against future quantum computers. Governments and browser makers are rolling out post-quantum cryptography now so that encrypted traffic recorded today cannot be unlocked later when quantum computers mature. Security+ objective 1.4 lists the term
key
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
cookie
A small piece of text that a website asks your browser to store and return on later visits. Online stores and portals use a cookie to remember who is logged in or what is in a shopping cart, which is why infostealer malware targets the browser database where cookies are stored.
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
URL
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
TLS
The standard cryptographic protocol that encrypts internet traffic between a browser or app and a server. Whenever you visit an HTTPS website, TLS checks the server's certificate and scrambles the connection so nobody on the local wireless network or internet backbone can read your traffic. Security+ objective 1.4 lists the term
hash
A short, fixed-length fingerprint of data, made by a hash algorithm with no key. Security reports list file hashes so defenders can check whether a suspicious program on their network matches known malware, and servers store password hashes instead of plain passwords. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related