Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/pdo_mysql/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/pdo_mysql/tests/bug75177.phpt |
--TEST-- PDO MySQL Bug #75177 Type 'bit' is fetched as unexpected string --SKIPIF-- <?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); ?> --FILE-- <?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); $pdo = MySQLPDOTest::factory(); $tbl = "tbl_bug75177"; $pdo->query("DROP TABLE IF EXISTS $tbl"); $pdo->query("CREATE TABLE $tbl (`bit` bit(8)) ENGINE=InnoDB"); $pdo->query("INSERT INTO $tbl (`bit`) VALUES (1)"); $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b011)"); $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b01100)"); $ret = $pdo->query("SELECT * FROM $tbl")->fetchAll(); foreach ($ret as $i) { var_dump($i["bit"]); } ?> ==DONE== --EXPECT-- string(1) "1" string(1) "3" string(2) "12" ==DONE==
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare