1--TEST-- 2Readonly class can extend a readonly class 3--FILE-- 4<?php 5 6readonly class Foo 7{ 8} 9 10readonly class Bar extends Foo 11{ 12} 13 14?> 15--EXPECT-- 16