PHP | DsCollection clear() Function
The Ds\Collection::clear() function is an inbuilt function in PHP which is used to remove all values from the collection. Syntax: Ds\Collection::clear( void ) Parameters: This function does not accepts any parameters. Return Value: This function does not return any value. Below programs illustrate t