summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/bug37090.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/bug37090.phpt')
-rw-r--r--ext/mysqli/tests/bug37090.phpt37
1 files changed, 0 insertions, 37 deletions
diff --git a/ext/mysqli/tests/bug37090.phpt b/ext/mysqli/tests/bug37090.phpt
deleted file mode 100644
index de6043d38a..0000000000
--- a/ext/mysqli/tests/bug37090.phpt
+++ /dev/null
@@ -1,37 +0,0 @@
---TEST--
-bug #37090: mysqli_set_charset return code
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
- include "connect.inc";
-
- $mysql = new mysqli($host, $user, $passwd);
-
- $cs = array();
- $cs[] = $mysql->set_charset("latin5");
- $cs[] = $mysql->character_set_name();
-
- $cs[] = $mysql->set_charset("utf8");
- $cs[] = $mysql->character_set_name();
-
- $cs[] = $mysql->set_charset("notdefined");
- $cs[] = $mysql->character_set_name();
-
- var_dump($cs);
-?>
---EXPECT--
-array(6) {
- [0]=>
- bool(true)
- [1]=>
- string(6) "latin5"
- [2]=>
- bool(true)
- [3]=>
- string(4) "utf8"
- [4]=>
- bool(false)
- [5]=>
- string(4) "utf8"
-}