summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/019.phpt
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-06-28 21:30:58 +0000
committerGeorg Richter <georg@php.net>2003-06-28 21:30:58 +0000
commit192fb9095e4d9e042535bbc0f14b759f72023c98 (patch)
treea70f223714ed09e5c6380ee4370cc504e1c127b6 /ext/mysqli/tests/019.phpt
parentf38bd95002cafb8e8b73d19b82c083d6bd5cb3e1 (diff)
downloadphp-git-192fb9095e4d9e042535bbc0f14b759f72023c98.tar.gz
changed tests (ysqli_bind_param and mysql_bind_result changes)
Diffstat (limited to 'ext/mysqli/tests/019.phpt')
-rw-r--r--ext/mysqli/tests/019.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/019.phpt b/ext/mysqli/tests/019.phpt
index 0e13f7520a..3983a94141 100644
--- a/ext/mysqli/tests/019.phpt
+++ b/ext/mysqli/tests/019.phpt
@@ -19,7 +19,7 @@ mysqli fetch (bind_param + bind_result)
col11 char(20))");
$stmt= mysqli_prepare($link,"INSERT INTO insert_read(col1,col10, col11) VALUES(?,?,?)");
- mysqli_bind_param($stmt, &$c1, MYSQLI_BIND_INT, &$c2, MYSQLI_BIND_STRING, &$c3, MYSQLI_BIND_STRING);
+ mysqli_bind_param($stmt, array(MYSQLI_BIND_INT, MYSQLI_BIND_STRING, MYSQLI_BIND_STRING), $c1, $c2, $c3);
$c1 = 1;
$c2 = "foo";
@@ -29,7 +29,7 @@ mysqli fetch (bind_param + bind_result)
mysqli_stmt_close($stmt);
$stmt = mysqli_prepare($link, "SELECT col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11 from insert_read");
- mysqli_bind_result($stmt, &$c1, &$c2, &$c3, &$c4, &$c5, &$c6, &$c7, &$c8, &$c9, &$c10, &$c11);
+ mysqli_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7, $c8, $c9, $c10, $c11);
mysqli_execute($stmt);
mysqli_fetch($stmt);