Skip to content

CurlHandle and CurlMultiHandle are castable to int in php8 #3939

@xPaw

Description

@xPaw

php/php-src#5743

I'm not sure where I would apply this change in phpstan, so creating this issue instead. As I was testing the new phpstan release, spotted this.

PHP8 allows casting these to ints to preserve backwards compatibility.

https://phpstan.org/r/16e2b057-6de9-4d84-b321-59042800a3e6

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