Description
The following code:
<?php
var_dump(Reflection::getModifierNames(ReflectionProperty::IS_READONLY));
Resulted in this output:
But I expected this output instead:
array(1) {
[0]=>
string(8) "readonly"
}
PHP Version
PHP 8.1
Operating System
No response