Added more boolean functions to the PHP's API