Download src/php/php-src/ext/pdo_mysql/tests/bug71569.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug71569.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pdo_mysql/tests/bug71569.phpt
-
curl -L -o bug71569.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug71569.phpt
488 Bytes
| --TEST-- | |
| Bug #71569 (#70389 fix causes segmentation fault) | |
| --EXTENSIONS-- | |
| pdo_mysql | |
| --SKIPIF-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| MySQLPDOTest::skip(); | |
| --FILE-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| try { | |
| new PDO(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, [ | |
| PDO::MYSQL_ATTR_INIT_COMMAND => null, | |
| ]); | |
| } catch (PDOException $e) { | |
| echo $e->getMessage(); | |
| } | |
| --EXPECT-- | |
| SQLSTATE[42000] [1065] Query was empty | |