summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionExtension_getDependencies_variation2.phpt
blob: 5b0ade5da28b639c796cd2bfdd3b98f22a5629ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--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) {
  ["session"]=>
  %s(8) "Optional"
}
==DONE==