Browse Source

Added line breaks in READ.ME example code.

Signed-off-by: Rick Hays <rhays@haysgang.com>
master
Rick Hays 6 years ago
parent
commit
53daf482aa
  1. 5
      README.md

5
README.md

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

Loading…
Cancel
Save