<?php $test = array("", NULL, 0, 1, "0", "1", true, false, new stdClass(), array(1), array()); foreach($test as $t) { echo var_export($t, true) . ": !!(x)= " . var_export((!!$t), true) ."\n"; }
You have javascript disabled. You will not be able to edit any code.