Boolval is only working from PHP 5.5