Drupal Coding Standards

Drupal Coding Standards Indenting and Whitespace Use an indent of 2 spaces, with no tabs Lines should have no trailing whitespace at the end All text files should end in a single newline (n) Operators All binary operators (operators that come between two value...

Read more

PHP Operators Examples

PHP Operators Examples PHP Arithematic Operators Operator Name Description Example Result x + y Addition Sum of x and y 2 + 2 4 x – y Subtraction Difference of x and y 5 – 2 3 x * y Multiplication Product of x and y 5 * 2 10 x / y Division Quotient...

Read more