note 88883 added to intro.outcontrol
| From: | Patrick at osu1 dot php dot net | Date: | Thu, 12 Feb 2009 04:23:29 +0000 |
| Subject: | note 88883 added to intro.outcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150555@lists.php.net to get a copy of this message | ||
[In English:]
it's seem have performance impact, try this with and without bufferisation ( by
output_buffering = 4096, or ob_start + ob_end_flush, it looks similar)
[En Francais:]
Ca semble avoir un fort impact sur les performances aussi, essayez ca avec et sans bufferisation (
par output_buffering = 4096, ou bien ob_start + ob_end_flush, ca semble identique)
<?php
for ($j=1; $j <= 5; $j++) {
list($usec, $sec) = explode(" ",microtime());
$debut[$j] = ((float)$usec + (float)$sec);
echo str_repeat("0123456789",5000) . '<br>' ;
list($usec, $sec) = explode(" ",microtime());
$fin[$j] = ((float)$usec + (float)$sec);
}
for ($j=1; $j <= 5; $j++) {
echo round($fin[$j]-$debut[$j], 5) . '<br>';
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 76.117.135.224
----
Manual Page -- http://www.php.net/manual/en/intro.outcontrol.php
Edit -- https://master.php.net/note/edit/88883
Del: integrated -- https://master.php.net/note/delete/88883/integrated
Del: useless -- https://master.php.net/note/delete/88883/useless
Del: bad code -- https://master.php.net/note/delete/88883/bad+code
Del: spam -- https://master.php.net/note/delete/88883/spam
Del: non-english -- https://master.php.net/note/delete/88883/non-english
Del: in docs -- https://master.php.net/note/delete/88883/in+docs
Del: other reasons-- https://master.php.net/note/delete/88883
Reject -- https://master.php.net/note/reject/88883
Search -- https://master.php.net/manage/user-notes.php