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