Don Alexander Eckford's code output for Strings:
Strings
Hello WorldHello World
Hello1 World2
1Hello 2World
<?php
include('includes/header.php');
// code
error_reporting(E_ALL); // set error reporting to all
echo("<h1>Don Alexander Eckford's code output for Strings:</h1>");
echo('<h2>Strings</h2>');
$a = 'Hello';
$b = ' World';
echo("$a $b");
echo('<br>');
$a = 'Hello';
$b = 'World';
$c = $a ." ". $b; // Correct string concatenation
echo($c);
echo('<br>');
$a = 'Hello1';
$b = 'World2';
$c = $a ." ". $b; // Use . for concatenation
echo($c);
echo('<br>');
$a = '1Hello';
$b = '2World';
$c = $a ." ". $b; // Use . for concatenation
echo($c);
echo('<br>');
//echo($a . $b . "!!!");
//echo('<br>');
//echo("$a $b!!!");
include('includes/footer.php');
?>