Skip to content

strcmp return value changed between 8.2 alpha 1 and alpha 2 #8907

Closed
@TRowbotham

Description

@TRowbotham

Description

https://3v4l.org/Iue7N - previous behavior
https://3v4l.org/Iue7N/rfc#vgit.master - behavior in 8.2 alpha 2

I didn't notice this documented in the release notes or upgrade notes, though the return value is still technically correct according to the documentation. If the change in behavior was intentional, it may be worth noting somewhere.

PHP Version

PHP 8.2.0alpha2

Operating System

Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions