|
Ds\Set::clearRemoves all values. Description
public void Ds\Set::clear
( void
)
Removes all values from the set. ParametersThis function has no parameters. Return ValuesNo value is returned. ExamplesExample #1 Ds\Set::clear example
<?php The above example will output something similar to: Ds\Set Object ( [0] => 1 [1] => 2 [2] => 3 ) Ds\Set Object ( ) |