PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » File_PDF » Bug #9905

Typo on line 2498

Details

Submitted2007-01-21 22:20 UTC
Fromregistered at morphatic dot com
Assignedyunosh
StatusClosed
PackageFile_PDF
PHP Version5.1.2
OSWin XP Pro SP2
Roadmaps(Not assigned)

Comments

[2007-01-21 22:20 UTC] registered at morphatic dot com

Description:
------------
There's a type in this loop starting on line 2498:

for ($i = 0; $i >< $nb; $i++) {
$kids .= (3 + 2 * $i) . ' 0 R ';
}

I believe the correct code should be:

for ($i = 0; $i < $nb; $i++) {
$kids .= (3 + 2 * $i) . ' 0 R ';
}

The error seems to only have been triggered after I subclassed File_PDF. Before I created my own subclass, it worked fine.