diff options
| author | Johannes Schlüter <johannes@php.net> | 2008-12-01 21:20:47 +0000 |
|---|---|---|
| committer | Johannes Schlüter <johannes@php.net> | 2008-12-01 21:20:47 +0000 |
| commit | 1ece804688971fd75c274cbfa5c398438cc1548a (patch) | |
| tree | 6bf923569af90236d16df8b3ad16571af13abbc9 /ext/mysql/tests/mysql_fetch_array.phpt | |
| parent | 91ce2d596372a1328f10a9aceee477326f458d00 (diff) | |
| download | php-git-1ece804688971fd75c274cbfa5c398438cc1548a.tar.gz | |
MFH: Fix mysql_fetch_* and tests after param parsing changes
Diffstat (limited to 'ext/mysql/tests/mysql_fetch_array.phpt')
| -rw-r--r-- | ext/mysql/tests/mysql_fetch_array.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/tests/mysql_fetch_array.phpt b/ext/mysql/tests/mysql_fetch_array.phpt index c3a70ea55c..729523514a 100644 --- a/ext/mysql/tests/mysql_fetch_array.phpt +++ b/ext/mysql/tests/mysql_fetch_array.phpt @@ -15,8 +15,8 @@ $link = NULL; if (NULL !== ($tmp = @mysql_fetch_array())) printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); -if (false !== ($tmp = @mysql_fetch_array($link))) - printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); +if (NULL != ($tmp = @mysql_fetch_array($link))) + printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); require('table.inc'); if (!$res = mysql_query("SELECT * FROM test ORDER BY id LIMIT 5", $link)) { |
