Added line breaks in READ.ME example code.

Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
2019-11-30 12:54:44 -06:00
parent 8fb52b0d09
commit 53daf482aa

View File

@@ -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 />';