Download src/php/php-src/ext/pdo_mysql/tests/bug_43371.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug_43371.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pdo_mysql/tests/bug_43371.phpt
-
curl -L -o bug_43371.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug_43371.phpt
405 Bytes
| --TEST-- | |
| Bug #43371 (Memory errors in PDO constructor) | |
| --EXTENSIONS-- | |
| pdo_mysql | |
| --SKIPIF-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| MySQLPDOTest::skip(); | |
| --FILE-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| $dsn = MySQLPDOTest::getDSN(); | |
| $db = new PDO($dsn, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, array(PDO::ATTR_PERSISTENT => true)); | |
| print "done!"; | |
| --EXPECT-- | |
| done! | |