Remove more PHP 6 leftovers from tests

This commit is contained in:
Nikita Popov 2016-11-22 22:12:07 +01:00
parent 895a82695c
commit 5af586bec5
294 changed files with 4208 additions and 4208 deletions

View File

@ -9,5 +9,5 @@ var_dump(ini_get("arg_separator.output"));
?>
--EXPECTF--
bool(false)
%unicode|string%(1) "&"
string(1) "&"

View File

@ -31,11 +31,11 @@ $x::c();
?>
--EXPECTF--
%unicode|string%(9) "__call::a"
string(9) "__call::a"
int(2)
%unicode|string%(9) "__call::c"
%unicode|string%(15) "__callStatic::a"
string(9) "__call::c"
string(15) "__callStatic::a"
Deprecated: Non-static method foo::b() should not be called statically in %s on line %d
int(2)
%unicode|string%(15) "__callStatic::c"
string(15) "__callStatic::c"

View File

@ -50,4 +50,4 @@ $c->func('This should work!');
?>
--EXPECTF--
%unicode|string%(26) "A::func: This should work!"
string(26) "A::func: This should work!"

View File

@ -46,8 +46,8 @@ $c->func('This should work!');
?>
--EXPECTF--
%unicode|string%(27) "A::func2: This should work!"
%unicode|string%(27) "A::func3: This should work!"
string(27) "A::func2: This should work!"
string(27) "A::func3: This should work!"
Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method A::func22() in %s on line %d

View File

@ -45,7 +45,7 @@ $c->func('This should work!');
?>
--EXPECTF--
%unicode|string%(27) "B::func2: This should work!"
%unicode|string%(27) "B::func3: This should work!"
string(27) "B::func2: This should work!"
string(27) "B::func3: This should work!"
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'B' does not have a method 'inexistent' in %s on line %d

View File

@ -17,8 +17,8 @@ new Foo;
?>
--EXPECTF--
%unicode|string%(3) "Foo"
%unicode|string%(3) "Bar"
string(3) "Foo"
string(3) "Bar"
Fatal error: Uncaught Exception: Bar in %s:%d
Stack trace:

View File

@ -14,7 +14,7 @@ call_user_func(array($foo, ''));
?>
--EXPECTF--
%unicode|string%(3) "foo"
string(3) "foo"
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found in %s on line %d

View File

@ -20,11 +20,11 @@ var_dump(call_user_func(function() use (&$foo) { return $foo; }, '__invoke'));
?>
--EXPECTF--
%unicode|string%(3) "OK!"
string(3) "OK!"
object(Closure)#%d (1) {
[%u|b%"static"]=>
["static"]=>
array(1) {
[%u|b%"instance"]=>
["instance"]=>
object(Closure)#%d (0) {
}
}

View File

@ -19,5 +19,5 @@ curl_close($ch);
?>
--EXPECTF--
%unicode|string%(%d) "%Srotocol%s"
string(%d) "%Srotocol%s"
int(1)

View File

@ -26,5 +26,5 @@ curl_close($ch);
?>
--EXPECTF--
%unicode|string%(%d) "%r(Couldn't resolve proxy|Could not resolve proxy:|Could not resolve host:|Could not resolve:)%r %s"
string(%d) "%r(Couldn't resolve proxy|Could not resolve proxy:|Could not resolve host:|Could not resolve:)%r %s"
int(5)

View File

@ -19,7 +19,7 @@ if ($curl_version['version_number'] > 0x071201) {
===DONE===
--EXPECTF--
array(2%d) {
[%u|b%"url"]=>
["url"]=>
string(0) ""
["content_type"]=>
NULL

View File

@ -66,7 +66,7 @@ TestFest 2009 - AFUP - Thomas Rabaix <thomas.rabaix@gmail.com>
===DONE===
--EXPECTF--
*** Testing curl_exec() : basic functionality ***
%unicode|string%(75) "Hello World!
string(75) "Hello World!
Hello World!Hello World!
Hello World!Hello World!
Hello World!"

View File

@ -18,5 +18,5 @@ Jean-Marc Fontaine <jmf@durcommefaire.net>
?>
===DONE===
--EXPECTF--
%unicode|string%(24) "text/plain;charset=utf-8"
string(24) "text/plain;charset=utf-8"
===DONE===

View File

@ -49,5 +49,5 @@ if (!extension_loaded('curl')) print 'skip';
?>
--EXPECTF--
Warning: curl_multi_getcontent() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: curl_multi_getcontent() expects parameter 1 to be resource, string given in %s on line %d
CURL2

View File

@ -40,6 +40,6 @@ Warning: curl_setopt() expects exactly 3 parameters, 2 given in %s on line %d
Warning: curl_setopt() expects parameter 1 to be resource, boolean given in %s on line %d
Warning: curl_setopt() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: curl_setopt() expects parameter 2 to be integer, string given in %s on line %d
Warning: curl_setopt(): Invalid curl configuration option in %scurl_setopt_error.php on line %d

View File

@ -33,18 +33,18 @@ echo "Done\n";
Warning: strftime() expects at least 1 parameter, 0 given in %s on line %d
bool(false)
bool(false)
%unicode|string%(%d) "Tue Tuesday Jun June Tue Jun 27 00:00:00 2006 %s
string(%d) "Tue Tuesday Jun June Tue Jun 27 00:00:00 2006 %s
%s %"
%unicode|string%(5) "%q %a"
%unicode|string%(%d) "%s"
%unicode|string%(4) "blah"
string(5) "%q %a"
string(%d) "%s"
string(4) "blah"
Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d
bool(false)
bool(false)
%unicode|string%(%d) "Mon Monday Jun June Mon Jun 26 21:00:00 2006 %s
string(%d) "Mon Monday Jun June Mon Jun 26 21:00:00 2006 %s
%s %"
%unicode|string%(5) "%q %a"
%unicode|string%(%d) "%s"
%unicode|string%(4) "blah"
string(5) "%q %a"
string(%d) "%s"
string(4) "blah"
Done

View File

@ -10,10 +10,10 @@ var_dump(unserialize(serialize(new Datetime)));
?>
--EXPECTF--
object(DateTime)#%d (3) {
[%u|b%"date"]=>
["date"]=>
%string|unicode%(%d) "%s"
[%u|b%"timezone_type"]=>
["timezone_type"]=>
int(%d)
[%u|b%"timezone"]=>
["timezone"]=>
%string|unicode%(%d) "America/Sao_Paulo"
}

View File

@ -17,4 +17,4 @@ $cdata->deleteData(1, 10);
var_dump($cdata->data);
?>
--EXPECTF--
%unicode|string%(%d) "t"
string(%d) "t"

View File

@ -7,4 +7,4 @@ Bug #44779 (filter returns NULL in CLI when it shouldn't)
var_dump(filter_input(INPUT_SERVER, "PHP_SELF"));
?>
--EXPECTF--
%unicode|string%(%d) "%s"
string(%d) "%s"

View File

@ -19,7 +19,7 @@ var_dump(filter_var($email_address, FILTER_VALIDATE_EMAIL));
?>
--EXPECTF--
%unicode|string%(21) "test=mail@example.com"
%unicode|string%(21) "test-mail@example.com"
%unicode|string%(21) "test+mail@example.com"
%unicode|string%(21) "test?mail@example.com"
string(21) "test=mail@example.com"
string(21) "test-mail@example.com"
string(21) "test+mail@example.com"
string(21) "test?mail@example.com"

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, IMG_FILTER_COLORIZE, 'wrong parameter', 255, 255));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 3 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 3 to be integer, string given in %s on line %d
bool(false)

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, IMG_FILTER_CONTRAST, 'wrong parameter'));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 3 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 3 to be integer, string given in %s on line %d
bool(false)

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, IMG_FILTER_BRIGHTNESS, 'wrong parameter'));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 3 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 3 to be integer, string given in %s on line %d
bool(false)

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, 'wrong parameter'));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 2 to be integer, string given in %s on line %d
NULL

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, IMG_FILTER_PIXELATE, 'wrong parameter'));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 3 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 3 to be integer, string given in %s on line %d
bool(false)

