PHP documentation PHP String Functions PHP Math Functions Function definition format E.g. round() is defined as: : float is the return type of the function
All posts by
Positive / negative
Get positive value abs() function returns the absolute value of its number argument Example returning the distance regardless of how the values are passed
Variable Functions
gettype() Returns a string value representing the data type of a variable var_dump() Prints details about the variable it is given
Functions using references/pointers
Defining a function argument as a pointer Use the ‘&’ character in frnt of the function argument definition. That’s it, there’s no other change needed, nothing is prepended to the variable when used or the function argument when called. Array references Works just the same as for variables.
Modulo
The modulo operator returns the remainder after the left operand is divided by the right operand. The modulo operator will convert its operands to integers before performing the operation, rounding down.
Power of (Exponentiation)
Raise a number to the power of another number Use the exponentiation operator: ** Squared
.References general
Assign a variable reference to another variable Array references Works just the same as for variables.
Screen Sizes
Desktop Most popular: 1920 x 1080px
.Actions general
Documentation WordPress Action Reference Define an action Trigger running of an action
Is define active?
Is define created, if so what is its state?