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

1.1     ! misho       1: --TEST--
        !             2: DOMDocument::saveHTML() should fail if called statically
        !             3: --CREDITS--
        !             4: Knut Urdalen <knut@php.net>
        !             5: #PHPTestFest2009 Norway 2009-06-09 \o/
        !             6: --SKIPIF--
        !             7: <?php
        !             8: require_once dirname(__FILE__) .'/skipif.inc';
        !             9: ?>
        !            10: --FILE--
        !            11: <?php
        !            12: DOMDocument::saveHTML(true);
        !            13: ?>
        !            14: --EXPECTF--
        !            15: Fatal error: Non-static method DOMDocument::saveHTML() cannot be called statically in %s on line %d

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