xmlArray::count

Description

Returns the number of elements the path matches.

Syntax

int xmlArray::count (string $path)



Parameter $path

Expected type: String
Description: A path



Return value

Expected type: Integer
Description:


Notes

  • Example: $xml->count('html/head/meta');
Advertisement: