Keyword do
Execute a loop body before testing its condition, guaranteeing one pass unless control transfers out earlier.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Execute a loop body before testing its condition, guaranteeing one pass unless control transfers out earlier.
echo sends values to program output. It is a language construct rather than an ordinary function and provides no result to assign.
Run the alternative branch only when the associated if or preceding elseif tests fail.
Test another condition only after earlier branches failed.
Test whether an expression is absent or converts to false.
Terminate a colon-style declare block.
Close a colon-style for body, commonly around template output.
End a colon-style foreach block in a template or PHP file.
Close the complete colon-style conditional, including any elseif and else branches.
Close the alternative syntax of switch.
Close a colon-style while loop.
Define a closed set of singleton cases.
Execute PHP source text in the variable scope of the call.
Stop the script with an integer process status or print a string and stop with status zero.
A class extends one immediate parent and inherits its accessible implementation.
A final class rejects subclasses and a final method rejects overriding in a subclass.
Run cleanup after a try or catch during normal completion, return or exception unwinding.
Create a Closure with a single expression whose value is returned.
Evaluate initialization once, test the middle expression before each pass, and run the update after the body. continue still runs the update, while break exits without it.
Traverse arrays and iterable objects using their keys and values.
Declare a named function with parameters, an optional return type and a body.
Inside a function, bind a local name by reference to the global variable of the same name.
Transfer execution to a case-sensitive label in the same file and execution context.
Execute a branch when its condition converts to true.