PHP » GoLang |
login |
register |
about
|
GoLang Ds\Collection::clear
request it (304)
GoLang replacement for PHP's Ds\Collection::clear
[edit | history]
Ds\Collection::clear(PECL ds >= 1.0.0) Ds\Collection::clear — Removes all values Description
abstract public void Ds\Collection::clear
( void
)
Removes all values from the collection. ParametersThis function has no parameters. Return ValuesNo value is returned. ExamplesExample #1 Ds\Collection::clear() example
<?php The above example will output something similar to: Ds\Vector Object ( [0] => 1 [1] => 2 [2] => 3 ) Ds\Vector Object ( ) |
more
Recently updated
more
Most requested
more
Last requests
|