Annotation of embedaddon/php/ext/reflection/tests/ReflectionExtension_getDependencies_variation2.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: ReflectionExtension::getDependencies() method on an extension with one optional dependency
! 3: --CREDITS--
! 4: Felix De Vliegher <felix.devliegher@gmail.com>
! 5: --FILE--
! 6: <?php
! 7: $standard = new ReflectionExtension('standard');
! 8: var_dump($standard->getDependencies());
! 9: ?>
! 10: ==DONE==
! 11: --EXPECTF--
! 12: array(1) {
! 13: ["session"]=>
! 14: %s(8) "Optional"
! 15: }
! 16: ==DONE==
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>