View File

@ -14,5 +14,5 @@ $image = imagecreatetruecolor(180, 30);
var_dump(imagefilter($image, IMG_FILTER_SMOOTH, 'wrong parameter'));
?>
--EXPECTF--
Warning: imagefilter() expects parameter 3 to be float, %unicode_string_optional% given in %s on line %d
Warning: imagefilter() expects parameter 3 to be float, string given in %s on line %d
bool(false)

View File

@ -43,6 +43,6 @@ Create a new mailbox for test
Create a temporary mailbox and add 1 msgs
.. mailbox '%s' created
Msg Count in new mailbox: 1
%unicode|string%(%d) "1: this is a test message, please ignore%a"
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
===Done===

View File

@ -169,12 +169,12 @@ NULL
-- Iteration 16 --
Warning: imap_close() expects parameter 1 to be resource, %unicode_string_optional% given in %simap_close_variation1.php on line 80
Warning: imap_close() expects parameter 1 to be resource, string given in %simap_close_variation1.php on line 80
NULL
-- Iteration 17 --
Warning: imap_close() expects parameter 1 to be resource, %unicode_string_optional% given in %simap_close_variation1.php on line 80
Warning: imap_close() expects parameter 1 to be resource, string given in %simap_close_variation1.php on line 80
NULL
-- Iteration 18 --
@ -184,17 +184,17 @@ NULL
-- Iteration 19 --
Warning: imap_close() expects parameter 1 to be resource, %unicode_string_optional% given in %simap_close_variation1.php on line 80
Warning: imap_close() expects parameter 1 to be resource, string given in %simap_close_variation1.php on line 80
NULL
-- Iteration 20 --
Warning: imap_close() expects parameter 1 to be resource, %unicode_string_optional% given in %simap_close_variation1.php on line 80
Warning: imap_close() expects parameter 1 to be resource, string given in %simap_close_variation1.php on line 80
NULL
-- Iteration 21 --
Warning: imap_close() expects parameter 1 to be resource, %unicode_string_optional% given in %simap_close_variation1.php on line 80
Warning: imap_close() expects parameter 1 to be resource, string given in %simap_close_variation1.php on line 80
NULL
-- Iteration 22 --

View File

@ -189,13 +189,13 @@ CL_EXPUNGE was not set, 3 msgs in mailbox
-- Iteration 16 --
Warning: imap_close() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_close() expects parameter 2 to be integer, string given in %s on line %d
NULL
CL_EXPUNGE was not set, 3 msgs in mailbox
-- Iteration 17 --
Warning: imap_close() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_close() expects parameter 2 to be integer, string given in %s on line %d
NULL
CL_EXPUNGE was not set, 3 msgs in mailbox

View File

