ReflectionExtension_getDependencies_variation2.phpt 344 B

12345678910111213141516
  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==