I have found an answer to this peculiarity.
When I was running the code previously, all that I had on the page was the code itself i.e.
<?php
code....
?>
If however, I add the necessary tags to make an HTML page:
<html>
<body>
<?php
code...
?>
</body>
</html>
the expression evaluates instantly, whatever the value of $Age
In both cases the page was saved with a .php extension.
It would be interesting to know why this is so.