Hi! With php74-7.4.21 and php74-pecl-memcached-3.1.5, no warning will be displayed. $ php $ If it is php80-8.0.8 and php80-pecl-memcached-3.1.5, a warning will be displayed. $ php PHP Warning: Missing arginfo for MemcachedServer::run() in Unknown on line 0 Warning: Missing arginfo for MemcachedServer::run() in Unknown on line 0 PHP Warning: Missing arginfo for MemcachedServer::on() in Unknown on line 0 Warning: Missing arginfo for MemcachedServer::on() in Unknown on line 0 $ OS: Both OS versions are FreeBSD 13.0-RELEASE-p3. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d01cdda4513e2d77eeb6f0be051ddd4b0e80546 commit 6d01cdda4513e2d77eeb6f0be051ddd4b0e80546 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-07-21 17:54:13 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-07-21 18:12:12 +0000 databases/pecl-memcached: Update to latest snapshot (058e9f5) - Fix PHP 8.0 arginfo - Bump PORTREVISION for package change The main corresponding commits for arginfo are [1], [2] and [3]. PR: 257130 Reported by: <townwear@gmail.com> Reference: https://github.com/php-memcached-dev/php-memcached/commit/e8f53777d3f578586f2a32f1b3bdcc3f53e74b39 [1] https://github.com/php-memcached-dev/php-memcached/commit/8f3c5dc0fa773aded5d169e5c5b8eab18c8931c6 [2] https://github.com/php-memcached-dev/php-memcached/commit/c8f9376a8b1399907e732064890101da7261d8bb [3] databases/pecl-memcached/Makefile | 6 ++++++ databases/pecl-memcached/distinfo | 6 +++--- .../files/patch-php_memcached_server.c (gone) | 14 -------------- 3 files changed, 9 insertions(+), 17 deletions(-)
Committed. Thanks!