This script demonstrates comments, iteration, and selection in PHP.

\n"; /* I'm a comment. */ // So am i. # Me, too!! for ($i = 0; $i <= 20; ++$i) if ($i % 2 == 0) /* Demonstrates string concatenation. */ echo ">>> " . "$i
\n"; ?>