Skip to content

PHP 7.2 error: A non-numeric value encountered (tcpdi_parser.php( line 1052 )) #22

@michaelklopf

Description

@michaelklopf

I've got a special set of pdfs which cause this error in the following line:

$this->objstreamobjs[$ints[$j-1]] = array($key, $ints[$j]+$first);

It should be related to the warning here: http://php.net/manual/en/migration71.other-changes.php

According to XDebug it tries to do the following but fails:

$this->objstreamobjs["x��XmO#G��޿��/�Ec�K�[�EbḠܲ(���"] = [[3, 0], 218];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions