mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
d312d36634
commit
4520ea8d7f
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue