<?php function foo(): int { static $x = 1; return $x; static $x = 2; } echo foo();
You have javascript disabled. You will not be able to edit any code.