Description
It's the same problem as #7520 and it's beautifully explained here: https://bugs.php.net/bug.php?id=81474
I must admit that we missed that ReflectionConstant was created in PHP 8.4.
The following code:
<?php
$rc = new ReflectionClass(ReflectionConstant::class);
var_dump($rc->isFinal());
Resulted in this output:
But I expected this output instead:
PHP Version
Operating System
No response