AW: PHP 4.0 Bug #6177 Updated: Strange echo behaviour
| From: | Stephan Skusa | Date: | Wed, 23 Aug 2000 14:15:52 +0000 |
| Subject: | AW: PHP 4.0 Bug #6177 Updated: Strange echo behaviour | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30388@lists.php.net to get a copy of this message | ||
It seems to be, that the problem apears if user accesses with very slow
connection, maybe modems < 14400kbps ...
I'm connected via 2Mbit ... the exectime varies between 0 and about 5
seconds ... 'til now ...
Question: does PHP wait 'til apache-output is completed ??
It also may be the wrong direction to search ... !!
As I remember problem apears down to early PHP4-Betas ...
CU
Stephan Skusa
PS.: Sorry i forgot my userID/Password for PHP-Support area ... therefore
the direct way ... ;o)
<!----- Demoscript ------>
<HTML>
<HEAD>
<meta http-equiv="refresh" content="5; URL=<?PHP echo $SCRIPT_NAME;
?>">
</HEAD>
<BODY>
<?PHP
$output="";
for ($idx=0;$idx<40000;$idx++) {
$output.="A";
}
$start=time();
echo $output;
$exectime=time()-$start;
if ($exectime>10) {
$value="EXECTIME GREATER 10 SECONDS ($exectime)";
} else {
$value="EXECTIME $exectime";
}
$mytime=strftime("%Y%m%d %H:%M:%S", time());
error_log("$mytime $SCRIPT_NAME: $value\n", 3, "/tmp/test.log");
?>
</BODY>
</HTML>
<!----- Demoscript ------>
> -----Ursprüngliche Nachricht-----
> Von: Bug Database [mailto:php-dev@lists.php.net]
> Gesendet: Mittwoch, 23. August 2000 14:57
> An: stephan.skusa@lippe-net.de
> Betreff: PHP 4.0 Bug #6177 Updated: Strange echo behaviour
>
>
> ID: 6177
> Updated by: sniper
> Reported By: stephan.skusa@lippe-net.de
> Status: Feedback
> Bug Type: Performance problem
> Assigned To:
> Comments:
>
> Is this still happening with more recent versions of php4
> (from CVS or snaps.php.net) ?? And please attach minimal
> reproducing script. --Jani
>
> Full Bug description available at: http://bugs.php.net/?id=6177
>