<?phpecho"<!DOCTYPE html>\n";echo"<html lang=\"en\">\n";echo"<!-- This is a simple PHP template -->\n";// This section could also use <?= syntax
?><body><h1>Hello world!</h1><p>This page was rendered on <?=date("Y-m-d")?></p><pre><?php$pairs=["Hello"=>"world!",
"How are"=>"you?",
"I like the number"=>3];// Iterate over key-value pairs
foreach($pairsas$k=>$v){echo"($k, $v) ";}?></pre></body></html>