--- title: vector description: Array image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: vector [Back to constructors index](index.md) Array ### Type: [Vector t](../types/Vector t.md) ### Example: ```php $vector = ['_' => 'vector']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` {"_": "vector"} ``` Or, if you're into Lua: ```lua vector={_='vector'} ```