<?php $meh = null; $foo = (bool) array_shift($meh); var_dump($foo); $bar = (array) null; var_dump((bool) $bar[0]->something);
You have javascript disabled. You will not be able to edit any code.