summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/066.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/066.phpt')
-rw-r--r--ext/mysqli/tests/066.phpt28
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/mysqli/tests/066.phpt b/ext/mysqli/tests/066.phpt
deleted file mode 100644
index 01434f8d3f..0000000000
--- a/ext/mysqli/tests/066.phpt
+++ /dev/null
@@ -1,28 +0,0 @@
---TEST--
-function test: mysqli_warning object
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
- include "connect.inc";
-
- /*** test mysqli_connect 127.0.0.1 ***/
- $mysql = new mysqli($host, $user, $passwd, "test");
-
- $mysql->query("DROP TABLE IF EXISTS test_warnings");
-
- $mysql->query("CREATE TABLE test_warnings (a int not null)");
-
- $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
-
- if (($warning = new mysqli_warning($mysql))) {
- do {
- printf("Warning\n");
- } while ($warning->next());
- }
-
- $mysql->close();
-?>
---EXPECT--
-Warning