@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_num_recent() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_num_recent() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_num_recent() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_num_recent() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -174,12 +174,12 @@ NULL
-- Testing with first argument value: %string|unicode%(0) ""
Warning: imap_fetch_overview() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Testing with first argument value: %string|unicode%(0) ""
Warning: imap_fetch_overview() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Testing with first argument value: array(0) {
@ -190,17 +190,17 @@ NULL
-- Testing with first argument value: %string|unicode%(6) "string"
Warning: imap_fetch_overview() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Testing with first argument value: %string|unicode%(6) "string"
Warning: imap_fetch_overview() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Testing with first argument value: %string|unicode%(11) "hello world"
Warning: imap_fetch_overview() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetch_overview() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Testing with first argument value: object(classA)#1 (0) {

View File

@ -201,7 +201,7 @@ Sequence out of range
-- Testing with second argument value: array(0) {
}
Warning: imap_fetch_overview() expects parameter 2 to be %binary_string_optional%, array given in %s on line %d
Warning: imap_fetch_overview() expects parameter 2 to be string, array given in %s on line %d
Sequence out of range
-- Testing with second argument value: %string|unicode%(6) "string"
@ -225,6 +225,6 @@ Syntax error in sequence
-- Testing with second argument value: resource(%d) of type (stream)
Warning: imap_fetch_overview() expects parameter 2 to be %binary_string_optional%, resource given in %s on line %d
Warning: imap_fetch_overview() expects parameter 2 to be string, resource given in %s on line %d
Syntax error in sequence
===DONE===

View File

@ -68,14 +68,14 @@ Create a temporary mailbox and add 1 msgs
-- All possible arguments --
-- Option is FT_UID --
%unicode|string%(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
string(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
-- Option is FT_PEEK --
%unicode|string%(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
string(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
Seen Flag: int(%d)
-- Option is FT_INTERNAL --
%unicode|string%(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
string(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
-- Mandatory arguments --
%unicode|string%(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
string(36) "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"
Seen Flag: int(%d)
===DONE===

View File

@ -174,12 +174,12 @@ NULL
-- Iteration 16 --
Warning: imap_fetchbody() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line 85
Warning: imap_fetchbody() expects parameter 1 to be resource, string given in %s on line 85
NULL
-- Iteration 17 --
Warning: imap_fetchbody() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line 85
Warning: imap_fetchbody() expects parameter 1 to be resource, string given in %s on line 85
NULL
-- Iteration 18 --
@ -189,17 +189,17 @@ NULL
-- Iteration 19 --
Warning: imap_fetchbody() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line 85
Warning: imap_fetchbody() expects parameter 1 to be resource, string given in %s on line 85
NULL
-- Iteration 20 --
Warning: imap_fetchbody() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line 85
Warning: imap_fetchbody() expects parameter 1 to be resource, string given in %s on line 85
NULL
-- Iteration 21 --
Warning: imap_fetchbody() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line 85
Warning: imap_fetchbody() expects parameter 1 to be resource, string given in %s on line 85
NULL
-- Iteration 22 --

View File

@ -111,7 +111,7 @@ Warning: imap_fetchbody(): Bad message number in %s on line %d
bool(false)
-- Iteration 2 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 3 --
@ -159,7 +159,7 @@ Warning: imap_fetchbody(): Bad message number in %s on line %d
bool(false)
-- Iteration 12 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 13 --
@ -167,7 +167,7 @@ Warning: imap_fetchbody(): Bad message number in %s on line %d
bool(false)
-- Iteration 14 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 15 --
@ -176,12 +176,12 @@ bool(false)
-- Iteration 16 --
Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchbody() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 17 --
Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchbody() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 18 --
@ -191,17 +191,17 @@ NULL
-- Iteration 19 --
Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchbody() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchbody() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --
Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchbody() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 22 --

View File

@ -113,72 +113,72 @@ Subject: test1
"
-- Iteration 2 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 3 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 4 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 5 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 6 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 7 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 8 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 9 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 10 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 11 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 12 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 13 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 14 --
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- Iteration 15 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 16 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 17 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
@ -186,30 +186,30 @@ Subject: test1
-- Iteration 18 --
Warning: imap_fetchbody() expects parameter 3 to be %unicode_string_optional%, array given in %s on line 87
Warning: imap_fetchbody() expects parameter 3 to be string, array given in %s on line 87
NULL
-- Iteration 19 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 20 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 21 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 22 --
%unicode|string%(0) ""
string(0) ""
-- Iteration 23 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1
1: this is a test message, please ignore%a"
-- Iteration 24 --
%unicode|string%(%d) "From: %s
string(%d) "From: %s
To: %s
Subject: test1

View File

@ -61,10 +61,10 @@ bool(false)
-- $msg_no is 1,3 --
Notice: A non well formed numeric value encountered in %s on line %d
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
-- $msg_no is 1:3 --
Notice: A non well formed numeric value encountered in %s on line %d
%unicode|string%(%d) "1: this is a test message, please ignore%a"
string(%d) "1: this is a test message, please ignore%a"
===DONE===

View File

@ -185,27 +185,27 @@ NULL
-- Iteration 16 --
Warning: imap_fetchheader() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Iteration 17 --
Warning: imap_fetchheader() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Iteration 18 --
Warning: imap_fetchheader() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Iteration 19 --
Warning: imap_fetchheader() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Iteration 20 --
Warning: imap_fetchheader() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 1 to be resource, string given in %s on line %d
NULL
-- Iteration 21 --

View File

@ -126,7 +126,7 @@ Warning: imap_fetchheader(): Bad message number in %s on line %d
bool(false)
-- Iteration 2 --
%unicode|string%(%d) "From: foo@anywhere.com
string(%d) "From: foo@anywhere.com
Subject: Test msg 1
To: %s
MIME-Version: 1.0
@ -180,7 +180,7 @@ Warning: imap_fetchheader(): Bad message number in %s on line %d
bool(false)
-- Iteration 12 --
%unicode|string%(%d) "From: foo@anywhere.com
string(%d) "From: foo@anywhere.com
Subject: Test msg 1
To: %s
MIME-Version: 1.0
@ -194,7 +194,7 @@ Warning: imap_fetchheader(): Bad message number in %s on line %d
bool(false)
-- Iteration 14 --
%unicode|string%(%d) "From: foo@anywhere.com
string(%d) "From: foo@anywhere.com
Subject: Test msg 1
To: %s
MIME-Version: 1.0
@ -209,27 +209,27 @@ bool(false)
-- Iteration 16 --
Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 17 --
Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 18 --
Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 19 --
Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: imap_fetchheader() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --

View File

@ -62,7 +62,7 @@ bool(false)
-- $msg_no is 1,3 --
Notice: A non well formed numeric value encountered in %s on line %d
%unicode|string%(%d) "From: foo@anywhere.com
string(%d) "From: foo@anywhere.com
Subject: Test msg 1
To: %s
MIME-Version: 1.0
@ -73,7 +73,7 @@ Content-Type: MULTIPART/mixed; BOUNDARY="%s"
-- $msg_no is 1:3 --
Notice: A non well formed numeric value encountered in %s on line %d
%unicode|string%(%d) "From: foo@anywhere.com
string(%d) "From: foo@anywhere.com
Subject: Test msg 1
To: %s
MIME-Version: 1.0

View File

@ -28,7 +28,7 @@ Checking with no parameters
Warning: imap_gc() expects exactly 2 parameters, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_gc() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_gc() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_gc() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -22,7 +22,7 @@ Checking with no parameters
Warning: imap_headers() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_headers() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_headers() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_headers() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -22,7 +22,7 @@ Checking with no parameters
Warning: imap_num_msg() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_num_msg() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_num_msg() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_num_msg() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_expunge() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_expunge() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_expunge() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_expunge() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_ping() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
Warning: imap_ping() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: imap_ping() expects parameter 1 to be resource, string given in %s on line %d
Warning: imap_ping() expects parameter 1 to be resource, boolean given in %s on line %d

View File

@ -23,6 +23,6 @@ NULL
Warning: ldap_err2str() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Warning: ldap_err2str() expects parameter 1 to be integer, %unicode_string_optional% given in %s on line %d
Warning: ldap_err2str() expects parameter 1 to be integer, string given in %s on line %d
NULL
===DONE===

View File

@ -28,6 +28,6 @@ NULL
Warning: ldap_get_entries() expects exactly 2 parameters, 3 given in %s on line %d
NULL
Warning: ldap_get_entries() expects parameter 2 to be resource, %unicode_string_optional% given in %s on line %d
Warning: ldap_get_entries() expects parameter 2 to be resource, string given in %s on line %d
NULL
===DONE===

View File

@ -35,7 +35,7 @@ bool(false)
Deprecated: Function ldap_sort() is deprecated in %s.php on line %d
Warning: ldap_sort() expects parameter 3 to be %binary_string_optional%, resource given in %s on line %d
Warning: ldap_sort() expects parameter 3 to be string, resource given in %s on line %d
bool(false)
Deprecated: Function ldap_sort() is deprecated in %s.php on line %d

View File

@ -33,7 +33,7 @@ bool(false)
Warning: ldap_unbind() expects exactly 1 parameter, 2 given in %s on line %d
bool(false)
Warning: ldap_unbind() expects parameter 1 to be resource, %unicode_string_optional% given in %s on line %d
Warning: ldap_unbind() expects parameter 1 to be resource, string given in %s on line %d
bool(false)
bool(true)

View File

@ -34,7 +34,7 @@ array(1) {
string(2) "-1"
}
Warning: mbereg_search_init() expects parameter 3 to be %binary_string_optional%, array given in %s on line %d
Warning: mbereg_search_init() expects parameter 3 to be string, array given in %s on line %d
int(-1)
int(-1)
array(1) {

View File

@ -78,8 +78,8 @@ array(11) {
[8]=>
NULL
[9]=>
%unicode|string%(4) "foo1"
string(4) "foo1"
[10]=>
%unicode|string%(4) "1000"
string(4) "1000"
}
done!

View File

@ -86,18 +86,18 @@ mysqli_close($link);
--EXPECTF--
array(7) {
[0]=>
%unicode|string%(10) "2002-01-02"
string(10) "2002-01-02"
[1]=>
%unicode|string%(8) "12:49:00"
string(8) "12:49:00"
[2]=>
%unicode|string%(19) "2002-01-02 17:46:59"
string(19) "2002-01-02 17:46:59"
[3]=>
int(2010)
[4]=>
%unicode|string%(19) "2010-07-10 00:00:00"
string(19) "2010-07-10 00:00:00"
[5]=>
%unicode|string%(19) "0000-00-00 00:00:00"
string(19) "0000-00-00 00:00:00"
[6]=>
%unicode|string%(19) "1999-12-29 00:00:00"
string(19) "1999-12-29 00:00:00"
}
done!

View File

@ -64,26 +64,26 @@ mysqli_close($link);
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(10) "1234567890"
string(10) "1234567890"
[1]=>
%unicode|string%(15) "this is a test0"
string(15) "this is a test0"
}
array(2) {
[0]=>
%unicode|string%(10) "1234567891"
string(10) "1234567891"
[1]=>
%unicode|string%(15) "this is a test1"
string(15) "this is a test1"
}
array(2) {
[0]=>
%unicode|string%(10) "1234567892"
string(10) "1234567892"
[1]=>
%unicode|string%(15) "this is a test2"
string(15) "this is a test2"
}
array(2) {
[0]=>
%unicode|string%(10) "1234567893"
string(10) "1234567893"
[1]=>
%unicode|string%(15) "this is a test3"
string(15) "this is a test3"
}
done!

View File

@ -54,8 +54,8 @@ mysqli_close($link);
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(10) "1234567890"
string(10) "1234567890"
[1]=>
%unicode|string%(13) "32K String ok"
string(13) "32K String ok"
}
done!

View File

@ -101,7 +101,7 @@ array(8) {
[2]=>
int(4)
[3]=>
%unicode|string%(14) "33333333333333"
string(14) "33333333333333"
[4]=>
int(0)
[5]=>

View File

@ -73,6 +73,6 @@ array(8) {
[6]=>
string(6) "foobar"
[7]=>
%unicode|string%(11) "mysql rulez"
string(11) "mysql rulez"
}
done!

View File

@ -72,6 +72,6 @@ array(8) {
[6]=>
string(3) "206"
[7]=>
%unicode|string%(3) "6.7"
string(3) "6.7"
}
done!

View File

@ -84,14 +84,14 @@ mysqli autocommit/commit/rollback
Num_of_rows=1
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(6) "foobar"
string(6) "foobar"
}
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(4) "egon"
string(4) "egon"
}
done!

View File

@ -81,14 +81,14 @@ mysqli autocommit/commit/rollback with innodb
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(6) "foobar"
string(6) "foobar"
}
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(4) "egon"
string(4) "egon"
}
done!

View File

@ -29,5 +29,5 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
%unicode|string%(6) "foobar"
string(6) "foobar"
done!

View File

@ -36,8 +36,8 @@ array(3) {
[0]=>
string(32) "37b51d194a7513e45b56f6524f2d51f2"
[1]=>
%unicode|string%(%d) "%s"
string(%d) "%s"
[2]=>
%unicode|string%(3) "foo"
string(3) "foo"
}
done!

View File

@ -87,8 +87,8 @@ array(11) {
[8]=>
NULL
[9]=>
%unicode|string%(3) "foo"
string(3) "foo"
[10]=>
%unicode|string%(6) "foobar"
string(6) "foobar"
}
done!

View File

@ -52,8 +52,8 @@ mysqli_close($link);
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(10) "1234567890"
string(10) "1234567890"
[1]=>
%unicode|string%(14) "this is a test"
string(14) "this is a test"
}
done!

View File

@ -57,7 +57,7 @@ mysqli_close($link);
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(10) "1234567890"
string(10) "1234567890"
[1]=>
%s(13) "32K String ok"
}

View File

@ -58,8 +58,8 @@ mysqli_close($link);
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(10) "Hello Worl"
string(10) "Hello Worl"
[1]=>
%unicode|string%(99) "This is the first sentence. And this is the second sentence. And finally this is the last sentence."
string(99) "This is the first sentence. And this is the second sentence. And finally this is the last sentence."
}
done!

View File

@ -20,5 +20,5 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
%unicode|string%(%d) "%s"
string(%d) "%s"
done!

View File

@ -25,6 +25,6 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
%unicode|string%(0) ""
%unicode|string%(%d) "%s"
string(0) ""
string(%d) "%s"
done!

View File

@ -38,5 +38,5 @@ if (!mysqli_query($link, "DROP TABLE IF EXISTS general_test"))
mysqli_close($link);
?>
--EXPECTF--
%unicode|string%(38) "Records: 3 Duplicates: 0 Warnings: 0"
string(38) "Records: 3 Duplicates: 0 Warnings: 0"
done!

View File

@ -21,5 +21,5 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
%unicode|string%(%d) "%s via %s"
string(%d) "%s via %s"
done!

View File

@ -61,19 +61,19 @@ mysqli_close($link);
?>
--EXPECTF--
object(stdClass)#%d (7) {
[%u|b%"c1"]=>
%unicode|string%(1) "0"
[%u|b%"c2"]=>
%unicode|string%(5) "35999"
[%u|b%"c3"]=>
["c1"]=>
string(1) "0"
["c2"]=>
string(5) "35999"
["c3"]=>
NULL
[%u|b%"c4"]=>
%unicode|string%(4) "-500"
[%u|b%"c5"]=>
%unicode|string%(6) "-32768"
[%u|b%"c6"]=>
%unicode|string%(1) "0"
[%u|b%"c7"]=>
%unicode|string%(1) "0"
["c4"]=>
string(4) "-500"
["c5"]=>
string(6) "-32768"
["c6"]=>
string(1) "0"
["c7"]=>
string(1) "0"
}
done!

