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