Bring Thrift test code up to date


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664852 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/php/TestClient.php b/test/php/TestClient.php
index 235abbe..0f1540c 100644
--- a/test/php/TestClient.php
+++ b/test/php/TestClient.php
@@ -36,7 +36,7 @@
   $host = $argv[1];
 }
 
-$hosts = array('localhost', '8.2.3.5');
+$hosts = array('localhost');
 
 $socket = new TSocket($host, $port);
 $socket = new TSocketPool($hosts, $port);
@@ -48,8 +48,8 @@
 } else {
   $bufferedSocket = new TBufferedTransport($socket, 1024, 1024);
   $transport = $bufferedSocket;
-  $protocol = new TBinaryProtocol();
-  $testClient = new ThriftTestClient($transport, $protocol);
+  $protocol = new TBinaryProtocol($transport);
+  $testClient = new ThriftTestClient($protocol);
 }
 
 $transport->open();