mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
Merge branch 'PHP-7.4'
* PHP-7.4: Remove unnecessary whitespace sensitivtiy from some tests
This commit is contained in:
commit
ddc5553ecd
Binary file not shown.
Binary file not shown.
@ -82,35 +82,35 @@ echo "Done";
|
||||
*** Testing vsprintf() : octal formats and non-octal values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(149) "2 0 12
|
||||
string(148) "2 0 12
|
||||
361100 o 1777777777777777775456 2322
|
||||
|
||||
30071 14 1777777777777777777764 1777777777777777416700
|
||||
12 361100 2 0"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(201) "2 1777777777777777777776 2
|
||||
string(200) "2 1777777777777777777776 2
|
||||
361100 o 1777777777777720715133 57062645
|
||||
|
||||
57060664 4475347 1777777777777721631371 1777777777777720717336
|
||||
2 361100 2 1777777777777777777776"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(99) "0 0 0
|
||||
string(98) "0 0 0
|
||||
173 o 1777777777777777777605 173
|
||||
|
||||
2322 0 $0 _0
|
||||
0 173 0 0"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(75) "1 1 1
|
||||
string(74) "1 1 1
|
||||
1 o 1 1
|
||||
|
||||
#1 1 $1 _1
|
||||
1 1 1 1"
|
||||
|
||||
-- Iteration 5 --
|
||||
string(75) "1 1 0
|
||||
string(74) "1 1 0
|
||||
1 o 0 1
|
||||
|
||||
#0 1 $1 _0
|
||||
|
@ -83,35 +83,35 @@ echo "Done";
|
||||
*** Testing vsprintf() : hexa formats and non-hexa values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(125) "2 0 a
|
||||
string(124) "2 0 a
|
||||
1e240 x fffffffffffffb2e 4d2
|
||||
|
||||
3039 c fffffffffffffff4 fffffffffffe1dc0
|
||||
a 1e240 2 0"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(164) "2 fffffffffffffffe 2
|
||||
string(163) "2 fffffffffffffffe 2
|
||||
1e240 x ffffffffff439a5b bc65a5
|
||||
|
||||
bc61b4 127ae7 ffffffffff4732f9 ffffffffff439ede
|
||||
2 1e240 2 fffffffffffffffe"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(90) "0 0 0
|
||||
string(89) "0 0 0
|
||||
7b x ffffffffffffff85 7b
|
||||
|
||||
4d2 0 $0 _0
|
||||
0 7b 0 0"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(75) "1 1 1
|
||||
string(74) "1 1 1
|
||||
1 x 1 1
|
||||
|
||||
#1 1 $1 _1
|
||||
1 1 1 1"
|
||||
|
||||
-- Iteration 5 --
|
||||
string(75) "1 1 0
|
||||
string(74) "1 1 0
|
||||
1 x 0 1
|
||||
|
||||
#0 1 $1 _0
|
||||
|
@ -75,28 +75,28 @@ echo "Done";
|
||||
*** Testing vsprintf() : unsigned formats and signed & other types of values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(143) "2 0 10
|
||||
string(142) "2 0 10
|
||||
123456 u 1234 20000000000
|
||||
2000000000000 22000000000000 12345
|
||||
12 18446744073709551604 18446744073709428160 _3
|
||||
10 123456 2 0"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(98) "0 0 0
|
||||
string(97) "0 0 0
|
||||
123 u 18446744073709551493 123
|
||||
0 0 0
|
||||
1234 0 $0 _0
|
||||
0 123 0 0"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(76) "1 1 1
|
||||
string(75) "1 1 1
|
||||
1 u 1 1
|
||||
1 1 1
|
||||
#1 1 $1 _1
|
||||
1 1 1 1"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(76) "1 1 0
|
||||
string(75) "1 1 0
|
||||
1 u 0 1
|
||||
1 1 0
|
||||
#0 1 $1 _0
|
||||
|
@ -71,28 +71,28 @@ echo "Done";
|
||||
*** Testing vsprintf() : scientific formats and non-scientific values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(232) "2.200000e+0 +2.000000e-1 1.020000e+1
|
||||
string(231) "2.200000e+0 +2.000000e-1 1.020000e+1
|
||||
1.234562e+5 e -1.234679e+3 1.234679e+3
|
||||
2.0000e+1 2.1220e+2 -4.110000e+11 2.2120e+3
|
||||
1.234578e+4 1.200000e+1 -1.200000e+1 -1.234562e+5
|
||||
1.020000e+1 1.234562e+5 2.200000e+0 2.000000e-1"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(228) "0.000000e+0 +0.000000e+0 0.000000e+0
|
||||
string(227) "0.000000e+0 +0.000000e+0 0.000000e+0
|
||||
1.230000e+2 e -1.230000e+2 1.230000e+2
|
||||
0.0000e+0 0.0000e+0 1.234560e+5 0.0000e+0
|
||||
1.234000e+3 0.000000e+0 0.000000e+0 0.000000e+0
|
||||
0.000000e+0 1.230000e+2 0.000000e+0 0.000000e+0"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(227) "1.000000e+0 +1.000000e+0 1.000000e+0
|
||||
string(226) "1.000000e+0 +1.000000e+0 1.000000e+0
|
||||
1.000000e+0 e 1.000000e+0 1.000000e+0
|
||||
1.0000e+0 1.0000e+0 1.000000e+0 1.0000e+0
|
||||
1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0
|
||||
1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(227) "1.000000e+0 +1.000000e+0 0.000000e+0
|
||||
string(226) "1.000000e+0 +1.000000e+0 0.000000e+0
|
||||
1.000000e+0 e 0.000000e+0 1.000000e+0
|
||||
1.0000e+0 0.0000e+0 1.000000e+0 0.0000e+0
|
||||
0.000000e+0 1.000000e+0 1.000000e+0 0.000000e+0
|
||||
|
@ -75,28 +75,28 @@ echo "Done";
|
||||
*** Testing vsprintf() : int formats and non-integer values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(112) "2 +0 10
|
||||
string(111) "2 +0 10
|
||||
123456 d -1234 1234
|
||||
20000000000 200000 4000 22000000
|
||||
12345 12 -12 -123456
|
||||
10 123456 2 0"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(92) "0 +0 0
|
||||
string(91) "0 +0 0
|
||||
123 d -123 123
|
||||
0 0 123456 0000
|
||||
1234 0 $0 _0
|
||||
0 123 0 0"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(81) "1 +1 1
|
||||
string(80) "1 +1 1
|
||||
1 d 1 1
|
||||
1 1 1 0001
|
||||
#1 1 $1 _1
|
||||
1 1 1 1"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(81) "1 +1 0
|
||||
string(80) "1 +1 0
|
||||
1 d 0 1
|
||||
1 0 1 0000
|
||||
#0 1 $1 _0
|
||||
|
@ -71,28 +71,28 @@ echo "Done";
|
||||
*** Testing vsprintf() : float formats and non-float values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(244) "2.000000 -2.000000 2.000000
|
||||
string(243) "2.000000 -2.000000 2.000000
|
||||
123456.000000 f -12346789.000000 12346789.000000
|
||||
123200.0000 20000.0000 -40000.000000 22212.0000
|
||||
12345780.000000 1211111.000000 -12111111.000000 -12345634.000000
|
||||
2.000000 123456.000000 2.000000 -2.000000"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(196) "0.000000 +0.000000 0.000000
|
||||
string(195) "0.000000 +0.000000 0.000000
|
||||
123.000000 f -123.000000 123.000000
|
||||
0.0000 0.0000 123456.000000 0.0000
|
||||
1234.000000 0.000000 0.000000 0.000000
|
||||
0.000000 123.000000 0.000000 0.000000"
|
||||
|
||||
-- Iteration 3 --
|
||||
string(179) "1.000000 +1.000000 1.000000
|
||||
string(178) "1.000000 +1.000000 1.000000
|
||||
1.000000 f 1.000000 1.000000
|
||||
1.0000 1.0000 1.000000 1.0000
|
||||
1.000000 1.000000 1.000000 1.000000
|
||||
1.000000 1.000000 1.000000 1.000000"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(179) "1.000000 +1.000000 0.000000
|
||||
string(178) "1.000000 +1.000000 0.000000
|
||||
1.000000 f 0.000000 1.000000
|
||||
1.0000 0.0000 1.000000 0.0000
|
||||
0.000000 1.000000 1.000000 0.000000
|
||||
|
@ -71,14 +71,14 @@ foreach($args_array as $args) {
|
||||
*** Testing vsprintf() : string formats and non-string values ***
|
||||
|
||||
-- Iteration 1 --
|
||||
string(174) "2.2 0.2 10.2
|
||||
string(173) "2.2 0.2 10.2
|
||||
123456.234 -1234.6789 1234.6789
|
||||
2123 2765 -27654321000 2123
|
||||
12345.78 12.000000011111 -12.00000111111 -123456.234
|
||||
10.2 123456.234 2.2 0.2"
|
||||
|
||||
-- Iteration 2 --
|
||||
string(130) "2 -2 2
|
||||
string(129) "2 -2 2
|
||||
123456 -12346789 12346789
|
||||
1232 2000 -40000 2221
|
||||
12345780 1211111 -12111111 -12345634
|
||||
@ -121,14 +121,14 @@ Warning: Array to string conversion in %s on line %d
|
||||
Warning: Array to string conversion in %s on line %d
|
||||
|
||||
Warning: Array to string conversion in %s on line %d
|
||||
string(129) "Array Array Array
|
||||
string(128) "Array Array Array
|
||||
Array Array Array
|
||||
Arra Arra Array Arra
|
||||
Array Array Array Array
|
||||
Array Array Array Array"
|
||||
|
||||
-- Iteration 4 --
|
||||
string(79) "1 1
|
||||
string(78) "1 1
|
||||
1 1
|
||||
1 0001 0000
|
||||
#0 1 $1 _0
|
||||
|
Loading…
Reference in New Issue
Block a user