PHP » GoLang |
login |
register |
about
|
GoLang pht\Vector::__construct
request it (613)
GoLang replacement for PHP's pht\Vector::__construct
[edit | history]
pht\Vector::__construct(PECL pht >= 0.0.1) pht\Vector::__construct — Vector creation DescriptionHandles the creation of a new vector. Parameters
Return ValuesNo return value. Examples
Example #1 Creating a new vector
<?phpThe above example will output:
object(pht\Vector)#1 (1) {
[0]=>
int(0)
}
object(pht\Vector)#2 (2) {
[0]=>
int(1)
[1]=>
int(1)
}
|
more
Most requested
more
Last requests
|