pht\Vector::__construct
Vector creation
&reftitle.description;
public Vectorpht\Vector::__construct
intsize0
mixedvalue0
Handles the creation of a new vector.
&reftitle.parameters;
size
The size of the vector that will be created.
value
The value to initialise the empty slots in the vector to.
&reftitle.returnvalues;
No return value.
&reftitle.examples;
Creating a new vector
&example.outputs;
int(0)
}
object(pht\Vector)#2 (2) {
[0]=>
int(1)
[1]=>
int(1)
}
]]>