PHP - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - PHP

PHP
 $i = $x * 5;
 while ($i>0)
   if ($i==10)
     break;
   else 
   {
     $i--;
   }

Other pieces of example codes:
PHP
do --$i; while ( $i > 0);
while ($i>0)
   if ($i==10)
     break;
   else 
   {
     $i--;
   }
if ($x>1)
{
  $x=1;
  $y=$y-1;
}
while ($i<10) ++$i;
$j--;
$a = 4 >= 2;
Languages: en hu cz sk