Skip to content

🔮 PHP 8.5 Upgrade Features/Notes #2312

@chrisblakley

Description

@chrisblakley

PHP Version Timeline: https://www.php.net/supported-versions.php
PHP Release Notes: https://php.watch/versions
Version Stats: https://stitcher.io/blog/php-version-stats-july-2024

PHP 8.5 Info & References

https://php.watch/versions/8.5
https://stitcher.io/blog/new-in-php-85

  • Release Date: November 2025
  • Active Support Until November 2026
  • Security Support Until November 2027

Initial Tasks

  • Update /inc/data/php_timeline.json Nebula file

Projected Nebula Minimum Version Timeline

Active table will be moved here as it gets closer
#2234

Notable Features related to Nebula in PHP 8.5

  • URL Parsing functionality
  • PHP_BUILD_DATE constant could be used for dev info
  • Fatal errors now provide a stack trace in error log files
  • array_first() and array_last()
  • Pipe operator
  • OPcache is now mandatory (not a separate extension)

Pipe Operator example:

$result = "Hello World"
|> htmlentities(...)
|> str_split(...)
|> strtoupper(...);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backend (Server)Related to the server-side (includes PHP, HTML, etc).

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions