summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/mysql_fetch_field.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/tests/mysql_fetch_field.phpt')
-rw-r--r--ext/mysql/tests/mysql_fetch_field.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/tests/mysql_fetch_field.phpt b/ext/mysql/tests/mysql_fetch_field.phpt
index 7a50e23ca0..c46335f9d6 100644
--- a/ext/mysql/tests/mysql_fetch_field.phpt
+++ b/ext/mysql/tests/mysql_fetch_field.phpt
@@ -16,8 +16,8 @@ require_once('skipifconnectfailure.inc');
if (!is_null($tmp = @mysql_fetch_field()))
printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
- if (false !== ($tmp = @mysql_fetch_field($link)))
- printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
+ if (NULL !== ($tmp = @mysql_fetch_field($link)))
+ printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
require('table.inc');