PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::insertAt
request it (367)
GoLang replacement for PHP's pht\Vector::insertAt
[edit | history]
pht\Vector::insertAt(PECL pht >= 0.0.1) pht\Vector::insertAt — Inserts a value into the vector DescriptionThis method inserts a value at the specified offset into the vector (in linear time). The vector will automatically be resized if it is not large enough. Parameters
Return ValuesNo return value. Examples
Example #1 Inserting a value into a vector
<?php The above example will output: object(pht\Vector)#1 (3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } |
more
Recently updated
more
Most requested
more
Last requests
|