<?php $arr = array(0,null,3,null); $filtered = array_filter($arr, function($var){return !is_null($var);} ); print_r($filtered);
You have javascript disabled. You will not be able to edit any code.