diff options
| author | Sebastian Bergmann <sebastian@php.net> | 2009-04-08 16:09:16 +0000 | 
|---|---|---|
| committer | Sebastian Bergmann <sebastian@php.net> | 2009-04-08 16:09:16 +0000 | 
| commit | 03b1d4f876daf5e6a36d7b167b980abda3c1d3e1 (patch) | |
| tree | 6173dd0a6a037431d332883465a35aa770d2c9dc /ext/reflection/tests/ReflectionExtension_export_basic.phpt | |
| parent | f8fc61244bf5ae72a248218f1d3190a418dc7d4f (diff) | |
| download | php-git-03b1d4f876daf5e6a36d7b167b980abda3c1d3e1.tar.gz | |
MFH: Rename reflection*.phpt to Reflection*.phpt for consistency.
Diffstat (limited to 'ext/reflection/tests/ReflectionExtension_export_basic.phpt')
| -rw-r--r-- | ext/reflection/tests/ReflectionExtension_export_basic.phpt | 22 | 
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/reflection/tests/ReflectionExtension_export_basic.phpt b/ext/reflection/tests/ReflectionExtension_export_basic.phpt new file mode 100644 index 0000000000..3fa7a66afd --- /dev/null +++ b/ext/reflection/tests/ReflectionExtension_export_basic.phpt @@ -0,0 +1,22 @@ +--TEST-- +ReflectionExtension::export() +--CREDITS-- +Gerrit "Remi" te Sligte <remi@wolerized.com> +Leon Luijkx <leon@phpgg.nl> +--FILE-- +<?php +ob_start(); +ReflectionExtension::export("reflection", true); +$test = ob_get_clean(); +var_dump(empty($test)); +unset($test); +ob_start(); +ReflectionExtension::export("reflection", false); +$test = ob_get_clean(); +var_dump(empty($test)); +?> +==DONE== +--EXPECT-- +bool(true) +bool(false) +==DONE==  | 
