Consider the following PHP file:
index.php
<!DOCTYPE html>
<head>
<title>Welcome to my home page!</title>
</head>
<body>
<?php
for($i = 0; $i < 2000; ++$i)
{
echo $i.'<br>';
}
?>
</body>
</html>
Is PHP loading into memory only the contents of the echo
or the static HTML as well?
Maybe the answer is widely known but I have not found any documentation.
I would love an RTM link btw.