summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_kill.phpt
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-12-09 12:06:10 +0000
committerUlf Wendel <uw@php.net>2009-12-09 12:06:10 +0000
commite76b3982f8d867d0edd7b8d544b2eccd590afde2 (patch)
tree9358f1ac2ce4b7e39077676b634fe7930376d1f4 /ext/mysqli/tests/mysqli_kill.phpt
parent37bbc5cda2c6443d1514bb56e05679bbf4871146 (diff)
downloadphp-git-e76b3982f8d867d0edd7b8d544b2eccd590afde2.tar.gz
Adapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The behaviour is wrong according to the documentation: mysqli_connect_error() should return an empty string (not NULL), if there is no error. However, changing this would break BC and most users will not notice the difference between NULL and empty string anyway.
Diffstat (limited to 'ext/mysqli/tests/mysqli_kill.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_kill.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_kill.phpt b/ext/mysqli/tests/mysqli_kill.phpt
index f680a68137..5706adf46d 100644
--- a/ext/mysqli/tests/mysqli_kill.phpt
+++ b/ext/mysqli/tests/mysqli_kill.phpt
@@ -91,7 +91,7 @@ object(mysqli)#%d (%d) {
[%u|b%"connect_errno"]=>
int(0)
[%u|b%"connect_error"]=>
- %unicode|string%(0) ""
+ NULL
[%u|b%"errno"]=>
int(2006)
[%u|b%"error"]=>