View File

@ -41,8 +41,8 @@ mysqli_stmt_bind_result (SHOW)
--EXPECTF--
array(2) {
[0]=>
%unicode|string%(4) "port"
string(4) "port"
[1]=>
%unicode|string%(%d) "%s"
string(%d) "%s"
}
done!

View File

@ -61,177 +61,177 @@ mysqli_close($link);
array(2) {
[0]=>
object(stdClass)#5 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "foo"
[%u|b%"orgname"]=>
%unicode|string%(3) "foo"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "foo"
["orgname"]=>
string(3) "foo"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(32768)
[%u|b%"type"]=>
["type"]=>
int(3)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
[1]=>
object(stdClass)#6 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "bar"
[%u|b%"orgname"]=>
%unicode|string%(3) "bar"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "bar"
["orgname"]=>
string(3) "bar"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(0)
[%u|b%"type"]=>
["type"]=>
int(253)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
}
=== fetch_field_direct ===
object(stdClass)#6 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "foo"
[%u|b%"orgname"]=>
%unicode|string%(3) "foo"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "foo"
["orgname"]=>
string(3) "foo"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(32768)
[%u|b%"type"]=>
["type"]=>
int(3)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
object(stdClass)#6 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "bar"
[%u|b%"orgname"]=>
%unicode|string%(3) "bar"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "bar"
["orgname"]=>
string(3) "bar"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(0)
[%u|b%"type"]=>
["type"]=>
int(253)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
=== fetch_field ===
object(stdClass)#6 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "foo"
[%u|b%"orgname"]=>
%unicode|string%(3) "foo"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "foo"
["orgname"]=>
string(3) "foo"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(32768)
[%u|b%"type"]=>
["type"]=>
int(3)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
object(stdClass)#5 (13) {
[%u|b%"name"]=>
%unicode|string%(3) "bar"
[%u|b%"orgname"]=>
%unicode|string%(3) "bar"
[%u|b%"table"]=>
%unicode|string%(13) "test_affected"
[%u|b%"orgtable"]=>
%unicode|string%(13) "test_affected"
[%u|b%"def"]=>
%unicode|string%(0) ""
[%u|b%"db"]=>
%unicode|string%(%d) "%s"
[%u|b%"catalog"]=>
%unicode|string%(%d) "%s"
[%u|b%"max_length"]=>
["name"]=>
string(3) "bar"
["orgname"]=>
string(3) "bar"
["table"]=>
string(13) "test_affected"
["orgtable"]=>
string(13) "test_affected"
["def"]=>
string(0) ""
["db"]=>
string(%d) "%s"
["catalog"]=>
string(%d) "%s"
["max_length"]=>
int(0)
[%u|b%"length"]=>
["length"]=>
int(%d)
[%u|b%"charsetnr"]=>
["charsetnr"]=>
int(%d)
[%u|b%"flags"]=>
["flags"]=>
int(0)
[%u|b%"type"]=>
["type"]=>
int(253)
[%u|b%"decimals"]=>
["decimals"]=>
int(0)
}
done!

