HighSpeaker/vendor/maxmind-db/reader/ext/tests/002-final.phpt

14 lines
265 B
Plaintext
Raw Normal View History

2022-12-19 19:49:52 +08:00
--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)