diff options
Diffstat (limited to 'ext/reflection/tests/reflectionClass_getExtension_variation.phpt')
| -rw-r--r-- | ext/reflection/tests/reflectionClass_getExtension_variation.phpt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/reflection/tests/reflectionClass_getExtension_variation.phpt b/ext/reflection/tests/reflectionClass_getExtension_variation.phpt new file mode 100644 index 000000000..f2272777a --- /dev/null +++ b/ext/reflection/tests/reflectionClass_getExtension_variation.phpt @@ -0,0 +1,20 @@ +--TEST-- +ReflectionClass::getExtension() method - variation test for getExtension() +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?> +--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->getExtension()) ; +?> +--EXPECT-- +NULL
\ No newline at end of file |
