PHP programming shortcuts: save time and lines of useless code.

Before I even started writing this, I am sure that the comments will be filled about how consolidating code makes it hard to understand, more braces makes it easier to read, etc. This is for those who think it’s better to have less code, such as yours truly. I like seeing less code; I find it more efficient and much better.

Short-hand mathematical operators

Those are known by most programmers however missed by a lot, the following can be shortened by it’s alternative next to it.