PHP 8.4.22 Released!

pg_jit

(PHP 8 >= 8.4.0)

pg_jitReturns the JIT information of the server

Description

function pg_jit(?PgSql\Connection $connection = null): array

pg_jit() returns an array with the JIT (Just-In-Time compilation) information of the PostgreSQL server.

Parameters

connection

An PgSql\Connection instance. When connection is null, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().

Warning

As of PHP 8.1.0, using the default connection is deprecated.

Return Values

Returns an array containing the JIT information of the server.

See Also

  • pg_version() - Returns an array with client, protocol and server version (when available)
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top