Commit graph

15 commits

Author SHA1 Message Date
Michael Diodone
05a2d4c535
Fix >= on SplFileObject::seek migration notes
for PHP 8.0

Closes GH-1506.
2022-04-05 14:35:57 +02:00
David Grudl
14a60fad6e
Fixed info about @ operator (#1196)
- 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>
2022-04-04 20:28:18 +01:00
Michael Diodone
432e2731ee
Fix listing of unimplemented DOM methods
`DOMNamedNodeMap::removeNamedItem` is listed twice and I suspect the one after `DOMNamedNodeMap::setNamedItemNS` was meant to be `DOMNamedNodeMap::removeNamedItemNS` instead.

Closes GH-1491.
2022-03-31 16:07:03 +02:00
Yoshinari Takaoka
68b5e2c562
mixed is a reserved word (not keyword!) as of PHP 8.0.0. (#938) 2022-02-28 17:10:32 +09:00
Martin Samesch
2df577d9be
[skip-revcheck] typo/WS 2022-01-23 11:49:54 +01:00
Christoph M. Becker
afbe8ad5ba
Fix GH-1205: Multiple undocumented BC in DOM extension 2021-12-15 12:52:26 +01:00
George Peter Banyard
12b1d4704e
Cleanup and update docs related to @ operator
Also fix part of the set_error_handler() docs

Closes GH-441
2021-02-18 16:31:56 +00:00
Christoph M. Becker
c31630ca23 Document XMLWriter class 2021-01-02 16:29:01 +01:00
Christoph Michael Becker
71c12b1583 set_error_handler: clarify callback parameters and PHP 8.0 changes
Closes GH-276.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352038 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:36:18 +00:00
Christoph Michael Becker
417ea9af74 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352024 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 14:11:52 +00:00
George Peter Banyard
b3a1da4dc0 Update XMLParser class name in migration guide for PHP 8.0.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351791 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 15:44:58 +00:00
Christoph Michael Becker
6896024afa Add info about SplFileObject::seek() incompatibility to migration guide
Cf. <https://github.com/php/php-src/pull/6434>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351790 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 15:39:29 +00:00
Christoph Michael Becker
068a836eb9 Add incompatibility note regarding PDO::inTransaction()
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=306555e11da4fb9f4759e809b6c1961f11dc6e8b>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351647 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 18:04:28 +00:00
Yoshinari Takaoka
8c115291ab added missing role="php" for programlisting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351543 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 14:35:41 +00:00
Christoph Michael Becker
d7a2a4e3f7 PHP 8.0 migration guide
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351500 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 18:25:14 +00:00