note 17501 added to language.operators
| From: | mahmoud dot at dot infoscience dot it at php2 dot chek dot com | Date: | Wed, 12 Dec 2001 02:24:41 +0000 |
| Subject: | note 17501 added to language.operators | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22522@lists.php.net to get a copy of this message | ||
You can use the shorthand:
$a = 5;
$a += 10; // $a is now 15
$a -= 3; // $a is now 12
--
http://www.php.net/manual/en/language.operators.php
http://master.php.net/manage/user-notes.php?action=edit+17501
http://master.php.net/manage/user-notes.php?action=delete+17501
http://master.php.net/manage/user-notes.php?action=reject+17501