summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/058.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/058.phpt')
-rw-r--r--ext/mysqli/tests/058.phpt50
1 files changed, 25 insertions, 25 deletions
diff --git a/ext/mysqli/tests/058.phpt b/ext/mysqli/tests/058.phpt
index d56ea50722..541be1ede4 100644
--- a/ext/mysqli/tests/058.phpt
+++ b/ext/mysqli/tests/058.phpt
@@ -7,46 +7,46 @@ 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);
- mysqli_select_db($link, $db);
+ mysqli_select_db($link, $db);
- mysqli_query($link,"DROP TABLE IF EXISTS mbind");
- mysqli_query($link,"CREATE TABLE mbind (a int, b varchar(10))");
+ mysqli_query($link,"DROP TABLE IF EXISTS mbind");
+ mysqli_query($link,"CREATE TABLE mbind (a int, b varchar(10))");
- $stmt = mysqli_prepare($link, "INSERT INTO mbind VALUES (?,?)");
+ $stmt = mysqli_prepare($link, "INSERT INTO mbind VALUES (?,?)");
- mysqli_stmt_bind_param($stmt, "is", $a, $b);
+ mysqli_stmt_bind_param($stmt, "is", $a, $b);
- $a = 1;
- $b = "foo";
+ $a = 1;
+ $b = "foo";
- mysqli_stmt_execute($stmt);
+ mysqli_stmt_execute($stmt);
- mysqli_stmt_bind_param($stmt, "is", $c, $d);
+ mysqli_stmt_bind_param($stmt, "is", $c, $d);
- $c = 2;
- $d = "bar";
+ $c = 2;
+ $d = "bar";
- mysqli_stmt_execute($stmt);
- mysqli_stmt_close($stmt);
+ mysqli_stmt_execute($stmt);
+ mysqli_stmt_close($stmt);
- $stmt = mysqli_prepare($link, "SELECT * FROM mbind");
- mysqli_stmt_execute($stmt);
+ $stmt = mysqli_prepare($link, "SELECT * FROM mbind");
+ mysqli_stmt_execute($stmt);
- mysqli_stmt_bind_result($stmt, $e, $f);
- mysqli_stmt_fetch($stmt);
+ mysqli_stmt_bind_result($stmt, $e, $f);
+ mysqli_stmt_fetch($stmt);
- mysqli_stmt_bind_result($stmt, $g, $h);
- mysqli_stmt_fetch($stmt);
+ mysqli_stmt_bind_result($stmt, $g, $h);
+ mysqli_stmt_fetch($stmt);
- var_dump((array($e,$f,$g,$h)));
+ var_dump((array($e,$f,$g,$h)));
- mysqli_close($link);
- print "done!";
+ mysqli_close($link);
+ print "done!";
?>
--CLEAN--
<?php