<!DOCTYPE html>
<html>
<body>

<?php
function writeMsg() {
   echo "Hello world!";
}

writeMsg();
?>

</body>
</html>