<?php function &foo() { static $x = []; print_r($x); return $x; } $a = foo()[] = 3; var_dump($a); foo();
You have javascript disabled. You will not be able to edit any code.