diff options
author | Johannes Schlüter <johannes@php.net> | 2008-11-28 20:23:49 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2008-11-28 20:23:49 +0000 |
commit | cfc3bfdabb4546498c8aa16a46b49cd5095f0a9c (patch) | |
tree | b94f7043627704eb3764a49acb281f55fcf77b56 /ext/mysql/tests/mysql_error.phpt | |
parent | e651a09ddf6f4cef2cd9b66713a20dc3fa87225a (diff) | |
download | php-git-cfc3bfdabb4546498c8aa16a46b49cd5095f0a9c.tar.gz |
MFH: New param parsing for ext/mysql
Diffstat (limited to 'ext/mysql/tests/mysql_error.phpt')
-rw-r--r-- | ext/mysql/tests/mysql_error.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/mysql_error.phpt b/ext/mysql/tests/mysql_error.phpt index 2b3acb7197..b64982a42f 100644 --- a/ext/mysql/tests/mysql_error.phpt +++ b/ext/mysql/tests/mysql_error.phpt @@ -15,8 +15,8 @@ $link = NULL; if (false !== ($tmp = @mysql_error())) printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); -if (false !== ($tmp = @mysql_error($link))) - printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); +if (NULL !== ($tmp = @mysql_error($link))) + printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); if (!is_null($tmp = @mysql_error($link, 'too many args'))) printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); @@ -60,4 +60,4 @@ print "done!"; --EXPECTF-- Warning: mysql_error(): %d is not a valid MySQL-Link resource in %s on line %d bool(false) -done!
\ No newline at end of file +done! |