1 2 3 4 5 6 7 8 9 10 11 12 13
--TEST-- Check that Reader class is not final --SKIPIF-- <?php if (!extension_loaded('maxminddb')) { echo 'skip'; } ?> --FILE-- <?php $reflectionClass = new \ReflectionClass('MaxMind\Db\Reader'); var_dump($reflectionClass->isFinal()); ?> --EXPECT-- bool(false)