Return the identifying key of the current element
Similar to the key() function for arrays. Implement Iterator::key()
Tags:
Implementation of:
- Iterator::key
bool match(
string
$pattern, [
&$matches = null], string
$matches)
|
|
Checks whether current file row matches given regexp pattern
If $matches is provided, then it is filled with the results of search.
Tags:
Parameters:
Check if there is a current element after calls to rewind() or next().
Used to check if we've iterated to the end of the collection.
This method checks if the next row is a valid row.
Tags:
Implementation of:
- Iterator::valid