CONSTANTS and PHP Class Definitions. Using define('MY_VAR', 'default value'). INSIDE a class definition does not work as expected. You have to use the PHP keyword 'const' and initialize it with a scalar value -- boolean, int, float, string (or array in PHP 5.6+) -- right away.
Prepositional Phrases. Do not use a comma between separate phrases unless they are in a series. A comma may also set off a single prepositional phrase at the beginning to make the sentence clear. A comma is recommended after any introductory prepositional phrase of more than four words. Correct: Under the kitchen table the dog cowered. (Single short, clear phrase.
Use a comma to separate coordinate adjectives. You could think of this as That tall, distinguished, good looking fellow rule (as opposed to the little old lady). If you can put an and or a but between the adjectives, a comma will probably belong there.ne of the most frequent errors in comma usage is the placement of a comma after a coordinating conjunction. We cannot say that the comma will always come before the conjunction and never after, but it would be a rare event, indeed, that we need to follow a coordinating conjunction with a comma.