让我们想象一下这样的情况:
<?php
session_start();
someFunction();
?>
<html>
<head>The headers...</head>
<body>Loooooots of content</body>
</html>
<?
executeSomething();
?>
如果与客户端的连接很慢,而且HTML
部分很大,所以传输需要很长时间,那么第二个PHP块是否executeSomething();
会挂起,直到HTML
传输完全?