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.