<?php $input = [1, 2]; var_dump(array_filter($input, function(& $value) { if ($value % 2 === 0) { return false; } $value++; return true; }));
You have javascript disabled. You will not be able to edit any code.