mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap
This commit is contained in:
parent
da68b946a1
commit
c26c072cba
1 changed files with 19 additions and 0 deletions
19
ext/reflection/tests/reflectionExtension_info_basic.phpt
Normal file
19
ext/reflection/tests/reflectionExtension_info_basic.phpt
Normal file
|
@ -0,0 +1,19 @@
|
|||
--TEST--
|
||||
ReflectionExtension::info()
|
||||
--CREDITS--
|
||||
Gerrit "Remi" te Sligte <remi@wolerized.com>
|
||||
Leon Luijkx <leon@phpgg.nl>
|
||||
--FILE--
|
||||
<?php
|
||||
$obj = new ReflectionExtension('reflection');
|
||||
ob_start();
|
||||
$testa = $obj->info();
|
||||
$testb = ob_get_clean();
|
||||
var_dump($testa);
|
||||
var_dump(strlen($testb) > 24);
|
||||
?>
|
||||
==DONE==
|
||||
--EXPECT--
|
||||
NULL
|
||||
bool(true)
|
||||
==DONE==
|
Loading…
Add table
Add a link
Reference in a new issue