PHP
Fast & Modern
PHP provides blistering fast performance and a modern developer-focused experience.
A Massive Ecosystem
Leverage over 450,000 existing open source packages for your projects, along with powerful tooling.
An Established Community
Millions of developers and businesses already use PHP to achieve their goals every day.

Everything PHP is an independent site dedicated to the PHP programming language, its community, and its ecosystem.

We aim to provide learning, discovery, and interaction, as well as hightened insight into PHP governance.

URI Extension
PHP 8.5 adds a built-in URI extension to parse, normalize, and handle URLs following RFC 3986 and WHATWG URL standards.
Pipe Operator
The |> operator enables chaining callables left-to-right, passing values smoothly through multiple functions without intermediary variables.
Clone With
Clone objects and update properties with the new clone() syntax, making the "with-er" pattern simple for readonly classes.
#[\NoDiscard] Attribute
The #[\NoDiscard] attribute warns when a return value isn't used, helping prevent mistakes and improving overall API safety .
Closures and First -class Callables in Constant Expressions
static closures and first -class callables can now be used in constant expressions, such as attribute parameters .
Persistent cURL Share Handles
Handles can now be persisted across multiple PHP requests, avoiding the cost of repeated connection initialization to the same hosts .

PHP 8.4
Major Features:
  • Property Hooks allow intercepting properties
  • Asymmetric Visibility for get and set
  • #[Deprecated] attribute signals removal intent
  • new array lookup and query options
PHP 8.3
Major Features:
  • class constants can now be typed
  • Dynamic class Constants
  • Enhanced deep cloning of readonly instances
  • Generate random strings from provided character sets
PHP 8.2
Major Features:
  • Entire classes can now be marked readonly
  • Improved type support with Disjunction Normal Forms
  • null, true and false are now usable as types

Community Content

Communities

  • Search for PHP related posts on BlueSky.
  • Chat and share with 40k worldwide members. Live discussions.
  • Providing a community platform for free and open-source software and peer directed projects.
  • A place for PHP programmers & friends to discuss topics related to the PHP programming language, frameworks, packages, tools, open source, tech, life, and more
  • Join thousands of users on Discord talking about PHP.
  • Born in 2018, it is the first community on Discord dedicated to PHP developers. Open for both experts and apprentices.
  • Reddit has an active PHP community discussing the language and its ecosystem.
  • The original StackOverflow live chat for PHP help and internals discussion.
Discover More Communities