From 606de9e4a93c93ca5eea15cc04a82853a05fca65 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 5 Jul 2018 21:25:09 +0200 Subject: [PATCH] Fix inverted stristr() argument order in mysqli test --- ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt b/ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt index 658f7da77f..1cd2981ed2 100644 --- a/ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt +++ b/ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt @@ -38,7 +38,7 @@ if (!function_exists('mysqli_stmt_get_result')) $found = false; foreach ($engines as $k => $engine) foreach ($engine as $k => $v) - if (stristr('MyISAM', $v)) { + if (stristr($v, 'MyISAM')) { $found = true; break; } @@ -92,4 +92,4 @@ if (!function_exists('mysqli_stmt_get_result')) require_once("clean_table.inc"); ?> --EXPECT-- -done! \ No newline at end of file +done! -- 2.40.0