patients php test