note that increment/decrement does not affect arrays, objects and resources

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330975 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Karoly Negyesi 2013-07-19 06:58:20 +00:00
parent d312d36634
commit 4520ea8d7f

View file

@ -1520,7 +1520,8 @@ echo "<pre>$output</pre>";
</para>
<note>
<simpara>
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 <literal>1</literal>.
</simpara>