PHPerKaigi 2021

tidy::isXhtml

tidy_is_xhtml

(PHP 5, PHP 7, PHP 8, PECL tidy >= 0.5.2)

tidy::isXhtml -- tidy_is_xhtmlIndicates if the document is a XHTML document

说明

面向对象风格

public tidy::isXhtml ( ) : bool

过程化风格

tidy_is_xhtml ( tidy $tidy ) : bool

Tells if the document is a XHTML document.

参数

tidy

The Tidy 对象。

返回值

This function returns true if the specified tidy tidy is a XHTML document, or false otherwise.

警告

This function is not yet implemented in the Tidylib itself, so it always return false.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top