Added line breaks in READ.ME example code.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
@@ -18,13 +18,16 @@ Quick Example
|
|||||||
<?php
|
<?php
|
||||||
// == TIMER CLASS ====================================
|
// == TIMER CLASS ====================================
|
||||||
require_once 'classes/timer.php';
|
require_once 'classes/timer.php';
|
||||||
|
|
||||||
// -- Init Class
|
// -- Init Class
|
||||||
$timer = new timer();
|
$timer = new timer();
|
||||||
//
|
|
||||||
|
|
||||||
// -- Run the Timer
|
// -- Run the Timer
|
||||||
$timer->start(); // <- Places a value for Start of Timer
|
$timer->start(); // <- Places a value for Start of Timer
|
||||||
sleep(5); // <- Pause
|
sleep(5); // <- Pause
|
||||||
$timer->end(); // <- Places a value for End of Timer
|
$timer->end(); // <- Places a value for End of Timer
|
||||||
|
|
||||||
// -- Output the Results
|
// -- Output the Results
|
||||||
echo $timer->startTimer . '<br />';
|
echo $timer->startTimer . '<br />';
|
||||||
echo $timer->endTimer . '<br />';
|
echo $timer->endTimer . '<br />';
|
||||||
|
|||||||
Reference in New Issue
Block a user