diff options
| author | Ulf Wendel <uw@php.net> | 2009-09-21 11:54:15 +0000 |
|---|---|---|
| committer | Ulf Wendel <uw@php.net> | 2009-09-21 11:54:15 +0000 |
| commit | 47b209a3cdb584bf4c7f81e207ec5f671b8da0de (patch) | |
| tree | 8516ad26d5a03c16fdf1747e1e02548ffbcf9ddb /ext/mysqli | |
| parent | d49abc273695d471f48977da9341e98caf552028 (diff) | |
| download | php-git-47b209a3cdb584bf4c7f81e207ec5f671b8da0de.tar.gz | |
Fixing test
Diffstat (limited to 'ext/mysqli')
| -rw-r--r-- | ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt b/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt index 07a0ff34d6..24d4314f1f 100644 --- a/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt +++ b/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt @@ -151,12 +151,13 @@ require_once('skipifconnectfailure.inc'); printf("[025] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); findRow(26, $link, $id_ref_ref, $label_ref_ref); + unset($id); + unset($label); $id = 102; $label = new stdClass(); $label->label = 'y'; $id_ref = &$GLOBALS['id']; $label_ref = &$label->label; - if (true !== ($tmp = mysqli_stmt_bind_param($stmt, "is", $id_ref, $label_ref))) printf("[027] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); if (true !== @mysqli_stmt_execute($stmt)) |
