PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::updateAt
request it (353)
GoLang replacement for PHP's pht\Vector::updateAt
[edit | history]
pht\Vector::updateAt(PECL pht >= 0.0.1) pht\Vector::updateAt — Updates a value in the vector DescriptionThis method updates a value at the specified offset in the vector (in linear time). The vector will automatically be resized if it is not large enough. Since the pht\Vector class supports array access, updating values can also be performed using the array subset notation ([]). Parameters
Return ValuesNo return value. Examples
Example #1 Updating a value in a vector
<?php The above example will output: object(pht\Vector)#1 (2) { [0]=> int(3) [1]=> int(4) } |
more
Recently updated
more
Most requested
more
Last requests
|