---
title: vector
description: A universal vector constructor.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: vector  
[Back to constructors index](index.md)



A universal vector constructor.




### Type: [Vector t](../types/Vector t.md)


### Example:

```php
$vector = ['_' => 'vector'];
```  


Or, if you're into Lua:

```lua
vector={_='vector'}

```


