php-doc-en/language
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
..
context Close #880: Obsolete default value for protocol_version 2021-09-03 18:35:53 +02:00
control-structures [skip-revcheck] fixed typo (#1187) 2021-12-09 10:12:38 +03:00
errors Fiber documentation 2021-12-02 16:11:55 +01:00
figures added xkcd image to the goto docs 2009-06-14 22:03:29 +00:00
oop5 [PHP 8.1] New in initializers (#1327) 2022-03-30 15:13:41 -05:00
predefined [PHP 8.1] Document the first class callable syntax. (#1176) 2021-12-28 15:51:30 +09:00
types Clarify class-types meaning in composite type description. (#1306) 2022-01-06 14:22:32 +00:00
wrappers Remove obsolete info regarding php://stdin 2021-12-09 16:13:27 +01:00
attributes.xml Add list of attribute target constants 2021-12-02 23:01:16 +01:00
basic-syntax.xml Update basic-syntax.xml to fix typo 2021-08-19 20:21:59 +02:00
constants.xml [skip-revcheck] Fix output spacing. 2021-10-29 11:20:24 -03:00
context.xml Remove legacy MongoDb driver docs 2021-05-25 19:38:28 +01:00
control-structures.xml Clarify the syntax and role of arguments for echo and print 2021-03-10 14:37:20 +01:00
enumerations.xml Deleting usage "limitation" to debugging (#1331) 2022-01-14 11:44:07 -06:00
errors.xml Add embryonic error handling section, since we don't have one place for this. 2015-08-09 01:15:47 +00:00
exceptions.xml hyphenate "object-oriented" 2021-08-08 18:48:47 +01:00
expressions.xml Use canonical type names 2020-11-02 15:39:04 +00:00
fibers.xml Moved [overview|example] of Fibers to language/fibers.xml 2021-12-04 12:47:35 +01:00
functions.xml [PHP 8.1] Use named arguments after unpacking (#1329) 2022-03-30 15:35:44 -05:00
generators.xml Fix #80942: Object iteration / Iterator: Replace duplicated examples with direct links 2021-04-20 11:28:39 +02:00
namespaces.xml Types are not hints in PHP. (#1003) 2021-10-09 14:43:01 +01:00
oop5.xml Split type declarations into their dedicated page 2020-11-12 18:39:19 +00:00
operators.xml Fixed info about @ operator (#1196) 2022-04-04 20:28:18 +01:00
references.xml Fix half-deleted sentence about "new" and reference assignment (#520) 2021-04-12 13:28:11 +02:00
types.xml Document enumerations 2021-10-29 01:14:57 +02:00
variables.xml Remove errant , (#516) 2021-04-08 11:55:42 +02:00
wrappers.xml Split wrappers.xml into wrappers/*.xml 2010-12-11 19:47:26 +00:00