I have been coding in PHP lately, which is weakly typed so integers are added with +=
but strings are concatenated with .=
. That means that I wind up using +=
where I shouldn't and PHP actually then converts my strings to integers!
Is there any way to highlight +=
, which I hardly ever use, with a background or something else very distinctive?
Thanks.