hightman / xunsearch

免费开源的中文搜索引擎,采用 C/C++ 编写 (基于 xapian 和 scws),提供 PHP 的开发接口和丰富文档
http://www.xunsearch.com
Other
1.64k stars 391 forks source link

php 8.1 support #130

Closed sweetrice closed 1 year ago

sweetrice commented 2 years ago

PHP message: PHP Fatal error: During inheritance of ArrayAccess: Uncaught [XSErrorException] ../../../..(712): Return type of XSDocument::offsetExists($name) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice(8192)

pkuoliver commented 2 years ago

希望能够解决

flyinghail commented 2 years ago

129 & #140