略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: tidy::isXml

2024-05-03

tidy::isXml

tidy_is_xml

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

tidy::isXml -- tidy_is_xmlIndicates if the document is a generic (non HTML/XHTML) XML document

说明

面向对象风格

public tidy::isXml(): bool

过程化风格

tidy_is_xml(tidy $tidy): bool

Tells if the document is a generic (non HTML/XHTML) XML document.

参数

tidy

The Tidy 对象。

返回值

This function returns true if the specified tidy tidy is a generic XML document (non HTML/XHTML), or false otherwise.

警告

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/tidy.isxml.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3