Annotation of embedaddon/php/ext/reflection/tests/ReflectionExtension_getDependencies_basic.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: ReflectionExtension::getDependencies() method on an extension with a required and conflicting dependency
        !             3: --CREDITS--
        !             4: Felix De Vliegher <felix.devliegher@gmail.com>
        !             5: --SKIPIF--
        !             6: <?php
        !             7: if (!extension_loaded("dom")) die("skip no dom extension");
        !             8: ?>
        !             9: --FILE--
        !            10: <?php
        !            11: $dom = new ReflectionExtension('dom');
        !            12: var_dump($dom->getDependencies());
        !            13: ?>
        !            14: ==DONE==
        !            15: --EXPECTF--
        !            16: array(2) {
        !            17:   ["libxml"]=>
        !            18:   %s(8) "Required"
        !            19:   ["domxml"]=>
        !            20:   %s(9) "Conflicts"
        !            21: }
        !            22: ==DONE==

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>