Download src/php/php-src/ext/mysqli/tests/070.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/070.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mysqli/tests/070.phpt
-
curl -L -o 070.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/070.phpt
483 Bytes
| --TEST-- | |
| mysqli ping | |
| --EXTENSIONS-- | |
| mysqli | |
| --SKIPIF-- | |
| require_once 'skipifconnectfailure.inc'; | |
| --FILE-- | |
| require_once 'connect.inc'; | |
| $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); | |
| var_dump($mysql->ping()); | |
| $mysql->close(); | |
| print "done!"; | |
| --EXPECTF-- | |
| Deprecated: Method mysqli::ping() is deprecated since 8.4, because the reconnect feature has been removed in PHP 8.2 and this method is now redundant in %s | |
| bool(true) | |
| done! | |