<?=)$string = 'Some plain text and a ' .$variable;
than to use double quotes like this:
$string = "Some plain text and a $variable";
$dynamic = ($language == 'php' ? true : false);
use this:
if($language == 'php') {
$dynamic = true;
} else {
$dynamic = false;
}
<?= ?>. Instead, use the full tag syntax: <?php ?>