Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
pgsql /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
00version.phpt
964
B
-rw-rw-r--
2022-10-31 11:36
01createdb.phpt
747
B
-rw-rw-r--
2022-10-31 11:36
02connection.phpt
944
B
-rw-rw-r--
2022-10-31 11:36
03sync_query.phpt
1.85
KB
-rw-rw-r--
2022-10-31 11:36
04async_query.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
05large_object.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
06_bug73498.phpt
332
B
-rw-rw-r--
2022-10-31 11:36
06copy.phpt
299
B
-rw-rw-r--
2022-10-31 11:36
06copy_2.phpt
541
B
-rw-rw-r--
2022-10-31 11:36
07optional.phpt
460
B
-rw-rw-r--
2022-10-31 11:36
08escape.phpt
2.4
KB
-rw-rw-r--
2022-10-31 11:36
09notice.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
10pg_convert.phpt
459
B
-rw-rw-r--
2022-10-31 11:36
10pg_convert_9.phpt
524
B
-rw-rw-r--
2022-10-31 11:36
10pg_convert_json_array.phpt
663
B
-rw-rw-r--
2022-10-31 11:36
11pg_meta_data.phpt
1020
B
-rw-rw-r--
2022-10-31 11:36
12pg_insert.phpt
495
B
-rw-rw-r--
2022-10-31 11:36
12pg_insert_9.phpt
843
B
-rw-rw-r--
2022-10-31 11:36
13pg_select.phpt
655
B
-rw-rw-r--
2022-10-31 11:36
13pg_select_9.phpt
966
B
-rw-rw-r--
2022-10-31 11:36
14pg_update.phpt
711
B
-rw-rw-r--
2022-10-31 11:36
14pg_update_9.phpt
780
B
-rw-rw-r--
2022-10-31 11:36
15pg_delete.phpt
597
B
-rw-rw-r--
2022-10-31 11:36
16pg_result_status.phpt
362
B
-rw-rw-r--
2022-10-31 11:36
17result.phpt
1020
B
-rw-rw-r--
2022-10-31 11:36
18pg_escape_bytea_before.phpt
673
B
-rw-rw-r--
2022-10-31 11:36
18pg_escape_bytea_esc.phpt
668
B
-rw-rw-r--
2022-10-31 11:36
18pg_escape_bytea_hex.phpt
684
B
-rw-rw-r--
2022-10-31 11:36
19pg_ping.phpt
223
B
-rw-rw-r--
2022-10-31 11:36
20pg_get_pid.phpt
263
B
-rw-rw-r--
2022-10-31 11:36
21pg_get_notify.phpt
356
B
-rw-rw-r--
2022-10-31 11:36
22pg_fetch_object.phpt
649
B
-rw-rw-r--
2022-10-31 11:36
23sync_query_params.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
24sync_query_prepared.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
25async_query_params.phpt
1.64
KB
-rw-rw-r--
2022-10-31 11:36
26async_query_prepared.phpt
2.55
KB
-rw-rw-r--
2022-10-31 11:36
27large_object_oid.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
28large_object_import_oid.phpt
1.2
KB
-rw-rw-r--
2022-10-31 11:36
29nb_async_connect.phpt
908
B
-rw-rw-r--
2022-10-31 11:36
30nb_async_query_params.phpt
1.76
KB
-rw-rw-r--
2022-10-31 11:36
31nb_async_query_prepared.phpt
2.46
KB
-rw-rw-r--
2022-10-31 11:36
32nb_async_query.phpt
1.72
KB
-rw-rw-r--
2022-10-31 11:36
80_bug14383.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
80_bug24499.phpt
914
B
-rw-rw-r--
2022-10-31 11:36
80_bug27597.phpt
833
B
-rw-rw-r--
2022-10-31 11:36
80_bug32223.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
80_bug32223b.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
80_bug36625.phpt
930
B
-rw-rw-r--
2022-10-31 11:36
80_bug39971.phpt
587
B
-rw-rw-r--
2022-10-31 11:36
80_bug42783.phpt
620
B
-rw-rw-r--
2022-10-31 11:36
98old_api.phpt
674
B
-rw-rw-r--
2022-10-31 11:36
9999dropdb.phpt
318
B
-rw-rw-r--
2022-10-31 11:36
CONFLICTS
6
B
-rw-rw-r--
2022-10-31 11:36
README.md
700
B
-rw-rw-r--
2022-10-31 11:36
bug37100.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
bug37100_9.phpt
928
B
-rw-rw-r--
2022-10-31 11:36
bug46408.phpt
506
B
-rw-rw-r--
2022-10-31 11:36
bug47199.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
bug60244.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug64609.phpt
526
B
-rw-rw-r--
2022-10-31 11:36
bug65119.phpt
646
B
-rw-rw-r--
2022-10-31 11:36
bug68638.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
bug71062.phpt
987
B
-rw-rw-r--
2022-10-31 11:36
bug71998.phpt
2.91
KB
-rw-rw-r--
2022-10-31 11:36
bug72028.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
bug72195.phpt
315
B
-rw-rw-r--
2022-10-31 11:36
bug72197.phpt
679
B
-rw-rw-r--
2022-10-31 11:36
bug75419.phpt
306
B
-rw-rw-r--
2022-10-31 11:36
bug76548.phpt
423
B
-rw-rw-r--
2022-10-31 11:36
bug77047.phpt
955
B
-rw-rw-r--
2022-10-31 11:36
bug81720.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
close_default_link.phpt
276
B
-rw-rw-r--
2022-10-31 11:36
config.inc
964
B
-rw-rw-r--
2022-10-31 11:36
connect_after_close.phpt
323
B
-rw-rw-r--
2022-10-31 11:36
lcmess.inc
380
B
-rw-rw-r--
2022-10-31 11:36
nonblocking.inc
991
B
-rw-rw-r--
2022-10-31 11:36
pg_delete_001.phpt
2.2
KB
-rw-rw-r--
2022-10-31 11:36
pg_insert_001.phpt
868
B
-rw-rw-r--
2022-10-31 11:36
pg_insert_002.phpt
564
B
-rw-rw-r--
2022-10-31 11:36
pg_meta_data_001.phpt
2.37
KB
-rw-rw-r--
2022-10-31 11:36
pg_select_001.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
pg_update_001.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
php.gif
3.78
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
1007
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- PostgreSQL pg_select() (9.0+) --SKIPIF-- <?php include("skipif.inc"); skip_server_version('9.0', '<'); ?> --FILE-- <?php error_reporting(E_ALL); include 'config.inc'; $db = pg_connect($conn_str); pg_query("SET bytea_output = 'hex'"); $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ'); $ids = array('num'=>'1234'); $res = pg_select($db, $table_name, $ids) or print "Error\n"; var_dump($res); echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n"; echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n"; echo "Ok\n"; ?> --EXPECT-- array(2) { [0]=> array(3) { ["num"]=> string(4) "1234" ["str"]=> string(3) "AAA" ["bin"]=> string(8) "\x424242" } [1]=> array(3) { ["num"]=> string(4) "1234" ["str"]=> string(3) "AAA" ["bin"]=> string(8) "\x424242" } } SELECT * FROM "php_pgsql_test" WHERE "num"=1234; SELECT * FROM "php_pgsql_test" WHERE "num"='1234'; Ok