1--TEST-- 2Bug #75090 Constants of parent IntlCalendar class not inherited 3--SKIPIF-- 4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> 5--FILE-- 6<?php 7class Foo extends IntlCalendar {} 8 9$fooRef = new ReflectionClass(Foo::class); 10$intlGregorianCalendarRef = new ReflectionClass(IntlGregorianCalendar::class); 11$intlCalendarRef = new ReflectionClass(IntlCalendar::class); 12 13var_dump( 14 count($fooRef->getConstants()) === count($intlCalendarRef->getConstants()), 15 count($intlGregorianCalendarRef->getConstants()) === count($intlCalendarRef->getConstants()) 16); 17?> 18--EXPECT-- 19bool(true) 20bool(true) 21