php-doc-en/appendices/migration80
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
..
deprecated.xml Remove extra full stop (#587) 2021-05-06 02:38:48 +02:00
incompatible.xml Fixed info about @ operator (#1196) 2022-04-04 20:28:18 +01:00
new-features.xml Restructure type declaration page & document Intersection types (#982) 2022-01-06 12:36:43 +00:00
other-changes.xml Remove left-over 2021-08-25 00:38:06 +02:00