Postgres First Element Of Array Php