Updated PHP client