Source Code:
(back to article)
<?php $x = 7; // Define a conditional statement if ($x == 5) { echo "x is equal to 5."; } // Define a loop for ($i = 0; $i < 10; $i++) { echo $i; } // Define a function function add($a, $b) { return $a + $b; } ?>
Result:
Report an issue