← Back
Editing: interface_constant_inheritance_001.phpt
--TEST-- Ensure an interface may not shadow an inherited constant. --FILE-- <?php interface I1 { const FOO = 10; } interface I2 extends I1 { const FOO = 10; } echo "Done\n"; ?> --EXPECT-- Done
Save File
Cancel