summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/017.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/017.phpt')
-rw-r--r--ext/mysqli/tests/017.phpt32
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/mysqli/tests/017.phpt b/ext/mysqli/tests/017.phpt
index 7196ad48c6..0a1903abf8 100644
--- a/ext/mysqli/tests/017.phpt
+++ b/ext/mysqli/tests/017.phpt
@@ -8,28 +8,28 @@ require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
- require_once("connect.inc");
+ require_once("connect.inc");
- /*** test mysqli_connect 127.0.0.1 ***/
- $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
+ /*** test mysqli_connect 127.0.0.1 ***/
+ $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
- if (!$stmt = mysqli_prepare($link, "SELECT md5('bar'), database(), 'foo'"))
- printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+ if (!$stmt = mysqli_prepare($link, "SELECT md5('bar'), database(), 'foo'"))
+ printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
- mysqli_stmt_bind_result($stmt, $c0, $c1, $c2);
- mysqli_stmt_execute($stmt);
+ mysqli_stmt_bind_result($stmt, $c0, $c1, $c2);
+ mysqli_stmt_execute($stmt);
- mysqli_stmt_fetch($stmt);
- mysqli_stmt_close($stmt);
+ mysqli_stmt_fetch($stmt);
+ mysqli_stmt_close($stmt);
- $test = array($c0, $c1, $c2);
- if ($c1 !== $db) {
- echo "Different data\n";
- }
+ $test = array($c0, $c1, $c2);
+ if ($c1 !== $db) {
+ echo "Different data\n";
+ }
- var_dump($test);
- mysqli_close($link);
- print "done!";
+ var_dump($test);
+ mysqli_close($link);
+ print "done!";
?>
--EXPECTF--
array(3) {