summaryrefslogtreecommitdiffstats
path: root/vendor/maxmind-db/reader/ext/tests/002-final.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maxmind-db/reader/ext/tests/002-final.phpt')
-rw-r--r--vendor/maxmind-db/reader/ext/tests/002-final.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/maxmind-db/reader/ext/tests/002-final.phpt b/vendor/maxmind-db/reader/ext/tests/002-final.phpt
new file mode 100644
index 0000000..d91b7d0
--- /dev/null
+++ b/vendor/maxmind-db/reader/ext/tests/002-final.phpt
@@ -0,0 +1,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)