PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::shift
request it (282)
GoLang replacement for PHP's pht\Vector::shift
[edit | history]
pht\Vector::shift(PECL pht >= 0.0.1) pht\Vector::shift — Shifts a value from the vector DescriptionThis method shifts a value from the front of a vector (in linear time). Shifting a value from an empty vector will result in an Error exception. ParametersThis function has no parameters. Return ValuesThe value from the front of the vector. Examples
Example #1 Shifting a value from a vector
<?php The above example will output: int(1) |
more
Recently updated
more
Most requested
more
Last requests
|