Annotation of embedaddon/php/ext/tidy/tests/031.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: tidy_config_count() function - basic test for tidy_config_count()
        !             3: --CREDITS--
        !             4: Christian Wenz <wenz@php.net>
        !             5: --SKIPIF--
        !             6: <?php
        !             7:   if (!extension_loaded('tidy')) die ('skip tidy not present');
        !             8: ?>
        !             9: --FILE--
        !            10: <?php
        !            11: $buffer = '<html></html>';
        !            12: $config = array('doctype' => 'php');
        !            13: 
        !            14: $tidy = tidy_parse_string($buffer, $config);
        !            15: var_dump(tidy_config_count($tidy));
        !            16: ?>
        !            17: --EXPECTF--
        !            18: int(%d)

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