Skip to content

Commit c94e014

Browse files
authored
fix php 8.0 build (#461)
fci.no_separation removed on php 8.0. php/php-src@302933d
1 parent 2d43ce8 commit c94e014

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

php_memcached_server.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ long s_invoke_php_callback (php_memc_server_cb_t *cb, zval *params, ssize_t para
6363
cb->fci.retval = retval;
6464
cb->fci.params = params;
6565
cb->fci.param_count = param_count;
66+
#if PHP_VERSION_ID < 80000
6667
cb->fci.no_separation = 1;
68+
#endif
6769

6870
if (zend_call_function(&(cb->fci), &(cb->fci_cache)) == FAILURE) {
6971
char *buf = php_memc_printable_func(&(cb->fci), &(cb->fci_cache));

0 commit comments

Comments
 (0)