Annotation of embedaddon/php/ext/tidy/tests/032.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: tidy_error_count() function - basic test for tidy_error_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 = '<img src="file.png" /><php>';
12:
13: $tidy = tidy_parse_string($buffer);
14: var_dump(tidy_error_count($tidy));
15: ?>
16: --EXPECTF--
17: int(%d)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>