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_num_fields.phpt | |
parent | e651a09ddf6f4cef2cd9b66713a20dc3fa87225a (diff) | |
download | php-git-cfc3bfdabb4546498c8aa16a46b49cd5095f0a9c.tar.gz |
MFH: New param parsing for ext/mysql
Diffstat (limited to 'ext/mysql/tests/mysql_num_fields.phpt')
-rw-r--r-- | ext/mysql/tests/mysql_num_fields.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/mysql_num_fields.phpt b/ext/mysql/tests/mysql_num_fields.phpt index c49234a0a3..3ec305ea2d 100644 --- a/ext/mysql/tests/mysql_num_fields.phpt +++ b/ext/mysql/tests/mysql_num_fields.phpt @@ -15,8 +15,8 @@ $link = NULL; if (!is_null($tmp = @mysql_num_fields())) printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); -if (false !== ($tmp = @mysql_num_fields($link))) - printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); +if (NULL !== ($tmp = @mysql_num_fields($link))) + printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); require('table.inc'); @@ -49,4 +49,4 @@ print "done!"; ?> --EXPECTF-- Warning: mysql_num_fields(): %d is not a valid MySQL result resource in %s on line %d -done!
\ No newline at end of file +done! |