diff --git a/language/operators.xml b/language/operators.xml index de6a40a8e1..d091b1144b 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1520,7 +1520,8 @@ echo "
$output
"; - The increment/decrement operators do not affect boolean values. + The increment/decrement operators only affect numbers and strings. + Arrays, objects and resources are not affected. Decrementing &null; values has no effect too, but incrementing them results in 1.