PHP » GoLang |
login |
register |
about
|
pg_version(PHP 5, PHP 7) pg_version — Returns an array with client, protocol and server version (when available) Description
array pg_version
([ resource
$connection
] )pg_version() returns an array with the client, protocol and server version. Protocol and server versions are only available if PHP was compiled with PostgreSQL 7.4 or later. For more detailed server information, use pg_parameter_status(). Parameters
Return Values
Returns an array with client, protocol
and server keys and values (if available). Returns
Examples
Example #1 pg_version() example
<?php The above example will output: 7.4 |
more
Recently updated
more
Most requested
more
Last requests
|