Skip to content

Commit 5af586b

Browse files
committed
Remove more PHP 6 leftovers from tests
1 parent 895a826 commit 5af586b

File tree

294 files changed

+4208
-4208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+4208
-4208
lines changed

Zend/tests/bug46811.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ var_dump(ini_get("arg_separator.output"));
99
?>
1010
--EXPECTF--
1111
bool(false)
12-
%unicode|string%(1) "&"
12+
string(1) "&"
1313

Zend/tests/bug48533.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ $x::c();
3131

3232
?>
3333
--EXPECTF--
34-
%unicode|string%(9) "__call::a"
34+
string(9) "__call::a"
3535
int(2)
36-
%unicode|string%(9) "__call::c"
37-
%unicode|string%(15) "__callStatic::a"
36+
string(9) "__call::c"
37+
string(15) "__callStatic::a"
3838

3939
Deprecated: Non-static method foo::b() should not be called statically in %s on line %d
4040
int(2)
41-
%unicode|string%(15) "__callStatic::c"
41+
string(15) "__callStatic::c"

Zend/tests/bug48770.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ $c->func('This should work!');
5050

5151
?>
5252
--EXPECTF--
53-
%unicode|string%(26) "A::func: This should work!"
53+
string(26) "A::func: This should work!"

Zend/tests/bug48770_2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ $c->func('This should work!');
4646

4747
?>
4848
--EXPECTF--
49-
%unicode|string%(27) "A::func2: This should work!"
50-
%unicode|string%(27) "A::func3: This should work!"
49+
string(27) "A::func2: This should work!"
50+
string(27) "A::func3: This should work!"
5151

5252
Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method A::func22() in %s on line %d
5353

Zend/tests/bug48770_3.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $c->func('This should work!');
4545

4646
?>
4747
--EXPECTF--
48-
%unicode|string%(27) "B::func2: This should work!"
49-
%unicode|string%(27) "B::func3: This should work!"
48+
string(27) "B::func2: This should work!"
49+
string(27) "B::func3: This should work!"
5050

5151
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

Zend/tests/bug49908.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ new Foo;
1717

1818
?>
1919
--EXPECTF--
20-
%unicode|string%(3) "Foo"
21-
%unicode|string%(3) "Bar"
20+
string(3) "Foo"
21+
string(3) "Bar"
2222

2323
Fatal error: Uncaught Exception: Bar in %s:%d
2424
Stack trace:

Zend/tests/call_user_func_002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ call_user_func(array($foo, ''));
1414

1515
?>
1616
--EXPECTF--
17-
%unicode|string%(3) "foo"
17+
string(3) "foo"
1818

1919
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found in %s on line %d
2020

Zend/tests/call_user_func_003.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ var_dump(call_user_func(function() use (&$foo) { return $foo; }, '__invoke'));
2020

2121
?>
2222
--EXPECTF--
23-
%unicode|string%(3) "OK!"
23+
string(3) "OK!"
2424
object(Closure)#%d (1) {
25-
[%u|b%"static"]=>
25+
["static"]=>
2626
array(1) {
27-
[%u|b%"instance"]=>
27+
["instance"]=>
2828
object(Closure)#%d (0) {
2929
}
3030
}

ext/curl/tests/curl_basic_009.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ curl_close($ch);
1919

2020
?>
2121
--EXPECTF--
22-
%unicode|string%(%d) "%Srotocol%s"
22+
string(%d) "%Srotocol%s"
2323
int(1)

ext/curl/tests/curl_basic_010.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ curl_close($ch);
2626

2727
?>
2828
--EXPECTF--
29-
%unicode|string%(%d) "%r(Couldn't resolve proxy|Could not resolve proxy:|Could not resolve host:|Could not resolve:)%r %s"
29+
string(%d) "%r(Couldn't resolve proxy|Could not resolve proxy:|Could not resolve host:|Could not resolve:)%r %s"
3030
int(5)

0 commit comments

Comments
 (0)