View File

@ -72,8 +72,8 @@ array(11) {
[8]=>
NULL
[9]=>
%unicode|string%(4) "foo1"
string(4) "foo1"
[10]=>
%unicode|string%(4) "1000"
string(4) "1000"
}
done!

View File

@ -28,6 +28,6 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
array(1) {
[0]=>
%unicode|string%(%d) "%s"
string(%d) "%s"
}
done!

View File

@ -77,37 +77,37 @@ mysqli_close($link);
bool(true)
bool(true)
object(mysqli_stmt)#%d (%d) {
[%u|b%"affected_rows"]=>
["affected_rows"]=>
int(%i)
[%u|b%"insert_id"]=>
["insert_id"]=>
int(0)
[%u|b%"num_rows"]=>
["num_rows"]=>
int(0)
[%u|b%"param_count"]=>
["param_count"]=>
int(0)
[%u|b%"field_count"]=>
["field_count"]=>
int(1)
[%u|b%"errno"]=>
["errno"]=>
int(0)
[%u|b%"error"]=>
%unicode|string%(0) ""
[%u|b%"error_list"]=>
["error"]=>
string(0) ""
["error_list"]=>
array(0) {
}
[%u|b%"sqlstate"]=>
%unicode|string%(5) "00000"
[%u|b%"id"]=>
["sqlstate"]=>
string(5) "00000"
["id"]=>
int(3)
}
bool(true)
bool(false)
%unicode|string%(0) ""
string(0) ""
Warning: mysqli_stmt_reset() expects parameter 1 to be mysqli_stmt, boolean given in %s on line %d
NULL
Rows: 3
array(1) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
}
done!

View File

@ -64,10 +64,10 @@ array(4) {
[0]=>
int(1)
[1]=>
%unicode|string%(3) "foo"
string(3) "foo"
[2]=>
int(2)
[3]=>
%unicode|string%(3) "bar"
string(3) "bar"
}
done!

View File

@ -53,5 +53,5 @@ if (!mysqli_query($link, "DROP TABLE IF EXISTS mbind"))
mysqli_close($link);
?>
--EXPECTF--
%unicode|string%(6) "foobar"
string(6) "foobar"
done!

View File

@ -56,19 +56,19 @@ mysqli_close($link);
--EXPECTF--
test_class::__construct(1,2)
object(test_class)#%d (7) {
[%u|b%"c1"]=>
%unicode|string%(1) "0"
[%u|b%"c2"]=>
%unicode|string%(5) "35999"
[%u|b%"c3"]=>
["c1"]=>
string(1) "0"
["c2"]=>
string(5) "35999"
["c3"]=>
NULL
[%u|b%"c4"]=>
%unicode|string%(4) "-500"
[%u|b%"c5"]=>
%unicode|string%(6) "-32768"
[%u|b%"c6"]=>
%unicode|string%(1) "0"
[%u|b%"c7"]=>
%unicode|string%(1) "0"
["c4"]=>
string(4) "-500"
["c5"]=>
string(6) "-32768"
["c6"]=>
string(1) "0"
["c7"]=>
string(1) "0"
}
Done

