Skip to content

BC in php_uname() from 8.3 to 8.4-RC1 #16641

Open
@that-guy-iain

Description

@that-guy-iain

Description

The following code

<?php
$platformStr = php_uname('s r v m');

Resulted in this output:

  #message: "php_uname(): Argument #1 ($mode) must be a single character"

But I expected this output instead:

No error 

PHP Version

PHP 8.4-RC1

Operating System

Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions