Closed cesurapp closed 2 years ago
Not sure if it is related to Swoole.
Not sure if it is related to Swoole.
Got it. It is already in the library: https://github.com/swoole/library/blob/master/src/core/ArrayObject.php#L72 maybe just a new build is missing.
I can't reproduce this issue
`Other deprecation notices (3)
1x: Method "Iterator::current()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Swoole\ArrayObject" now to avoid errors or add an explicit @return annotation to suppress this message. 1x in IDE_PHPUnit_Loader::init
1x: Method "Iterator::key()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Swoole\ArrayObject" now to avoid errors or add an explicit @return annotation to suppress this message. 1x in IDE_PHPUnit_Loader::init
1x: Method "ArrayAccess::offsetExists()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Swoole\ArrayObject" now to avoid errors or add an explicit @return annotation to suppress this message. 1x in IDE_PHPUnit_Loader::init`
Swoole => enabled Author => Swoole Group hello@swoole.com Version => 4.8.10 Built => May 5 2022 13:46:41 coroutine => enabled with boost asm context kqueue => enabled rwlock => enabled http2 => enabled curl-native => enabled pcre => enabled zlib => 1.2.11 brotli => E16777225/D16777225 async_redis => enabled postgresql => enabled
Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 262144 => 262144
Darwin 192.168.1.56 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 x86_64
PHP 8.1.4 (cli) (built: Mar 18 2022 09:46:02) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.4, Copyright (c) Zend Technologies with Zend OPcache v8.1.4, Copyright (c), by Zend Technologies
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 13.0.0 (clang-1300.0.29.30) Target: x86_64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin