Skip to content

Commit

Permalink
The instance of the Class PdfFileReader was corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
leowebx committed Jun 25, 2012
1 parent ed190df commit 8a43547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -4,7 +4,7 @@ This is a mostly complete port of [pyPdf](http://pybrary.net/pyPdf/). The API is

include 'pdf-parser/pdf.php';

$pdf = PdfFileReader(fopen('test.pdf', 'rb'));
$pdf = new PdfFileReader(fopen('test.pdf', 'rb'));
print $pdf->page_count;

?>

0 comments on commit 8a43547

Please sign in to comment.