On 2025-12-12 11:21, Rowan Tommins [IMSoP] wrote:
function foo() { static $a = 1; // OKstatic $b = $a; // Fatal error: Constant expression contains invalid operations}
Though this example is legal since 8.3.
On 2025-12-12 11:21, Rowan Tommins [IMSoP] wrote:
function foo() { static $a = 1; // OKstatic $b = $a; // Fatal error: Constant expression contains invalid operations}
Though this example is legal since 8.3.