xref: /php-src/ext/tidy/tests/031.phpt (revision 7f2f0c00)
1--TEST--
2tidy_config_count() function - basic test for tidy_config_count()
3--CREDITS--
4Christian Wenz <wenz@php.net>
5--EXTENSIONS--
6tidy
7--FILE--
8<?php
9$buffer = '<html></html>';
10$config = array('doctype' => 'php');
11
12$tidy = tidy_parse_string($buffer, $config);
13var_dump(tidy_config_count($tidy));
14?>
15--EXPECTF--
16int(%d)
17