You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christoph Kappestein (Jira)" <ji...@apache.org> on 2020/02/18 19:58:00 UTC
[jira] [Created] (THRIFT-5103) PHP 7.4 THttpClient deprecated error
Christoph Kappestein created THRIFT-5103:
--------------------------------------------
Summary: PHP 7.4 THttpClient deprecated error
Key: THRIFT-5103
URL: https://issues.apache.org/jira/browse/THRIFT-5103
Project: Thrift
Issue Type: Bug
Components: PHP - Library
Affects Versions: 0.13.0
Reporter: Christoph Kappestein
Fix For: 0.14.0
Currently there is a problem with THttpClient and PHP 7.4. When instantiating a new THttpClient the following deprecated error occurs:
{{Array and string offset access syntax with curly braces is deprecated}}
{{/home/travis/build/apioo/fusio-adapter-thrift/vendor/apache/thrift/lib/php/lib/Transport/THttpClient.php:109}}
{{/home/travis/build/apioo/fusio-adapter-thrift/src/Connection/Thrift.php:81}}
{{/home/travis/build/apioo/fusio-adapter-thrift/tests/Connection/ThriftTest.php:62}}
A fix would be simply to use [] instead of {} to access a char of the string.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)