3.1 PHP echo and print Outputs one or more strings. Example: <?php echo("Hello World!"); ?> print: Outputs a string and returns a value (1 for success). Example: <?php print “Hello, PHP!”; ?> 3.2 Comments in PHP Single-line comments: <?php // This is a single-line comment ?> Multi-line comments: <?php /* This is a multi-line comment.…