<?php var_dump(array_reduce([1, null, null, 2, null], function($carry, $item) { if(empty($item)) { $carry++; } return $carry; }, 0));
You have javascript disabled. You will not be able to edit any code.