Commit 74ee889b authored by Nico Schallehn's avatar Nico Schallehn

test

parent e8732281
<?php
include("imdb.class.php");
include("imdb2.class.php");
$imdb = new IMDB("http://www.imdb.com/title/tt1130080/");
if ($imdb->isReady) {
var_dump($imdb->getAll());
var_dump($imdb->getYear());
$imdb2 = new IMDb(true, true, 0);
$movie = $imdb2->find_by_id("tt1130080");
echo "old:".$imdb->getYear().PHP_EOL;
echo "new:".$movie->year.PHP_EOL;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment