On 2025-12-12 11:21, Rowan Tommins [IMSoP] wrote:
function foo() {
     static $a = 1; // OK
    static $b = $a; // Fatal error: Constant expression contains invalid operations
}

Though this example is legal since 8.3.

Reply via email to