ForNext
Only Do What Only You Can Do
011. compound assignment operators: arithmetic, string, logical, bit
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
+= -= *= none /= %= **= .= x= &&= ||= ^= <<= >>= &= |= ^=
PHP
+= -= *= none /= %= **= .= none &= |= none <<= >>= &= |= ^=
Python
# do not return values: += -= *= /= //= %= **= += *= &= |= ^= <<= >>= &= |= ^=
Ruby
+= -= *= /= none %= **= += *= &&= ||= ^= <<= >>= &= |= ^=