Skip to content

Not compatible with php8.5 #41

Description

@antoniogweb

When running karriere/pdf-merge 3.3.1 with PHP 8.5, TCPDF emits the following deprecation warning:

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

The warning originates from:

vendor/tecnickcom/tcpdf/include/tcpdf_filters.php

around the ASCII85Decode implementation:

$decoded .= chr($tuple >> 24).chr($tuple >> 16).chr($tuple >> 8).chr($tuple);

PHP 8.5 deprecates passing values outside the 0-255 range to chr().

The PDF merge completes successfully, but deprecation warnings are generated.

Environment:

  • PHP 8.5.x
  • karriere/pdf-merge 3.3.1
  • TCPDF 6.11.3

Is PHP 8.5 support planned, or should this be reported directly to TCPDF?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions