Download src/php/php-src/ext/pdo_mysql/tests/bug70272.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug70272.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pdo_mysql/tests/bug70272.phpt
-
curl -L -o bug70272.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_mysql/tests/bug70272.phpt
521 Bytes
| --TEST-- | |
| Bug #70272 (Segfault in pdo_mysql) | |
| --EXTENSIONS-- | |
| pdo_mysql | |
| --SKIPIF-- | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| MySQLPDOTest::skip(); | |
| --FILE-- | |
| $a = new stdClass(); | |
| $a->a = &$a; | |
| require_once __DIR__ . '/inc/mysql_pdo_test.inc'; | |
| $dummy = new stdClass(); | |
| $db = MySQLPDOTest::factory(); | |
| $dummy = null; | |
| $a->c = $db; | |
| $a->b = $db->prepare("select 1"); | |
| $a->d = $db->prepare("select 2"); | |
| $a->e = $db->prepare("select 3"); | |
| $a->f = $db->prepare("select 4"); | |
| gc_disable(); | |
| okey | |
| --EXPECT-- | |
| okey | |