PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::resize
request it (592)
GoLang replacement for PHP's pht\Vector::resize
[edit | history]
pht\Vector::resize(PECL pht >= 0.0.1) pht\Vector::resize — Resizes a vector Description
Resizes the vector. If it is enlarged, then the Parameters
Return ValuesNo return value. Examples
Example #1 Resizing a vector
<?phpThe above example will output:
object(pht\Vector)#1 (1) {
[0]=>
int(0)
}
object(pht\Vector)#1 (2) {
[0]=>
int(0)
[1]=>
int(1)
}
object(pht\Vector)#1 (1) {
[0]=>
int(0)
}
|
more
Most requested
more
Last requests
|