View File

@ -72,7 +72,7 @@ mysqli_close($link);
?>
--EXPECTF--
foo-bar
%unicode|string%-%unicode|string%
string-string
rab-oof
%unicode|string%-%unicode|string%
string-string
done!

View File

@ -25,6 +25,6 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
array(1) {
[0]=>
%unicode|string%(3) "foo"
string(3) "foo"
}
done!

View File

@ -21,4 +21,4 @@ require_once('skipifconnectfailure.inc');
var_dump($foo);
?>
--EXPECTF--
%unicode|string%(3) "foo"
string(3) "foo"

View File

@ -8,4 +8,4 @@ mysqli get_client_info
echo gettype($s);
?>
--EXPECTF--
%unicode|string%
string

View File

@ -29,10 +29,10 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
array(1) {
[1]=>
%unicode|string%(1) "1"
string(1) "1"
}
array(1) {
[2]=>
%unicode|string%(1) "2"
string(1) "2"
}
done!

View File

@ -27,6 +27,6 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
int(1)
int(1051)
%unicode|string%(%d) "Unknown table %snot_exists%s"
%unicode|string%(5) "HY000"
string(%d) "Unknown table %snot_exists%s"
string(5) "HY000"
done!

View File

@ -17,7 +17,7 @@ mysqli_driver properties
--EXPECTF--
bool(%s)
int(%d)
%unicode|string%(%d) "%s"
string(%d) "%s"
int(%d)
bool(%s)
int(%d)

View File

@ -25,10 +25,10 @@ require_once('skipifconnectfailure.inc');
bool(true)
array(1) {
[0]=>
%unicode|string%(1) "0"
string(1) "0"
}
bool(true)
array(1) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
}

View File

@ -63,84 +63,84 @@ mysqli_close($link);
?>
--EXPECTF--
object(mysqli)#%d (%d) {
[%u|b%"affected_rows"]=>
["affected_rows"]=>
int(0)
[%u|b%"client_info"]=>
%unicode|string%(%d) "%s"
[%u|b%"client_version"]=>
["client_info"]=>
string(%d) "%s"
["client_version"]=>
int(%d)
[%u|b%"connect_errno"]=>
["connect_errno"]=>
int(0)
[%u|b%"connect_error"]=>
["connect_error"]=>
NULL
[%u|b%"errno"]=>
["errno"]=>
int(0)
[%u|b%"error"]=>
%unicode|string%(0) ""
[%u|b%"error_list"]=>
["error"]=>
string(0) ""
["error_list"]=>
array(0) {
}
[%u|b%"field_count"]=>
["field_count"]=>
int(0)
[%u|b%"host_info"]=>
%unicode|string%(%d) "%s"
[%u|b%"info"]=>
["host_info"]=>
string(%d) "%s"
["info"]=>
NULL
[%u|b%"insert_id"]=>
["insert_id"]=>
int(0)
[%u|b%"server_info"]=>
%unicode|string%(%d) "%s"
[%u|b%"server_version"]=>
["server_info"]=>
string(%d) "%s"
["server_version"]=>
int(%d)
[%u|b%"stat"]=>
["stat"]=>
string(%d) "Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: %d Open tables: %d Queries per second avg: %d.%d"
[%u|b%"sqlstate"]=>
%unicode|string%(5) "00000"
[%u|b%"protocol_version"]=>
["sqlstate"]=>
string(5) "00000"
["protocol_version"]=>
int(10)
[%u|b%"thread_id"]=>
["thread_id"]=>
int(%d)
[%u|b%"warning_count"]=>
["warning_count"]=>
int(0)
}
object(mysqli)#%d (%d) {
[%u|b%"affected_rows"]=>
["affected_rows"]=>
NULL
[%u|b%"client_info"]=>
%unicode|string%(%d) "%s"
[%u|b%"client_version"]=>
["client_info"]=>
string(%d) "%s"
["client_version"]=>
int(%d)
[%u|b%"connect_errno"]=>
["connect_errno"]=>
int(0)
[%u|b%"connect_error"]=>
["connect_error"]=>
NULL
[%u|b%"errno"]=>
["errno"]=>
int(0)
[%u|b%"error"]=>
%unicode|string%(0) ""
[%u|b%"error_list"]=>
["error"]=>
string(0) ""
["error_list"]=>
NULL
[%u|b%"field_count"]=>
["field_count"]=>
NULL
[%u|b%"host_info"]=>
["host_info"]=>
NULL
[%u|b%"info"]=>
["info"]=>
NULL
[%u|b%"insert_id"]=>
["insert_id"]=>
NULL
[%u|b%"server_info"]=>
["server_info"]=>
NULL
[%u|b%"server_version"]=>
["server_version"]=>
NULL
[%u|b%"stat"]=>
["stat"]=>
NULL
[%u|b%"sqlstate"]=>
["sqlstate"]=>
NULL
[%u|b%"protocol_version"]=>
["protocol_version"]=>
NULL
[%u|b%"thread_id"]=>
["thread_id"]=>
NULL
[%u|b%"warning_count"]=>
["warning_count"]=>
NULL
}
Done

View File

@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
?>
--EXPECTF--
Using CAST('somestring' AS CHAR)...
%unicode|string%(3) "one"
%unicode|string%(5) "three"
%unicode|string%(3) "two"
string(3) "one"
string(5) "three"
string(3) "two"
done!

View File

@ -53,10 +53,10 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
array(1) {
[0]=>
%unicode|string%(2) "42"
string(2) "42"
}
array(1) {
[%u|b%"id"]=>
%unicode|string%(1) "1"
["id"]=>
string(1) "1"
}
done!

View File

@ -110,21 +110,21 @@ mysqli.max_persistent=1
?>
--EXPECTF--
array(2) {
[%u|b%"id"]=>
%unicode|string%(2) "97"
[%u|b%"label"]=>
%unicode|string%(1) "x"
["id"]=>
string(2) "97"
["label"]=>
string(1) "x"
}
array(2) {
[%u|b%"id"]=>
%unicode|string%(2) "98"
[%u|b%"label"]=>
%unicode|string%(1) "y"
["id"]=>
string(2) "98"
["label"]=>
string(1) "y"
}
array(2) {
[%u|b%"id"]=>
%unicode|string%(2) "99"
[%u|b%"label"]=>
%unicode|string%(1) "z"
["id"]=>
string(2) "99"
["label"]=>
string(1) "z"
}
done!

View File

