<?php $b = 3 * 3 % 5; $b = $a++ + 23; $a = ++$b - 23; ?>
$varName = expression ;
$r = 4.0; $area = 3.14 * $r * $r ;
if ( expr ) statement
if ( $a > $b ) { print ( "a is larger than b" ); }
if ( expr ) statement elseif ( expre ) statement [else (optional) statement]
if ( $a > $b ) { print ( "a is larger than b\n" ); } elseif ( $a < $b ) { print ( "a is smaller than b\n" ); } [else # Optional else part { print ( "a is equal to b\n" ); }]
while ( expr ) statement
$a = 0; while ( $a < 10 ) { print($a . "\n"); $a++; }
for ( expr1 ; expr2 ; expr3 ) statement
for ( $a = 0 ; $a < 10 ; $a++ ) { print($a . "\n"); }
(Not much to learn on statement syntax.... That's why I chose PHP for web-programming !!!)