mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
2bb8fbd0a8
since PostgreSQL 11, LLVM JIT feature had been brought thus reporting the settings to the client connection. Close GH-14566
22 lines
281 B
PHP
22 lines
281 B
PHP
--TEST--
|
|
PostgreSQL JIT support
|
|
--EXTENSIONS--
|
|
pgsql
|
|
--SKIPIF--
|
|
<?php include("inc/skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
include('inc/config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
var_dump(pg_jit($db));
|
|
pg_close($db);
|
|
?>
|
|
--EXPECTF--
|
|
array(2) {
|
|
["jit_provider"]=>
|
|
%s
|
|
["jit"]=>
|
|
%s
|
|
}
|