(PHP 5, PHP 7)
$index
The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.
length - 1