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.41
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 /
pdo_pgsql /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
CONFLICTS
6
B
-rw-rw-r--
2022-10-31 11:36
bug36727.phpt
718
B
-rw-rw-r--
2022-10-31 11:36
bug43925.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
bug46274.phpt
1.67
KB
-rw-rw-r--
2022-10-31 11:36
bug46274_2.phpt
1.91
KB
-rw-rw-r--
2022-10-31 11:36
bug48764.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
bug61267.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
bug62479.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
bug62498-32bit.phpt
4.35
KB
-rw-rw-r--
2022-10-31 11:36
bug62498.phpt
4.35
KB
-rw-rw-r--
2022-10-31 11:36
bug62593.phpt
1.66
KB
-rw-rw-r--
2022-10-31 11:36
bug64953.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
bug66584.phpt
4.79
KB
-rw-rw-r--
2022-10-31 11:36
bug67462.phpt
926
B
-rw-rw-r--
2022-10-31 11:36
bug68199.phpt
2.81
KB
-rw-rw-r--
2022-10-31 11:36
bug68371.phpt
2.22
KB
-rw-rw-r--
2022-10-31 11:36
bug69344.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
bug69362.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
bug69752.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
bug70313.phpt
865
B
-rw-rw-r--
2022-10-31 11:36
bug70861.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
bug71573.phpt
703
B
-rw-rw-r--
2022-10-31 11:36
bug71885.phpt
1.06
KB
-rw-rw-r--
2022-10-31 11:36
bug71885_2.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
bug72294.phpt
3.16
KB
-rw-rw-r--
2022-10-31 11:36
bug72570.phpt
731
B
-rw-rw-r--
2022-10-31 11:36
bug72633.phpt
955
B
-rw-rw-r--
2022-10-31 11:36
bug73959.phpt
805
B
-rw-rw-r--
2022-10-31 11:36
bug75402.phpt
3.56
KB
-rw-rw-r--
2022-10-31 11:36
bug_33876.phpt
3.34
KB
-rw-rw-r--
2022-10-31 11:36
bug_49985.phpt
959
B
-rw-rw-r--
2022-10-31 11:36
bug_64705.phpt
427
B
-rw-rw-r--
2022-10-31 11:36
common.phpt
737
B
-rw-rw-r--
2022-10-31 11:36
config.inc
540
B
-rw-rw-r--
2022-10-31 11:36
copy_from.phpt
7.49
KB
-rw-rw-r--
2022-10-31 11:36
copy_to.phpt
3.74
KB
-rw-rw-r--
2022-10-31 11:36
debug_emulated_prepares.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
disable_prepares.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
getnotify.phpt
2.82
KB
-rw-rw-r--
2022-10-31 11:36
is_in_transaction.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
large_objects.phpt
2.45
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- PDO PgSQL Bug #62498 (pdo_pgsql inefficient when getColumnMeta() is used), 64-bit --SKIPIF-- <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded'); require __DIR__ . '/config.inc'; require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; PDOTest::skip(); if (PHP_INT_SIZE < 8) die("skip valid for 64-bit only"); ?> --FILE-- <?php echo "Begin test...\n"; require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; $db = PDOTest::test_factory(__DIR__ . '/common.phpt'); $db->setAttribute (\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); // create the table $db->exec("CREATE TEMPORARY TABLE bugtest_62498 (int2col INT2, int4col INT4, int8col INT8, stringcol VARCHAR(255), boolcol BOOLEAN, datecol DATE, textcol TEXT, tscol TIMESTAMP, byteacol BYTEA)"); // insert some data $statement = $db->prepare("INSERT INTO bugtest_62498 (int2col, int4col, int8col, stringcol, boolcol, datecol, textcol, tscol, byteacol) VALUES (:int2val, :int4val, :int8val, :stringval, :boolval, :dateval, :textval, :tsval, :byteaval)"); $vals = array( "int2val" => "42", "int4val" => "42", "int8val" => "42", "stringval" => "The Answer", "boolval" => true, "dateval" => '2015-12-14', "textval" => "some text", "tsval" => 19990108, "byteaval" => 0, ); $statement->execute($vals); $select = $db->query('SELECT int2col, int4col, int8col, stringcol, boolcol, datecol, textcol, tscol, byteacol FROM bugtest_62498'); $meta = []; for ($i=0; $i < count($vals); $i++) { $meta[] = $select->getColumnMeta($i); } var_dump($meta); ?> Done --EXPECTF-- Begin test... array(9) { [0]=> array(8) { ["pgsql:oid"]=> int(21) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "int2" ["name"]=> string(7) "int2col" ["len"]=> int(2) ["precision"]=> int(-1) ["pdo_type"]=> int(1) } [1]=> array(8) { ["pgsql:oid"]=> int(23) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "int4" ["name"]=> string(7) "int4col" ["len"]=> int(4) ["precision"]=> int(-1) ["pdo_type"]=> int(1) } [2]=> array(8) { ["pgsql:oid"]=> int(20) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "int8" ["name"]=> string(7) "int8col" ["len"]=> int(8) ["precision"]=> int(-1) ["pdo_type"]=> int(1) } [3]=> array(8) { ["pgsql:oid"]=> int(1043) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(7) "varchar" ["name"]=> string(9) "stringcol" ["len"]=> int(-1) ["precision"]=> int(259) ["pdo_type"]=> int(2) } [4]=> array(8) { ["pgsql:oid"]=> int(16) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "bool" ["name"]=> string(7) "boolcol" ["len"]=> int(1) ["precision"]=> int(-1) ["pdo_type"]=> int(5) } [5]=> array(8) { ["pgsql:oid"]=> int(1082) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "date" ["name"]=> string(7) "datecol" ["len"]=> int(4) ["precision"]=> int(-1) ["pdo_type"]=> int(2) } [6]=> array(8) { ["pgsql:oid"]=> int(25) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(4) "text" ["name"]=> string(7) "textcol" ["len"]=> int(-1) ["precision"]=> int(-1) ["pdo_type"]=> int(2) } [7]=> array(8) { ["pgsql:oid"]=> int(1114) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(9) "timestamp" ["name"]=> string(5) "tscol" ["len"]=> int(8) ["precision"]=> int(-1) ["pdo_type"]=> int(2) } [8]=> array(8) { ["pgsql:oid"]=> int(17) ["pgsql:table_oid"]=> int(%d) ["table"]=> string(13) "bugtest_62498" ["native_type"]=> string(5) "bytea" ["name"]=> string(8) "byteacol" ["len"]=> int(-1) ["precision"]=> int(-1) ["pdo_type"]=> int(3) } } Done