Annotation of embedaddon/php/ext/dom/tests/DOMDocument_config_basic.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Tests DOMDocument::config read
        !             3: --CREDITS--
        !             4: Chris Snyder <chsnyder@gmail.com>
        !             5: # TestFest 2009 NYPHP
        !             6: --SKIPIF--
        !             7: <?php require_once('skipif.inc'); ?>
        !             8: --FILE--
        !             9: <?php
        !            10: // create dom document
        !            11: $dom = new DOMDocument;
        !            12: echo "DOMDocument created\n";
        !            13: 
        !            14: $test = $dom->config;
        !            15: echo "Read config:\n";
        !            16: var_dump( $test );
        !            17: 
        !            18: // note -- will always be null as DOMConfiguration is not implemented in PHP
        !            19: 
        !            20: echo "Done\n";
        !            21: ?>
        !            22: --EXPECT--
        !            23: DOMDocument created
        !            24: Read config:
        !            25: NULL
        !            26: Done

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