xref: /PHP-7.0/ext/tidy/tests/031.phpt (revision 74560ac7)
1--TEST--
2tidy_config_count() function - basic test for tidy_config_count()
3--CREDITS--
4Christian 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);
15var_dump(tidy_config_count($tidy));
16?>
17--EXPECTF--
18int(%d)
19