mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

For rationale, see #6787 Extensions migrated in part 4: * simplexml * skeleton * soap * spl * sqlite3 * sysvmsg * sysvsem * tidy - also removed a check for an ancient dependency version
18 lines
365 B
PHP
18 lines
365 B
PHP
--TEST--
|
|
tidy_access_count() function - basic test for tidy_access_count()
|
|
--CREDITS--
|
|
Christian Wenz <wenz@php.net>
|
|
--EXTENSIONS--
|
|
tidy
|
|
--FILE--
|
|
<?php
|
|
$buffer = '<img src="file.png" /><php>';
|
|
$config = array(
|
|
'accessibility-check' => 1);
|
|
|
|
$tidy = tidy_parse_string($buffer, $config);
|
|
$tidy->diagnose();
|
|
var_dump(tidy_access_count($tidy));
|
|
?>
|
|
--EXPECTF--
|
|
int(%d)
|