note 90404 added to ref.outcontrol
| From: | Anonymous at osu1 dot php dot net | Date: | Mon, 20 Apr 2009 19:24:27 +0000 |
| Subject: | note 90404 added to ref.outcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153523@lists.php.net to get a copy of this message | ||
You possibly also want to end your benchmark after the output is flushed.
<?php
your_benchmark_start_function();
ob_start ();
for ($i = 0; $i < 5000; $i++)
echo str_repeat ("your string blablabla bla bla", (rand() % 4) +
1)."<br>\n";
<----------
echo your_benchmark_end_function(); |
ob_end_flush (); ------------------------
?>
----
Server IP: 217.13.201.10
Probable Submitter: 84.132.191.186
----
Manual Page -- http://www.php.net/manual/en/ref.outcontrol.php
Edit -- https://master.php.net/note/edit/90404
Del: integrated -- https://master.php.net/note/delete/90404/integrated
Del: useless -- https://master.php.net/note/delete/90404/useless
Del: bad code -- https://master.php.net/note/delete/90404/bad+code
Del: spam -- https://master.php.net/note/delete/90404/spam
Del: non-english -- https://master.php.net/note/delete/90404/non-english
Del: in docs -- https://master.php.net/note/delete/90404/in+docs
Del: other reasons-- https://master.php.net/note/delete/90404
Reject -- https://master.php.net/note/reject/90404
Search -- https://master.php.net/manage/user-notes.php