diff options
author | Ulf Wendel <uw@php.net> | 2009-12-09 12:06:10 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2009-12-09 12:06:10 +0000 |
commit | 671ebe958a64b56d08c2c5a9ad174547c54fa7f3 (patch) | |
tree | 7f1ef4f870a0d1cbc12bf6992a578cdf03c0b8b0 /ext/mysqli/tests/mysqli_class_mysqli_interface.phpt | |
parent | bf377f6aab9536d70eac24380ed472db7d789e96 (diff) | |
download | php-git-671ebe958a64b56d08c2c5a9ad174547c54fa7f3.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_class_mysqli_interface.phpt')
-rw-r--r-- | ext/mysqli/tests/mysqli_class_mysqli_interface.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt b/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt index ad914b7343..b86f69c445 100644 --- a/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt +++ b/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt @@ -276,6 +276,6 @@ setting mysqli->unknown, mysqli_unknown = '13' setting mysqli->unknown, mysqli_unknown = 'friday' Access hidden properties for MYSLQI_STATUS_INITIALIZED (TODO documentation): -mysqli->connect_error = ''/%unicode|string% (''/%unicode|string%) +mysqli->connect_error = ''/NULL (''/NULL) mysqli->connect_errno = '0'/integer ('0'/integer) done!
\ No newline at end of file |