Fix: Missing boolval for PHP < 5.5