summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/031.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/031.phpt')
-rw-r--r--ext/mysqli/tests/031.phpt24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/mysqli/tests/031.phpt b/ext/mysqli/tests/031.phpt
deleted file mode 100644
index 61bfb5bb32..0000000000
--- a/ext/mysqli/tests/031.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-function test: mysqli_error
---FILE--
-<?php
- $user = "root";
- $passwd = "";
-
- /*** test mysqli_connect 127.0.0.1 ***/
- $link = mysqli_connect("localhost", $user, $passwd);
- $error = mysqli_error($link);
- var_dump($error);
-
- mysqli_select_db($link, "test");
-
- mysqli_query($link, "select * from non_exisiting_table");
- $error = mysqli_error($link);
-
- var_dump($error);
-
- mysqli_close($link);
-?>
---EXPECT--
-string(0) ""
-string(46) "Table 'test.non_exisiting_table' doesn't exist"