DOMImplementation_hasFeature_basic.phpt 253 B

123456789101112131415
  1. --TEST--
  2. DOMImplementation::hasFeature()
  3. --SKIPIF--
  4. <?php
  5. include('skipif.inc');
  6. ?>
  7. --FILE--
  8. <?php
  9. $imp = new DOMImplementation();
  10. var_dump($imp->hasFeature('Core', '1.0'));
  11. var_dump($imp->hasFeature('XML', '2.0'));
  12. ?>
  13. --EXPECTF--
  14. bool(true)
  15. bool(true)