• PHP 8.5.0 released

    From LWN.net@1337:1/100 to All on Friday, November 21, 2025 16:00:09
    PHP 8.5.0 released

    Date:
    Fri, 21 Nov 2025 15:47:25 +0000

    Description:
    Version
    8.5.0 of the PHP language has been released. Changes include a new
    " |> " operator that, for some reason, makes these two lines
    equivalent: $result = strlen("Hello world");
    $result = "Hello world" |> strlen(...); Other changes include a new function attribute, " #[\NoDiscard] " to
    indicate that the return value should be used, attributes on constants, and more; see the
    migration guide for details.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1047429/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)