Christoph M. Becker
Christoph M. Becker
It is mentioned in https://www.php.net/manual/en/migration80.incompatible.php: > The needle argument for [strpos()](https://www.php.net/manual/en/function.strpos.php), [strrpos()](https://www.php.net/manual/en/function.strrpos.php), [stripos()](https://www.php.net/manual/en/function.stripos.php), [strripos()](https://www.php.net/manual/en/function.strripos.php), [strstr()](https://www.php.net/manual/en/function.strstr.php), [stristr()](https://www.php.net/manual/en/function.stristr.php) and [strrchr()](https://www.php.net/manual/en/function.strrchr.php) can now be empty. This needs to be added to the changelog...
Well, that is documented at https://www.php.net/function.http-build-query, second example. Are you suggesting this would be a bug?
Hmm, this is a bit tricky. See https://github.com/php/php-src/pull/7299 for details. The point is that it "always" worked as documented, *if* OPcache is enabled (what is usually the case in production)....
This is to be expected; `gzuncompress()` is for deflated input, while `gzinflate()` is for raw encoded input: https://3v4l.org/iukbV. This is not sufficiently documented, though.
> Does that mean that the documentation is accurate and should show the `Iterator`-related methods even though they do not exist anymore (because the docs are for 7 and 8)?...
`curl_file_create()` was documented as alias of `CurlFile::__construct()` which is not really true, so the page has been removed recently; the old URL https://www.php.net/manual/en/function.curl-file-create now redirects to `CurlFile::__construct()`, but that may...
> I'm not sure why the internal search tool didn't display `curl_file_create()` (it does for me). I think the search index is still in the browser's local storage for you....
I'm afraid this is more complex than that. For libxml2 builds (I don't know whether anybody still builds against libexpat; probably not, since libexpat 2 is not supported), the [`encoding`...
Yeah, but anyway, we need to document what we have so far. :)
Ah, right, that behavior [changed as of PHP 8.0.0](https://3v4l.org/Op01m), so the documentation needs to be updated. Thanks for reporting!