@ -281,19 +281,19 @@ ok
Magic, magic properties:
mysqli->affected_rows = '%s'/integer ('%s'/integer)
mysqli->client_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
mysqli->client_info = '%s'/string ('%s'/string)
mysqli->client_version = '%d'/integer ('%d'/integer)
mysqli->errno = '0'/integer ('0'/integer)
mysqli->error = ''/%unicode|string% (''/%unicode|string%)
mysqli->error = ''/string (''/string)
mysqli->field_count = '0'/integer ('0'/integer)
mysqli->insert_id = '0'/integer ('0'/integer)
mysqli->sqlstate = '00000'/%unicode|string% ('00000'/%unicode|string%)
mysqli->sqlstate = '00000'/string ('00000'/string)
mysqli->stat = 'Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: %d Open tables: %d Queries per second avg: %d.%d'/string ('Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: %d Open tables: %d Queries per second avg: %d.%d'/string)
mysqli->host_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
mysqli->host_info = '%s'/string ('%s'/string)
mysqli->info = ''/NULL (''/NULL)
mysqli->thread_id = '%d'/integer ('%d'/integer)
mysqli->protocol_version = '%d'/integer ('%d'/integer)
mysqli->server_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
mysqli->server_info = '%s'/string ('%s'/string)
mysqli->server_version = '%d'/integer ('%d'/integer)
mysqli->warning_count = '0'/integer ('0'/integer)

View File

@ -187,7 +187,7 @@ mysqli_result->unknown = ''
Constructor:
Warning: mysqli_result::__construct() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
Warning: mysqli_result::__construct() expects parameter 2 to be integer, string given in %s on line %d
Warning: mysqli_result::__construct() expects parameter 1 to be mysqli, %unicode_string_optional% given in %s on line %d
Warning: mysqli_result::__construct() expects parameter 1 to be mysqli, string given in %s on line %d
done!

View File

@ -194,5 +194,5 @@ stmt->unknown = '13'
Prepare using the constructor:
Warning: mysqli_stmt::__construct() expects parameter 2 to be %binary_string_optional%, object given in %s on line %d
Warning: mysqli_stmt::__construct() expects parameter 2 to be string, object given in %s on line %d
done!

View File

@ -151,25 +151,25 @@ require_once('skipifconnectfailure.inc');
--EXPECTF--
Warning: mysqli_connect(): (%s/%d): Access denied for user '%s'@'%s' (using password: YES) in %s on line %d
array(1) {
[%u|b%"testing"]=>
%unicode|string%(21) "mysqli.default_socket"
["testing"]=>
string(21) "mysqli.default_socket"
}
array(1) {
[%u|b%"testing"]=>
%unicode|string%(19) "mysqli.default_port"
["testing"]=>
string(19) "mysqli.default_port"
}
array(1) {
[%u|b%"testing"]=>
%unicode|string%(17) "mysqli.default_pw"
["testing"]=>
string(17) "mysqli.default_pw"
}
array(2) {
[0]=>
%unicode|string%(19) "mysqli.default_user"
[%u|b%"testing"]=>
%unicode|string%(19) "mysqli.default_user"
string(19) "mysqli.default_user"
["testing"]=>
string(19) "mysqli.default_user"
}
array(1) {
[0]=>
%unicode|string%(19) "mysqli.default_host"
string(19) "mysqli.default_host"
}
done!

View File

@ -158,23 +158,23 @@ require_once('skipifconnectfailure.inc');
?>
--EXPECTF--
array(1) {
[%u|b%"testing"]=>
%unicode|string%(19) "mysqli.default_port"
["testing"]=>
string(19) "mysqli.default_port"
}
array(1) {
[%u|b%"testing"]=>
%unicode|string%(17) "mysqli.default_pw"
["testing"]=>
string(17) "mysqli.default_pw"
}
array(1) {
[%u|b%"testing"]=>
%unicode|string%(19) "mysqli.default_user"
["testing"]=>
string(19) "mysqli.default_user"
}
array(1) {
[%u|b%"all_defaults"]=>
%unicode|string%(13) "have been set"
["all_defaults"]=>
string(13) "have been set"
}
array(1) {
[%u|b%"all_defaults"]=>
%unicode|string%(13) "have been set"
["all_defaults"]=>
string(13) "have been set"
}
done!

View File

@ -74,11 +74,11 @@ require_once('skipifconnectfailure.inc');
?>
--EXPECTF--
array(1) {
[%u|b%"it_works"]=>
%unicode|string%(2) "ok"
["it_works"]=>
string(2) "ok"
}
array(1) {
[%u|b%"syntax"]=>
%unicode|string%(18) "works also with oo"
["syntax"]=>
string(18) "works also with oo"
}
done!

View File

@ -42,7 +42,7 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
%unicode|string%(%d) "Table 'нямаакавааблица' doesn't exist"
string(%d) "Table 'нямаакавааблица' doesn't exist"
Warning: mysqli_error(): Couldn't fetch mysqli in %s on line %d
NULL

View File

@ -331,16 +331,16 @@ array(2) {
[0]=>
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(1) "a"
string(1) "a"
}
[1]=>
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(1) "b"
string(1) "b"
}
}
[007]
@ -348,16 +348,16 @@ array(2) {
[0]=>
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(1) "a"
string(1) "a"
}
[1]=>
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(1) "b"
string(1) "b"
}
}
[008]
@ -365,41 +365,41 @@ array(2) {
[0]=>
array(4) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"id"]=>
%unicode|string%(1) "1"
string(1) "1"
["id"]=>
string(1) "1"
[1]=>
%unicode|string%(1) "a"
[%u|b%"label"]=>
%unicode|string%(1) "a"
string(1) "a"
["label"]=>
string(1) "a"
}
[1]=>
array(4) {
[0]=>
%unicode|string%(1) "2"
[%u|b%"id"]=>
%unicode|string%(1) "2"
string(1) "2"
["id"]=>
string(1) "2"
[1]=>
%unicode|string%(1) "b"
[%u|b%"label"]=>
%unicode|string%(1) "b"
string(1) "b"
["label"]=>
string(1) "b"
}
}
[010]
array(2) {
[0]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "1"
[%u|b%"label"]=>
%unicode|string%(1) "a"
["id"]=>
string(1) "1"
["label"]=>
string(1) "a"
}
[1]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "2"
[%u|b%"label"]=>
%unicode|string%(1) "b"
["id"]=>
string(1) "2"
["label"]=>
string(1) "b"
}
}
[011]
@ -409,17 +409,17 @@ array(0) {
array(2) {
[0]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "1"
[%u|b%"label"]=>
%unicode|string%(1) "a"
["id"]=>
string(1) "1"
["label"]=>
string(1) "a"
}
[1]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "2"
[%u|b%"label"]=>
%unicode|string%(1) "b"
["id"]=>
string(1) "2"
["label"]=>
string(1) "b"
}
}
[016]
@ -430,27 +430,27 @@ array(1) {
[0]=>
array(11) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"a"]=>
%unicode|string%(1) "2"
string(1) "1"
["a"]=>
string(1) "2"
[1]=>
%unicode|string%(1) "2"
string(1) "2"
[2]=>
%unicode|string%(1) "3"
[%u|b%"c"]=>
%unicode|string%(1) "3"
string(1) "3"
["c"]=>
string(1) "3"
[3]=>
%unicode|string%(1) "4"
[%u|b%"C"]=>
%unicode|string%(1) "4"
string(1) "4"
["C"]=>
string(1) "4"
[4]=>
NULL
[%u|b%"d"]=>
["d"]=>
NULL
[5]=>
%unicode|string%(1) "1"
[%u|b%"e"]=>
%unicode|string%(1) "1"
string(1) "1"
["e"]=>
string(1) "1"
}
}

