Skip to content

chr(): Providing a value not in-between 0 and 255 is deprecated #834

Description

@liviuconcioiu
  • PHP Version: 8.5.8
  • PDFParser Version: dev-master

Description:

PHP Deprecated:  chr(): Providing a value not in-between 0 and 255 is deprecated, this is because a byte value must be in the [0, 255] interval. The value used will be constrained using % 256 in /smalot/pdfparser/src/Smalot/PdfParser/Font.php on line 373

return \chr(octdec($m[1]));

PDF input

I don't have a PDF to share.

Expected output & actual output

No deprecation warning.

Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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