-
Notifications
You must be signed in to change notification settings - Fork 20
Nodes Length
Thomas Weinert edited this page Jul 29, 2014
·
2 revisions
Returns the count of the nodes.
$fd = new FluentDOM\Nodes(
'<items><item/><item/><item/></items>'
);
echo $fd->find('//item')->length;
Output:
3
See also: Countable
- Home
- Getting Started
- Tasks
- Plugins
- Functions
- Lists
- Creator (5.1)
- CSS Selectors
- Convertors
- Loaders
- Serializers (5.1)
- Transformers (5.1)
- Extended DOM
- XMLReader (6.1)
- XMLWriter (6.1)
- Interfaces