php-src/ext/reflection/tests/reflectionExtension_getDependencies_variation2.phpt
2008-06-12 21:25:28 +00:00

17 lines
346 B
PHP

--TEST--
ReflectionExtension::getDependencies() method on an extension with one optional dependency
--CREDITS--
Felix De Vliegher <felix.devliegher@gmail.com>
--FILE--
<?php
$standard = new ReflectionExtension('standard');
var_dump($standard->getDependencies());
?>
==DONE==
--EXPECTF--
array(1) {
[%s"session"]=>
%s(8) "Optional"
}
==DONE==