<?php $t = array(0,2,6); print_r(array_filter($t, function($v){return $v != 0;}));
You have javascript disabled. You will not be able to edit any code.