Skip to content
PHP Ecosystem
Explore

ArrayParser

API reference › yii › db › pgsql › ArrayParser

classyii\db\pgsql\ArrayParser
Since2.0.14
Sourceframework/db/pgsql/ArrayParser.php

The class converts PostgreSQL array representation to PHP array

MethodDescriptionDefined by
parse()Convert array from PostgreSQL to PHPArrayParser
public function parse(string $value): array|null

Convert array from PostgreSQL to PHP

Parameters

ParameterTypeDescription
$valuestringString to be converted

Returns

array|null