Pavel Kvach created THRIFT-5929:
-----------------------------------
Summary: 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
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)