com php-src: Fix inverted stristr() argument order in mysqli test: ext/mysqli/tests/mysqli_stmt_get_result_non_select. phpt
| From: | Nikita Popov | Date: | Thu, 05 Jul 2018 19:25:21 +0000 |
| Subject: | com php-src: Fix inverted stristr() argument order in mysqli test: ext/mysqli/tests/mysqli_stmt_get_result_non_select. phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102430@lists.php.net to get a copy of this message | ||
Commit: 606de9e4a93c93ca5eea15cc04a82853a05fca65
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 5 Jul 2018 21:25:09 +0200
Parents: a0573841130b1d5a6bfb057d62605589e8055fea
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=606de9e4a93c93ca5eea15cc04a82853a05fca65
Log:
Fix inverted stristr() argument order in mysqli test
Changed paths:
M ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt
Diff:
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 658f7da..1cd2981 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!