From 5c49e532517e249423ce5ff1b5caab1927898ac6 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 13 Jun 2019 08:03:55 +0000 Subject: [PATCH] tcpclient : need PHP 5.6 minimum git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5353 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- tcpclient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcpclient.php b/tcpclient.php index ea95d68..1817e33 100644 --- a/tcpclient.php +++ b/tcpclient.php @@ -206,9 +206,9 @@ class tcpclient $optionsMerged["ssl"] = array_merge ($optionsBase["ssl"], $options); stream_set_blocking ($this->socket, true); stream_context_set_option ($this->socket, $optionsMerged); - ini_set("track_errors", 1); + ini_set ("track_errors", 1); $rc = @stream_socket_enable_crypto ($this->socket, !!$val, $cryptoMethod); - ini_set("track_errors", 0); + ini_set ("track_errors", 0); if ($rc === false) throw new \Exception ("Can not enable crypto to '$this->ipOrName' : ". substr (strrchr ($php_errormsg, ":"), 1), 500);