diff options
author | Ulf Wendel <uw@php.net> | 2009-05-28 14:11:41 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2009-05-28 14:11:41 +0000 |
commit | 85cb084fc5a5ecf06fb187ce25c632e05710cc24 (patch) | |
tree | 407c8f0b9af0ffd179ebea8bd943a30565868789 /ext/mysqli/tests/016.phpt | |
parent | ff1535fe73f498033a521ef96e1d2cbca9586b02 (diff) | |
download | php-git-85cb084fc5a5ecf06fb187ce25c632e05710cc24.tar.gz |
1) Changing EXPECT[F] sections to work with PHP 5.3 and PHP 6. 2) Merging a couple of fixes I applied to PHP 5.3 only yesterday. The changes should make it a little easier to do MFH and follow the rules in the future as we will soon have identical tests for PHP 5_3 and HEAD.
Diffstat (limited to 'ext/mysqli/tests/016.phpt')
-rw-r--r-- | ext/mysqli/tests/016.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/mysqli/tests/016.phpt b/ext/mysqli/tests/016.phpt index f2fafad462..286df398d3 100644 --- a/ext/mysqli/tests/016.phpt +++ b/ext/mysqli/tests/016.phpt @@ -1,14 +1,14 @@ --TEST-- -mysqli fetch user variable +mysqli fetch user variable --SKIPIF-- -<?php -require_once('skipif.inc'); +<?php +require_once('skipif.inc'); require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php include "connect.inc"; - + /*** test mysqli_connect 127.0.0.1 ***/ $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket); @@ -17,7 +17,7 @@ require_once('skipifconnectfailure.inc'); if (!$stmt = mysqli_prepare($link, "SELECT @dummy")) printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); - + mysqli_bind_result($stmt, $dummy); mysqli_execute($stmt); mysqli_fetch($stmt); @@ -29,5 +29,5 @@ require_once('skipifconnectfailure.inc'); print "done!"; ?> --EXPECTF-- -unicode(6) "foobar" -done! +%unicode|string%(6) "foobar" +done!
\ No newline at end of file |