Download src/php/php-src/ext/mysqli/tests/bug30967.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/bug30967.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mysqli/tests/bug30967.phpt
-
curl -L -o bug30967.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mysqli/tests/bug30967.phpt
506 Bytes
| --TEST-- | |
| Bug #30967 (problems with properties declared in the class extending the class extending MySQLi) | |
| --EXTENSIONS-- | |
| mysqli | |
| --SKIPIF-- | |
| require_once 'skipifconnectfailure.inc'; | |
| --FILE-- | |
| require_once 'connect.inc'; | |
| class mysql1 extends mysqli { | |
| } | |
| class mysql2 extends mysql1 { | |
| } | |
| $mysql = new mysql2($host, $user, $passwd, $db, $port, $socket); | |
| $mysql->query("THIS DOES NOT WORK"); | |
| printf("%d\n", $mysql->errno); | |
| $mysql->close(); | |
| --EXPECT-- | |
| 1064 | |