• PHP 8.5.0 released

    From LWN.net@86:200/23 to All on Sat Nov 22 06:40:08 2025
    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.

    https://lwn.net/Articles/1047429/
    --- SBBSecho 3.32-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)