Skip to content

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

@SharkMachine

Description

@SharkMachine

I think this is something that didn't get fixed with the last release that fixed PHP 8.5 deprecations.

ErrorException: 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

vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath.php:157

SFTP connections fail for that reason for me. The setup I have is that warnings like these will throw an error.

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