print $ret->getMessage();
    die;
}
$bibtex->parse();
//Creating an entry
$addarray = array();
$addarray['entryType'] = 'Article';
$addarray['cite'] = 'art2';
$addarray['title'] = 'Titel2';
$addarray['author'][0]['first'] = 'John';
$addarray['author'][0]['last'] = 'Doe';
$addarray['author'][1]['first'] = 'Jane';
$addarray['author'][1]['last'] = 'Doe';
//Adding the entry
$bibtex->addEntry($addarray);
//Printing the result
echo "Converting This Array:\n\n";
echo "<pre>";
print_r($bibtex->data);
echo "\nInto this:\n\n";
echo $bibtex->bibTex();
echo "<hr />";
echo "\nAnd here is the RTF String:\n\n";
echo $bibtex->rtf();
echo "<hr />";
echo "\nAnd here are the data in  HTML:\n\n";
echo $bibtex->html();
echo "<hr />";
echo "\nAnd here is the statistic:\n\n";
print_r($bibtex->getStatistic());
echo "</pre>";