Online visitors

People learning around the world

Online

—

Visitors exploring W3Schools

Online visitors by country Circles show approximate country locations. The country list provides the visitor counts.

Circles represent countries, not exact visitor locations.

Country

Online

Loading country activity…

    PHP 8.0 Introduction

    PHP 8.0.0 is a major update of the PHP language released on November 26, 2020. As announced by the PHP development team, this version update includes several new additional features and optimizations, including named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, improvements in the type system, error handling, and consistency.

    PHP 8.0.0 Downloads

    The PHP development team has announced the immediate availability of PHP 8.0.0, and its stable update is available on the PHP download page.

    What's New in PHP 8.0.0

    PHP 8.0.0 has come with many new features and performance improvements, meaning you may have to change the old code to run in the new version.

    According to the PHP 8.0.0 release notes, PHP 8.0.0 comes with many improvements and new features such as:
    • Named Arguments.
    • Attributes.
    • Constructor Property Promotion.
    • Union Types.
    • Match Expressions.
    • Nullsafe Operator.
    • Saner string to number comparisons.
    • Consistent type errors for internal functions.
    • Just-In-Time compilation.
    • Type system and error handling improvements.
    • Other syntax tweaks and improvements.
    • New Classes, Interfaces, and Functions.

    The PHP 8.0 Announcement Addendum page contains more detailed information about the updates and new features of the PHP 8.0.0 release.



    Found This Page Useful? Share It!
    Get the Latest Tutorials and Updates
    Join us on Telegram

    Notifications

    Updates are enabled for this browser.

    Receive new tutorials, articles and learning resources. You can turn updates off anytime.