Instruction¶
The term instruction most commonly refers to a PHP language statement, such as an assignment, a function call, or a control structure.
In programming, an instruction is a single operation that tells the processor or runtime to perform a specific task. At the CPU level, instructions are binary commands executed directly by the hardware. In higher-level languages like PHP, a statement or expression corresponds to one or more machine instructions after compilation or interpretation.
<?php
// PHP instructions (statements)
$x = 42; // assignment
echo $x; // output
if ($x > 0) { } // control structure
foo($x); // function call
?>
Related : Statement, Expression, Command