aboutsummaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'test.php')
-rw-r--r--test.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/test.php b/test.php
new file mode 100644
index 0000000..f6d51f7
--- /dev/null
+++ b/test.php
@@ -0,0 +1,15 @@
+<?php
+require_once('bibtex.php');
+
+$bibtex = new BibtexParserGoga();
+$bibtex->read_file('example.bib');
+$bibtex->select(array(
+ 'author' => '/pashev/',
+ ));
+
+
+print_r($bibtex->STRINGS);
+print_r($bibtex->SELECTION);
+
+?>
+