summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/025.phpt
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-07-07 12:09:36 +0000
committerAndrey Hristov <andrey@php.net>2010-07-07 12:09:36 +0000
commitb580bc38758f7c0da42a8ae153656b9880ec7592 (patch)
tree3b6fce7d28e054626809e52166d4f5046e3fae2a /ext/mysqli/tests/025.phpt
parent25d6aee4fb950179fa1585a6f852fcddf94ee6d6 (diff)
downloadphp-git-b580bc38758f7c0da42a8ae153656b9880ec7592.tar.gz
Cleanup in trunk. Remove some functions, noted in
UPGRADING. sed-ed the tests to change the usage to the real function name.
Diffstat (limited to 'ext/mysqli/tests/025.phpt')
-rw-r--r--ext/mysqli/tests/025.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mysqli/tests/025.phpt b/ext/mysqli/tests/025.phpt
index 84a9f67a19..937d624165 100644
--- a/ext/mysqli/tests/025.phpt
+++ b/ext/mysqli/tests/025.phpt
@@ -25,7 +25,7 @@ require_once('skipifconnectfailure.inc');
c7 tinyint)");
$stmt = mysqli_prepare ($link, "INSERT INTO test_bind_fetch VALUES(?,?,?,?,?,?,?)");
- mysqli_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
+ mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
$c1 = -23;
$c2 = 300;
@@ -35,7 +35,7 @@ require_once('skipifconnectfailure.inc');
$c6 = 30;
$c7 = 0;
- mysqli_execute($stmt);
+ mysqli_stmt_execute($stmt);
mysqli_stmt_close($stmt);
mysqli_query($link, "INSERT INTO test_bind_fetch VALUES (-23,300,0,-100,-127,+30,0)");
@@ -43,9 +43,9 @@ require_once('skipifconnectfailure.inc');
$c1 = $c2 = $c3 = $c4 = $c5 = $c6 = $c7 = NULL;
$stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch");
- mysqli_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
- mysqli_execute($stmt);
- mysqli_fetch($stmt);
+ mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
+ mysqli_stmt_execute($stmt);
+ mysqli_stmt_fetch($stmt);
$test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);