Removed one level on indirection for _match()
Use SUCCESS and FAILURE return values
Use zend_bool for boolean values