PHP » GoLang |
login |
register |
about
|
Ds\Stack::peek(PECL ds >= 1.0.0) Ds\Stack::peek — Returns the value at the top of the stack DescriptionReturns the value at the top of the stack, but does not remove it. ParametersThis function has no parameters. Return ValuesThe value at the top of the stack. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\Stack::peek() example
<?php The above example will output something similar to: string(1) "c" |
more
Recently updated
more
Most requested
more
Last requests
|