array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.pg-jit.php', 1 => 'pg_jit', 2 => 'Returns the JIT information of the server', ), 'up' => array ( 0 => 'ref.pgsql.php', 1 => 'PostgreSQL 函数', ), 'prev' => array ( 0 => 'function.pg-insert.php', 1 => 'pg_insert', ), 'next' => array ( 0 => 'function.pg-last-error.php', 1 => 'pg_last_error', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pgsql/functions/pg-jit.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

pg_jit

(PHP 8 >= 8.4.0)

pg_jitReturns the JIT information of the server

说明

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.

参数

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().

警告

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

返回值

Returns an array containing the JIT information of the server.

参见