svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt
trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt

From: Date: Mon, 21 Sep 2009 11:54:15 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt
trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60446@lists.php.net to get a copy of this message
uw Mon, 21 Sep 2009 11:54:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288522 Log: Fixing test Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt U php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt 2009-09-21 11:51:47 UTC (rev 288521) +++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt 2009-09-21 11:54:15 UTC (rev 288522) @@ -151,12 +151,13 @@ 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)) Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt =================================================================== --- php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt 2009-09-21 11:51:47 UTC (rev 288521) +++ php/php-src/trunk/ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt 2009-09-21 11:54:15 UTC (rev 288522) @@ -151,12 +151,13 @@ 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))

« previous php.cvs (#60446) next »