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

Jens Geyer updated THRIFT-5929:
-------------------------------
    Fix Version/s:     (was: 0.24.0)

> Fix build failure on PHP 8.5 due to removed zend_exception_get_default
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-5929
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5929
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>            Reporter: Pavel Kvach
>            Assignee: Pavel Kvach
>            Priority: Major
>             Fix For: 0.23.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Building the Thrift PHP extension fails with PHP 8.5 due to the removal of 
> the zend_exception_get_default() function. The error is:
> {code:java}
> php_thrift_protocol.cpp:438:24: error: ‘zend_exception_get_default’ was not 
> declared in this scope{code}
> This function was removed in PHP 8.5 (see [php-src commit 
> link|https://github.com/php/php-src/commit/b0aaa31702e8846d0067436bd23f4832954db476]),
>  and the recommended replacement is to use the global zend_ce_exception 
> instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to