Download src/php/php-src/ext/pdo_sqlite/tests/gh13991.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_sqlite/tests/gh13991.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pdo_sqlite/tests/gh13991.phpt
-
curl -L -o gh13991.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pdo_sqlite/tests/gh13991.phpt
395 Bytes
| --TEST-- | |
| Fix GH-13984: Buffer size is now checked before memcmp | |
| --EXTENSIONS-- | |
| pdo_sqlite | |
| --SKIPIF-- | |
| if (file_exists(getcwd() . '/13991db')) die('skip File "13991db" already exists.'); | |
| --FILE-- | |
| $dbfile = '13991db'; | |
| $db = new PDO('sqlite:' . $dbfile, null, null, [PDO::ATTR_PERSISTENT => true]); | |
| echo 'done!'; | |
| --CLEAN-- | |
| @unlink(getcwd() . '/13991db'); | |
| --EXPECT-- | |
| done! | |