<?php $test = array("", null, 1, "1", array(), StdClass(), 0, "0"); foreach ($test as $item){ var_dump(intval($test)); }
You have javascript disabled. You will not be able to edit any code.