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

1.1     ! misho       1: --TEST--
        !             2: Bug #46849 (Cloning DOMDocument doesn't clone the properties).
        !             3: --SKIPIF--
        !             4: <?php require_once('skipif.inc'); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: $dom = new DOMDocument;
        !             8: $dom->formatOutput = 1;
        !             9: var_dump($dom->formatOutput);
        !            10: 
        !            11: $dom2 = clone $dom;
        !            12: var_dump($dom2->formatOutput);
        !            13: ?>
        !            14: --EXPECT--
        !            15: bool(true)
        !            16: bool(true)

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