diff --git a/language/operators.xml b/language/operators.xml index e61480a797..8f2c328720 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ - + Operators @@ -406,14 +406,15 @@ $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!"; PHP supports one error control operator: the at sign (@). When prepended to an expression in PHP, any error messages that might - be generated by that expression will be ignored. + be generated by that expression will be ignored. If the track_errors feature is enabled, any error message generated by the expression - will be saved in the global variable $php_errormsg. This variable - will be overwritten on each error, so check early if you want to - use it. + will be saved in the variable + $php_errormsg. + This variable will be overwritten on each error, so check early if you + want to use it. @@ -435,9 +436,10 @@ $value = @$cache[$key]; - The @-operator works only on expressions. A simple rule of thumb - is: if you can take the value of something, you can prepend the @ - operator to it. For instance, you can prepend it to variables, + The @-operator works only on + expressions. A simple rule + of thumb is: if you can take the value of something, you can prepend + the @ operator to it. For instance, you can prepend it to variables, function and include calls, constants, and so forth. You cannot prepend it to function or class definitions, or conditional structures such as if and