Added function for getting the boolean value, added dependency on PHP 5.5