- UPGRADING says that the error_reporting (ie. value returned by error_reporting() or ini_get('error_reporting ')) is changed, not the severity value passed to the handler.
- UPGRADING says that the error_reporting() == 0 should be replaced with !(error_reporting() & $err_no) in code, not the return with return false. So there is currenctly no way how to detect @ operator.
- "Prior to PHP 8.0.0, the value of the severity passed to the custom error handler was always 0" - no true
- "return false; // Silenced" - not true, if the function returns false then the normal error handler continues, so it is not "silenced".
(partially reverts "Cleanup and update docs related to @ operator" commit 12b1d4704ea448b55ec155619be1e50c0e67e9f9.)
Co-authored-by: George Peter Banyard <girgias@php.net>
Co-authored-by: Larry Garfield <larry@garfieldtech.com>
The first change mentioned in the manual for PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY was 03f0ebc60c.
Then 607ec1f63c stated about the version to which the constant was added.
However, it incorrectly appends to `MYSQL_ATTR_LOCAL_INFILE` instead of `MYSQL_ATTR_LOCAL_INFILE_DIRECTORY`.
Closes GH-1502.
- Move utf8_encode and utf8_decode into the strings chapter, since
they were moved out of the XML extension in 7.2
- Recommend mb_convert_encoding, iconv, and UConverter::transcode
when mentioning encoding in passing
- Document UConverter::transcode, based on examination of source
and upstream ICU docs
- Make the language used more consistent, e.g. "convert" rather
than "encode"/"decode", "encoding" rather than "charset"
Closes GH-1418.
Foreign Function Interface (FFI) has been introduced in 2019 (PHP 7.4) and the API didn't change since then, it should probably be considered safe to use it.
Closes GH-1495. Closes GH-1499.
`DOMNamedNodeMap::removeNamedItem` is listed twice and I suspect the one after `DOMNamedNodeMap::setNamedItemNS` was meant to be `DOMNamedNodeMap::removeNamedItemNS` instead.
Closes GH-1491.
Although this is valid PHP, other functions' examples in the class (e.g. `getDefaultProperties` and `getConstructor`) contain this trailing semicolon.
Fixes GH-1432
Closes GH-1486.
The comment in the source code [goes](04a4864b65/ext/pdo/pdo_stmt.c (L1152)) as "if there are no more rows" and doesn't mention any failure.
Closes GH-1480.
As per the PHP changelog, the functionality to use a string for `assert` has been removed in PHP 8.0: 69888c3ff1/UPGRADING (L350-L354)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-1471.