<?php $counter=0; $increment = function () use ($counter) { ++$counter; }; $increment(); $increment(); var_dump($counter);
You have javascript disabled. You will not be able to edit any code.