From c1350bf32e5fc564b911d55e2f47f5350321fcae Mon Sep 17 00:00:00 2001 From: AnthorNet Date: Mon, 4 May 2015 10:50:38 +0200 Subject: [PATCH] Fix Array to String conversion error --- examples/PHP/Client_Simple.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/PHP/Client_Simple.php b/examples/PHP/Client_Simple.php index 47d36ce..3ab236a 100644 --- a/examples/PHP/Client_Simple.php +++ b/examples/PHP/Client_Simple.php @@ -33,7 +33,7 @@ while (true) } $message = zlib_decode($message); - $json = json_decode($message, true); + $json = $message; fwrite(STDOUT, $json . PHP_EOL); }