Tedd's code output for Strings:
Strings
Hello WorldHelloWorld
0
3
<?php
include('includes/header.php');
// code
error_reporting(E_ALL); // set error reporting to all
echo("<h1>Tedd'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; // <-- note $a . $b
echo($c);
echo('<br>');
$a = 'Hello1';
$b = 'World2';
$c = $a + $b; // <-- note $a + $b
echo($c);
echo('<br>');
$a = '1Hello';
$b = '2World';
$c = $a + $b; // <-- note $a + $b
echo($c);
echo('<br>');
include('includes/footer.php');
?>