[Solved] Meaning of the ‘+=’ operator

[ad_1]

It is adding the value of $receipt to the value of $receipts{$weather} and storing the result back into $receipts{$weather}. It is the equivalent of:

$receipts{$weather} = $receipts{$weather} + $receipt

However, it may be implemented more efficiently in some cases.

1

[ad_2]

solved Meaning of the ‘+=’ operator