Keyword declare
Set a compilation or execution directive for the file or supported block. strict_types must appear at the start of the file and makes ordinary scalar argument checks depend on the calling file.
CKTIS / PHP
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Set a compilation or execution directive for the file or supported block. strict_types must appear at the start of the file and makes ordinary scalar argument checks depend on the calling file.
Define the fallback entry point of a switch when no case matches.
This alias of exit terminates the entire script.
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.