View File

@ -313,16 +313,16 @@ array(2) {
[0]=>
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(1) "a"
string(1) "a"
}
[1]=>
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(1) "b"
string(1) "b"
}
}
[007]
@ -330,16 +330,16 @@ array(2) {
[0]=>
array(2) {
[0]=>
%unicode|string%(1) "1"
string(1) "1"
[1]=>
%unicode|string%(1) "a"
string(1) "a"
}
[1]=>
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(1) "b"
string(1) "b"
}
}
[008]
@ -347,41 +347,41 @@ array(2) {
[0]=>
array(4) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"id"]=>
%unicode|string%(1) "1"
string(1) "1"
["id"]=>
string(1) "1"
[1]=>
%unicode|string%(1) "a"
[%u|b%"label"]=>
%unicode|string%(1) "a"
string(1) "a"
["label"]=>
string(1) "a"
}
[1]=>
array(4) {
[0]=>
%unicode|string%(1) "2"
[%u|b%"id"]=>
%unicode|string%(1) "2"
string(1) "2"
["id"]=>
string(1) "2"
[1]=>
%unicode|string%(1) "b"
[%u|b%"label"]=>
%unicode|string%(1) "b"
string(1) "b"
["label"]=>
string(1) "b"
}
}
[010]
array(2) {
[0]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "1"
[%u|b%"label"]=>
%unicode|string%(1) "a"
["id"]=>
string(1) "1"
["label"]=>
string(1) "a"
}
[1]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "2"
[%u|b%"label"]=>
%unicode|string%(1) "b"
["id"]=>
string(1) "2"
["label"]=>
string(1) "b"
}
}
[011]
@ -390,17 +390,17 @@ NULL
array(2) {
[0]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "1"
[%u|b%"label"]=>
%unicode|string%(1) "a"
["id"]=>
string(1) "1"
["label"]=>
string(1) "a"
}
[1]=>
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "2"
[%u|b%"label"]=>
%unicode|string%(1) "b"
["id"]=>
string(1) "2"
["label"]=>
string(1) "b"
}
}
[016]
@ -410,27 +410,27 @@ array(1) {
[0]=>
array(11) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"a"]=>
%unicode|string%(1) "2"
string(1) "1"
["a"]=>
string(1) "2"
[1]=>
%unicode|string%(1) "2"
string(1) "2"
[2]=>
%unicode|string%(1) "3"
[%u|b%"c"]=>
%unicode|string%(1) "3"
string(1) "3"
["c"]=>
string(1) "3"
[3]=>
%unicode|string%(1) "4"
[%u|b%"C"]=>
%unicode|string%(1) "4"
string(1) "4"
["C"]=>
string(1) "4"
[4]=>
NULL
[%u|b%"d"]=>
["d"]=>
NULL
[5]=>
%unicode|string%(1) "1"
[%u|b%"e"]=>
%unicode|string%(1) "1"
string(1) "1"
["e"]=>
string(1) "1"
}
}

View File

@ -296,74 +296,74 @@ require_once('skipifconnectfailure.inc');
[005]
array(4) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"id"]=>
%unicode|string%(1) "1"
string(1) "1"
["id"]=>
string(1) "1"
[1]=>
%unicode|string%(1) "a"
[%u|b%"label"]=>
%unicode|string%(1) "a"
string(1) "a"
["label"]=>
string(1) "a"
}
[006]
array(2) {
[0]=>
%unicode|string%(1) "2"
string(1) "2"
[1]=>
%unicode|string%(1) "b"
string(1) "b"
}
[007]
array(4) {
[0]=>
%unicode|string%(1) "3"
[%u|b%"id"]=>
%unicode|string%(1) "3"
string(1) "3"
["id"]=>
string(1) "3"
[1]=>
%unicode|string%(1) "c"
[%u|b%"label"]=>
%unicode|string%(1) "c"
string(1) "c"
["label"]=>
string(1) "c"
}
[008]
array(2) {
[%u|b%"id"]=>
%unicode|string%(1) "4"
[%u|b%"label"]=>
%unicode|string%(1) "d"
["id"]=>
string(1) "4"
["label"]=>
string(1) "d"
}
[009]
array(4) {
[0]=>
%unicode|string%(1) "5"
[%u|b%"id"]=>
%unicode|string%(1) "5"
string(1) "5"
["id"]=>
string(1) "5"
[1]=>
%unicode|string%(1) "e"
[%u|b%"label"]=>
%unicode|string%(1) "e"
string(1) "e"
["label"]=>
string(1) "e"
}
[011]
array(11) {
[0]=>
%unicode|string%(1) "1"
[%u|b%"a"]=>
%unicode|string%(1) "2"
string(1) "1"
["a"]=>
string(1) "2"
[1]=>
%unicode|string%(1) "2"
string(1) "2"
[2]=>
%unicode|string%(1) "3"
[%u|b%"c"]=>
%unicode|string%(1) "3"
string(1) "3"
["c"]=>
string(1) "3"
[3]=>
%unicode|string%(1) "4"
[%u|b%"C"]=>
%unicode|string%(1) "4"
string(1) "4"
["C"]=>
string(1) "4"
[4]=>
NULL
[%u|b%"d"]=>
["d"]=>
NULL
[5]=>
%unicode|string%(1) "1"
[%u|b%"e"]=>
%unicode|string%(1) "1"
string(1) "1"
["e"]=>
string(1) "1"
}
Warning: mysqli_fetch_array(): The result type should be either MYSQLI_NUM, MYSQLI_ASSOC or MYSQLI_BOTH in %s on line %d

Some files were not shown because too many files have changed in this diff Show More