PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::deleteAt
request it (360)
GoLang replacement for PHP's pht\Vector::deleteAt
[edit | history]
pht\Vector::deleteAt(PECL pht >= 0.0.1) pht\Vector::deleteAt — Deletes a value in the vector Description
public void pht\Vector::deleteAt
( int
$offset
)This method deletes a value at the specified offset in the vector (in linear time). Since the pht\Vector class supports array access, deleting values can also be performed using the array subset notation ([]) in combination with the unset() function. Parameters
Return ValuesNo return value. Examples
Example #1 Deleting values in a vector
<?php The above example will output: object(pht\Vector)#1 (2) { [0]=> int(1) [1]=> int(4) } |
more
Recently updated
more
Most requested
more
Last requests
|