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
|
||||
// == TIMER CLASS ====================================
|
||||
require_once 'classes/timer.php';
|
||||
|
||||
// -- Init Class
|
||||
$timer = new timer();
|
||||
//
|
||||
|
||||
|
||||
// -- Run the Timer
|
||||
$timer->start(); // <- Places a value for Start of Timer
|
||||
sleep(5); // <- Pause
|
||||
$timer->end(); // <- Places a value for End of Timer
|
||||
|
||||
// -- Output the Results
|
||||
echo $timer->startTimer . '<br />';
|
||||
echo $timer->endTimer . '<br />';
|
||||
|
||||
Reference in New Issue
Block a user