<?php $bar = 1; $func = (function ($foo) use ($bar) : bool { return $foo === $bar; }); var_dump($func(1)); var_dump($func(2));
You have javascript disabled. You will not be able to edit any code.