wiwofone / memorize

UNMAINTAINED. PHP implementation of the SM2 spacing algorithm.
MIT License
31 stars 8 forks source link

Advise please #2

Open rstevens354 opened 8 years ago

rstevens354 commented 8 years ago

Hi there,

I've downloaded your code and run Composer and the PhpUnit tests

I now want to load up a page which utilises Memorize in my browser? Any advice is greatly appreciated.

this is what i have so far:

function __autoload($classname) {
    $filename = "src/". $classname .".php";
    include_once($filename);
}

$mem = new Memorize;
$mem->calcInterval(0);

but I get a fatal error