<?php
$bar = <<<EOD
highlightingWithNoSpaces
doesn't break
EOD;

lorem('ipsum', <<<TEST
foo bar
TEST
);

function nfact($n) {
    if ($n == 0) {
        return 1;
    }
    else {
        return $n * nfact($n - 1);
    }
}

echo "\n\nPlease enter a whole number ... ";
$num = trim(fgets(STDIN));

// ===== PROCESS - Determing the factorial of the input number =====
$output = "\n\nFactorial " . $num . " = " . nfact($num) . "\n\n";
echo $output;

?> <script>  <?php
echo '
';

1_000_000;
6.62_607_004e-34;
0.300_000_000_000_000_04;
0b1111_0000_1001_1111_1001_0010_1010_1001;
0123_7264;
0xBEEF_BABE;
0o123;
?>
/*this is js <?php echo ':)'; ?>
</script> not &js;
