DOMDocument_implementationRead_basic.phpt 374 B

123456789101112131415161718192021
  1. --TEST--
  2. DOMDocument::DOMImplementation - basic test for DomDocument::DOMImplementation
  3. --CREDITS--
  4. Lev Radin <prokurator@gmail.com>
  5. # TestFest 2009 NYPHP
  6. --SKIPIF--
  7. <?php require_once('skipif.inc'); ?>
  8. --FILE--
  9. <?php
  10. $doc = new DOMDocument;
  11. $doc->load(dirname(__FILE__)."/book.xml");
  12. var_dump($doc->implementation);
  13. ?>
  14. --EXPECTF--
  15. object(DOMImplementation)#%d (0) {
  16. }