[php-src] Issue #20673: 8.5 and memcached

[email protected] (VARGA-Peter)
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/20673
Author: VARGA-Peter

### Description

When I try to compile the php memcached master source code for 8.5 using phpize I receive this

```
/builds/php-memcached-master/php_memcached.c:3790:16: warning: returning ‘int’ from a function with return type ‘zend_class_entry *’ {aka ‘struct _zend_class_entry *’} makes pointer from integer without a cast [-Wint-conversion]
 3790 |         return zend_exception_get_default();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

But then apache fails to load because it complains that `zend_exception_get_default` can't be found.

I am not quite sure if I do everything correctly. Anyway, what is the best library to use memcached with 8.5?

### PHP Version

```plain
PHP 8.5.0
```

### Operating System

SLES 15 SP7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.