PHP 7.1.18 Released

DOMNodeList::count

(No version information available, might only be in Git)

DOMNodeList::countGet number of nodes in the list

说明

public int DOMNodeList::count ( void )

参数

此函数没有参数。

返回值

Returns number of nodes in the list 或者在失败时返回 FALSE.

add a note add a note

User Contributed Notes 1 note

up
1
plimpton47 at example dot com
23 days ago
Be careful with using this function as it's not available for anything before PHP 7.2, use the length property instead
To Top