Skip to content

Cannot understand 64-bit PHP requirements #665

@Vectorial1024

Description

@Vectorial1024

As per Composer docs:

https://getcomposer.org/doc/01-basic-usage.md#platform-packages

To require a 64bit version of php, you can require the php-64bit package.


However, if I have "php-64bit": ">=8.3" in composer.json, then the tools warn me about this syntax, which should be allowed in PHP 8.3:

class TestClass
{
    // Construct typed constants is supported since PHP 8.3PHP(PHP6401)
    public const int TEST_CONST = 5;
}

This problem does not occur if I have "php": ">=8.3" in composer.json.

Metadata

Metadata

Assignees

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