The code below works (at least when error_reporting is turned off). But I do not understand WHY it works. I understand the short tag notation (and that its use is discouraged). But when I add "php" to the short tag, or remove the equal sign (use of which I do not understand), or any combination thereof, the page no longer works. I am bewildered and befuddled.
$lastUpdate = date( 'j F Y', filemtime( 'pageContent/test.txt' ) );
// error_reporting( -1 );
// ini_set( 'display_errors','On' );
© Copyright 2006-<?= date( 'Y' ) ?>, Allan Marain, New Brunswick, NJ, All rights reserved.
Page last updated <?= $lastUpdate ?>.<br />