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 : /usr/local/src/php7/php-7.0.5/ext/pdo_mysql/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt |
--TEST-- MySQL PDO phpinfo() output --SKIPIF-- <?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); $db = MySQLPDOTest::factory(); ?> --FILE-- <?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); $db = MySQLPDOTest::factory(); ob_start(); phpinfo(); $tmp = ob_get_contents(); ob_end_clean(); /* PDO Driver for MySQL, client library version => 6.0.3-alpha */ $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/'); if (!preg_match("/$reg/", $tmp)) { printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n"); } print "done!"; ?> --EXPECT-- done!
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare