<?php echo 'a: ' . var_export(array_all([null,null,null,null,null], fn($v) => is_null($v)), true); // 5 iterations for true outcome echo "\n"; echo 'b: ' . var_export(array_all([null,null,1,null,null], fn($v) => is_null($v)), true); // 3 iterations for false outcome
You have javascript disabled. You will not be able to edit any code.