mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
entities fixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62052 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e32c87177b
commit
5fd8ff3a02
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="class.benchmark-timer">
|
||||
<refnamediv>
|
||||
<refname>Benchmark_Timer</refname>
|
||||
|
@ -20,9 +20,9 @@
|
|||
require_once 'Benchmark/Timer.php';
|
||||
$timer = new Benchmark_Timer;
|
||||
|
||||
$timer->setMarker('start of for() loop');
|
||||
for ($i = 0; $i < 1000; $i++) { /* ... */ }
|
||||
$timer->setMarker('end of for() loop');
|
||||
$timer->setMarker('start of for() loop');
|
||||
for ($i = 0; $i < 1000; $i++) { /* ... */ }
|
||||
$timer->setMarker('end of for() loop');
|
||||
|
||||
echo 'The for() loop took ' .
|
||||
$timer->timeElapsed('start of for() loop', 'end of for() loop');
|
||||
|
|
Loading…
Reference in a new issue