Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.3
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/thread-self/root/opt/php-8.3/share/test/mongodb/tests/bson/bson-enum_error-003.phpt
--TEST-- Enum cannot implement Persistable --FILE-- <?php enum MyEnum implements MongoDB\BSON\Persistable { case A; public function bsonSerialize(): array {} public function bsonUnserialize(array $data): void {} } ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- Fatal error: Enum class MyEnum cannot implement interface MongoDB\BSON\Persistable in %s on line %d