The CachingIterator::getFlags() function is an inbuilt function in PHP which is used to get the bitmask of the flags used for this CachingIterator instance.
int CachingIterator::getFlags( void )
Parameters: This function does not accept any parameters.
Return Value: This function returns the flags used for this CachingIterator instance.
Below programs illustrate the CachingIterator::getFlags() function in PHP:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.