diff options
author | Georg Richter <georg@php.net> | 2003-06-28 21:30:58 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-06-28 21:30:58 +0000 |
commit | 192fb9095e4d9e042535bbc0f14b759f72023c98 (patch) | |
tree | a70f223714ed09e5c6380ee4370cc504e1c127b6 /ext/mysqli/tests/022.phpt | |
parent | f38bd95002cafb8e8b73d19b82c083d6bd5cb3e1 (diff) | |
download | php-git-192fb9095e4d9e042535bbc0f14b759f72023c98.tar.gz |
changed tests (ysqli_bind_param and mysql_bind_result changes)
Diffstat (limited to 'ext/mysqli/tests/022.phpt')
-rw-r--r-- | ext/mysqli/tests/022.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/022.phpt b/ext/mysqli/tests/022.phpt index efd2fef8bd..cd0945e81b 100644 --- a/ext/mysqli/tests/022.phpt +++ b/ext/mysqli/tests/022.phpt @@ -14,7 +14,7 @@ mysqli bind_param/bind_result char/text long $stmt = mysqli_prepare($link, "INSERT INTO test_bind_fetch VALUES (?,?)"); - mysqli_bind_param($stmt, &$a1, MYSQLI_BIND_STRING, &$a2, MYSQLI_BIND_STRING); + mysqli_bind_param($stmt, array(MYSQLI_BIND_STRING, MYSQLI_BIND_STRING), $a1, $a2); $a1 = "1234567890"; $a2 = str_repeat("A1", 32000); @@ -23,7 +23,7 @@ mysqli bind_param/bind_result char/text long mysqli_stmt_close($stmt); $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch"); - mysqli_bind_result($stmt, &$c1, &$c2); + mysqli_bind_result($stmt, $c1, $c2); mysqli_execute($stmt); mysqli_fetch($stmt); |