Home
last modified time | relevance | path

Searched refs:pg_query_params (Results 1 – 13 of 13) sorted by relevance

/php-src/ext/pgsql/tests/
H A D23sync_query_params.phpt8 if (!function_exists('pg_query_params')) die('skip function pg_query_params() does not exist');
20 $result = pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
43 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
44 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
52 $result = pg_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC"…
H A Dgh13354.phpt32 // method 2, pg_query_params
33 $res = pg_query_params($db, $query, $params_null);
34 echo "pg_query_params, null value: " . pg_fetch_result($res, 0, 0) . "\n";
37 $res = pg_query_params($db, $query, $params_null_by_ref);
38 echo "pg_query_params, null value by reference: " . pg_fetch_result($res, 0, 0) . "\n";
75 pg_query_params, null value: t
76 pg_query_params, null value by reference: t
H A Dbug72028.phpt2 Bug #72028 pg_query_params(): NULL converts to empty string
22 $result = pg_query_params($conn, $sql, $params);
30 $result = pg_query_params($conn, $sql, $params2);
H A Dbug46408.phpt2 Bug #46408 (Locale number format settings can cause pg_query_params to break with numerics)
20 pg_query_params($dbh, "SELECT $1::numeric", array(3.5));
H A Dbug81720.phpt2 Bug #81720 (Uninitialized array in pg_query_params() leading to RCE)
14 pg_query_params($conn, 'SELECT $1, $2', [1, new stdClass()]);
H A D25async_query_params.phpt51 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
52 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D30nb_async_query_params.phpt52 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
53 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D26async_query_prepared.phpt65 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
66 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D31nb_async_query_prepared.phpt67 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
68 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A Ddeprecated_implicit_default_link.phpt18 pg_query_params('str', []);
87 Deprecated: pg_query_params(): Automatic fetching of PostgreSQL connection is deprecated in %s on l…
/php-src/ext/pgsql/
H A Dpgsql_arginfo.h476 ZEND_FUNCTION(pg_query_params);
574 ZEND_FE(pg_query_params, arginfo_pg_query_params)
H A Dpgsql.stub.php525 function pg_query_params($connection, $query, array $params = UNKNOWN): PgSql\Result|false {} function
H A Dpgsql.c1065 PHP_FUNCTION(pg_query_params) in PHP_FUNCTION() argument

Completed in 28 milliseconds