[ 
https://issues.apache.org/jira/browse/THRIFT-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-5103.
--------------------------------
      Assignee: Christoph Kappestein
    Resolution: Fixed

> 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
>            Assignee: Christoph Kappestein
>            Priority: Major
>             Fix For: 0.14.0
>
>         Attachments: fix_PHP_7_4_compatibility_use_square_brackets.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to