summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt')
-rw-r--r--ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt b/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt
new file mode 100644
index 0000000..998355c
--- /dev/null
+++ b/ext/reflection/tests/ReflectionClass_getExtensionName_variation.phpt
@@ -0,0 +1,18 @@
+--TEST--
+ReflectionClass::getExtensionName() method - variation test for getExtensionName()
+--CREDITS--
+Rein Velt <rein@velt.org>
+#testFest Roosendaal 2008-05-10
+--FILE--
+<?php
+
+ class myClass
+ {
+ public $varX;
+ public $varY;
+ }
+ $rc=new reflectionClass('myClass');
+ var_dump( $rc->getExtensionName()) ;
+?>
+--EXPECT--
+bool(false)