Download src/php/php-src/ext/mysqli/tests/064.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/064.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mysqli/tests/064.phpt
-
curl -L -o 064.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/064.phpt
441 Bytes
| --TEST-- | |
| NULL binding | |
| --EXTENSIONS-- | |
| mysqli | |
| --SKIPIF-- | |
| require_once 'skipifconnectfailure.inc'; | |
| --FILE-- | |
| require_once 'connect.inc'; | |
| $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); | |
| $stmt = new mysqli_stmt($mysql, "SELECT NULL FROM DUAL"); | |
| $stmt->execute(); | |
| $stmt->bind_result($foo); | |
| $stmt->fetch(); | |
| $stmt->close(); | |
| $mysql->close(); | |
| var_dump($foo); | |
| --EXPECT-- | |
| NULL | |