]> granicus.if.org Git - php/commitdiff
Fix indentation/trailing whitespaces of 32-bit tests
authorMáté Kocsis <kocsismate@woohoolabs.com>
Mon, 3 Feb 2020 15:50:59 +0000 (16:50 +0100)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Mon, 3 Feb 2020 15:50:59 +0000 (16:50 +0100)
ext/standard/tests/strings/vfprintf_variation12.phpt
ext/standard/tests/strings/vfprintf_variation14.phpt
ext/standard/tests/strings/vfprintf_variation16.phpt
ext/standard/tests/strings/vprintf_variation12.phpt
ext/standard/tests/strings/vprintf_variation14.phpt
ext/standard/tests/strings/vprintf_variation16.phpt
ext/standard/tests/strings/vprintf_variation4.phpt
ext/standard/tests/strings/vsprintf_variation12.phpt
ext/standard/tests/strings/vsprintf_variation14.phpt
ext/standard/tests/strings/vsprintf_variation16.phpt
ext/standard/tests/strings/vsprintf_variation4.phpt

index 3bd46f88997c54bc3602033eff8a7621a091570d..02fe5ac6f8f2a7f3c7a828de677217360b9000ec 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : octal formats and non-octal values ***\n";
 
 // defining array of octal formats
 $formats =
-  '%o %+o %-o 
+  '%o %+o %-o
    %lo %Lo %4o %-4o
-   %10.4o %-10.4o %.4o 
+   %10.4o %-10.4o %.4o
    %\'#2o %\'2o %\'$2o %\'_2o
    %3$o %4$o %1$o %2$o';
 
@@ -92,32 +92,32 @@ unlink($data_file);
 *** Testing vfprintf() : octal formats and non-octal values ***
 
 -- Iteration 1 --
-2 0 12 
+2 0 12
    361100 o 37777775456 2322
-                          
+                         
    30071 14 37777777764 37777416700
    12 361100 2 0
 -- Iteration 2 --
-2 37777777776 2 
+2 37777777776 2
    361100 o 37720715133 57062645
-                          
+                         
    57060664 4475347 37721631371 37720717336
    2 361100 2 37777777776
 -- Iteration 3 --
-0 0 0 
+0 0 0
    173 o 37777777605 173 
-                          
+                         
    2322 0 $0 _0
    0 173 0 0
 -- Iteration 4 --
-1 1 1 
+1 1 1
    1 o    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1
 -- Iteration 5 --
-1 1 0 
+1 1 0
    1 o    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1
index 36fd10c31e469d815140d15ffd7b82dee1e4d314..c22b290c071ed18fd05f2129dbb9b6fd6bffb74c 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : hexa formats and non-hexa values ***\n";
 
 // defining array of different hexa formats
 $formats =
-  '%x %+x %-x 
+  '%x %+x %-x
    %lx %Lx %4x %-4x
-   %10.4x %-10.4x %.4x 
+   %10.4x %-10.4x %.4x
    %\'#2x %\'2x %\'$2x %\'_2x
    %3$x %4$x %1$x %2$x';
 
@@ -92,32 +92,32 @@ unlink($data_file);
 *** Testing vfprintf() : hexa formats and non-hexa values ***
 
 -- Iteration 1 --
-2 0 a 
+2 0 a
    1e240 x fffffb2e 4d2 
-                          
+                         
    3039 c fffffff4 fffe1dc0
    a 1e240 2 0
 -- Iteration 2 --
-2 fffffffe 2 
+2 fffffffe 2
    1e240 x ff439a5b bc65a5
-                          
+                         
    bc61b4 127ae7 ff4732f9 ff439ede
    2 1e240 2 fffffffe
 -- Iteration 3 --
-0 0 0 
+0 0 0
    7b x ffffff85 7b  
-                          
+                         
    4d2 0 $0 _0
    0 7b 0 0
 -- Iteration 4 --
-1 1 1 
+1 1 1
    1 x    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1
 -- Iteration 5 --
-1 1 0 
+1 1 0
    1 x    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1
index 875af5838eb11566ad7401a948b52ad307b3216b..3cd509478e3f0e54f58fd63fb105e8386e95be21 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vfprintf() : unsigned formats and signed & other types of valu
 
 // defining array of unsigned formats
 $formats =
-  '%u %+u %-u 
+  '%u %+u %-u
    %lu %Lu %4u %-4u
-   %10.4u %-10.4u %.4u 
+   %10.4u %-10.4u %.4u
    %\'#2u %\'2u %\'$2u %\'_2u
    %3$u %4$u %1$u %2$u';
 
@@ -85,26 +85,26 @@ unlink($data_file);
 *** Testing vfprintf() : unsigned formats and signed & other types of values ***
 
 -- Iteration 1 --
-2 0 10 
+2 0 10
    123456 u 1234 2820130816
-   2840207360 1177509888 12345 
+   2840207360 1177509888 12345
    12 4294967284 4294843840 _3
    10 123456 2 0
 -- Iteration 2 --
-0 0 0 
+0 0 0
    123 u 4294967173 123 
-            0 0          0 
+            0 0          0
    1234 0 $0 _0
    0 123 0 0
 -- Iteration 3 --
-1 1 1 
+1 1 1
    1 u    1 1   
-            1 1          1 
+            1 1          1
    #1 1 $1 _1
    1 1 1 1
 -- Iteration 4 --
-1 1 0 
+1 1 0
    1 u    0 1   
-            1 1          0 
+            1 1          0
    #0 1 $1 _0
    0 1 1 1
index 26c355752d8b26e1d1a9264af45459df4f22f2b3..4f8a9b05a7048b7b97b7b2e1a7b01f766f556775 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vprintf() : octal formats and non-octal values ***\n";
 
 // defining array of octal formats
 $formats =
-  '%o %+o %-o 
+  '%o %+o %-o
    %lo %Lo %4o %-4o
-   %10.4o %-10.4o %.4o 
+   %10.4o %-10.4o %.4o
    %\'#2o %\'2o %\'$2o %\'_2o
    %3$o %4$o %1$o %2$o';
 
@@ -83,41 +83,41 @@ foreach($args_array as $args) {
 *** Testing vprintf() : octal formats and non-octal values ***
 
 -- Iteration 1 --
-2 0 12 
+2 0 12
    361100 o 37777775456 2322
-                          
+                         
    30071 14 37777777764 37777416700
    12 361100 2 0
-int(116)
+int(114)
 
 -- Iteration 2 --
-2 37777777776 2 
+2 37777777776 2
    361100 o 37720715133 57062645
-                          
+                         
    57060664 4475347 37721631371 37720717336
    2 361100 2 37777777776
-int(146)
+int(144)
 
 -- Iteration 3 --
-0 0 0 
+0 0 0
    173 o 37777777605 173 
-                          
+                         
    2322 0 $0 _0
    0 173 0 0
-int(88)
+int(86)
 
 -- Iteration 4 --
-1 1 1 
+1 1 1
    1 o    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1
-int(75)
+int(73)
 
 -- Iteration 5 --
-1 1 0 
+1 1 0
    1 o    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1
-int(75)
+int(73)
index 541005660853f90b756236dbe9daa1719eb72a37..04a90a00d397e9419d993a3e0dea6f64321765fd 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vprintf() : hexa formats and non-hexa values ***\n";
 
 // defining array of different hexa formats
 $formats =
-  '%x %+x %-x 
+  '%x %+x %-x
    %lx %Lx %4x %-4x
-   %10.4x %-10.4x %.4x 
+   %10.4x %-10.4x %.4x
    %\'#2x %\'2x %\'$2x %\'_2x
    %3$x %4$x %1$x %2$x';
 
@@ -84,41 +84,41 @@ foreach($args_array as $args) {
 *** Testing vprintf() : hexa formats and non-hexa values ***
 
 -- Iteration 1 --
-2 0 a 
+2 0 a
    1e240 x fffffb2e 4d2 
-                          
+                         
    3039 c fffffff4 fffe1dc0
    a 1e240 2 0
-int(101)
+int(99)
 
 -- Iteration 2 --
-2 fffffffe 2 
+2 fffffffe 2
    1e240 x ff439a5b bc65a5
-                          
+                         
    bc61b4 127ae7 ff4732f9 ff439ede
    2 1e240 2 fffffffe
-int(124)
+int(122)
 
 -- Iteration 3 --
-0 0 0 
+0 0 0
    7b x ffffff85 7b  
-                          
+                         
    4d2 0 $0 _0
    0 7b 0 0
-int(82)
+int(80)
 
 -- Iteration 4 --
-1 1 1 
+1 1 1
    1 x    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1
-int(75)
+int(73)
 
 -- Iteration 5 --
-1 1 0 
+1 1 0
    1 x    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1
-int(75)
+int(73)
index 999feefaabc9b46d82ebc8e9bc1a8c0d7c72266b..16139a2e652377bfa6ec31fdad2b412ecb3c37b1 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vprintf() : unsigned formats and signed & other types of value
 
 // defining array of unsigned formats
 $formats =
-  '%u %+u %-u 
+  '%u %+u %-u
    %lu %Lu %4u %-4u
-   %10.4u %-10.4u %.4u 
+   %10.4u %-10.4u %.4u
    %\'#2u %\'2u %\'$2u %\'_2u
    %3$u %4$u %1$u %2$u';
 
@@ -75,33 +75,33 @@ foreach($args_array as $args) {
 *** Testing vprintf() : unsigned formats and signed & other types of values ***
 
 -- Iteration 1 --
-2 0 10 
+2 0 10
    123456 u 1234 2820130816
-   2840207360 1177509888 12345 
+   2840207360 1177509888 12345
    12 4294967284 4294843840 _3
    10 123456 2 0
-int(115)
+int(113)
 
 -- Iteration 2 --
-0 0 0 
+0 0 0
    123 u 4294967173 123 
-            0 0          0 
+            0 0          0
    1234 0 $0 _0
    0 123 0 0
-int(88)
+int(86)
 
 -- Iteration 3 --
-1 1 1 
+1 1 1
    1 u    1 1   
-            1 1          1 
+            1 1          1
    #1 1 $1 _1
    1 1 1 1
-int(76)
+int(74)
 
 -- Iteration 4 --
-1 1 0 
+1 1 0
    1 u    0 1   
-            1 1          0 
+            1 1          0
    #0 1 $1 _0
    0 1 1 1
-int(76)
+int(74)
index 6adb3f19af6624b5d85b5b8b4247432acae30201..93adbb79ff26243baabf4f6d612b3ff35e9ca7ee 100644 (file)
@@ -20,7 +20,7 @@ echo "*** Testing vprintf() : int formats and non-integer values ***\n";
 
 // defining array of int formats
 $formats =
-  '%d %+d %-d 
+  '%d %+d %-d
    %ld %Ld %4d %-4d
    %10.4d %-10.4d %.4d %04.4d
    %\'#2d %\'2d %\'$2d %\'_2d
@@ -76,33 +76,33 @@ foreach($args_array as $args) {
 *** Testing vprintf() : int formats and non-integer values ***
 
 -- Iteration 1 --
-2 +0 10 
+2 +0 10
    123456 d -1234 1234
    -1474836480 200000     4000 22000000
    12345 12 -12 -123456
    10 123456 2 0
-int(112)
+int(111)
 
 -- Iteration 2 --
-0 +0 0 
+0 +0 0
    123 d -123 123 
             0 0          123456 0000
    1234 0 $0 _0
    0 123 0 0
-int(92)
+int(91)
 
 -- Iteration 3 --
-1 +1 1 
+1 +1 1
    1 d    1 1   
             1 1          1 0001
    #1 1 $1 _1
    1 1 1 1
-int(81)
+int(80)
 
 -- Iteration 4 --
-1 +1 0 
+1 +1 0
    1 d    0 1   
             1 0          1 0000
    #0 1 $1 _0
    0 1 1 1
-int(81)
+int(80)
index 4385cdfe393133c226b27a78ae60dfbe63a20cf3..8ef03b3acdbdbe7d93fa996d84fa101b1db716d4 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : octal formats and non-octal values ***\n";
 
 // defining array of octal formats
 $formats =
-  '%o %+o %-o 
+  '%o %+o %-o
    %lo %Lo %4o %-4o
-   %10.4o %-10.4o %.4o 
+   %10.4o %-10.4o %.4o
    %\'#2o %\'2o %\'$2o %\'_2o
    %3$o %4$o %1$o %2$o';
 
@@ -82,37 +82,37 @@ echo "Done";
 *** Testing vsprintf() : octal formats and non-octal values ***
 
 -- Iteration 1 --
-string(116) "2 0 12 
+string(114) "2 0 12
    361100 o 37777775456 2322
-                          
+                         
    30071 14 37777777764 37777416700
    12 361100 2 0"
 
 -- Iteration 2 --
-string(146) "2 37777777776 2 
+string(144) "2 37777777776 2
    361100 o 37720715133 57062645
-                          
+                         
    57060664 4475347 37721631371 37720717336
    2 361100 2 37777777776"
 
 -- Iteration 3 --
-string(88) "0 0 0 
+string(86) "0 0 0
    173 o 37777777605 173 
-                          
+                         
    2322 0 $0 _0
    0 173 0 0"
 
 -- Iteration 4 --
-string(75) "1 1 1 
+string(73) "1 1 1
    1 o    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1"
 
 -- Iteration 5 --
-string(75) "1 1 0 
+string(73) "1 1 0
    1 o    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1"
 Done
index 749d8fa2dfd2dcb0bbac0b8ba6de22d0c6df1d09..ede83de3c1513408ceae902b3740e67927ed0cc9 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : hexa formats and non-hexa values ***\n";
 
 // defining array of different hexa formats
 $formats =
-  '%x %+x %-x 
+  '%x %+x %-x
    %lx %Lx %4x %-4x
-   %10.4x %-10.4x %.4x 
+   %10.4x %-10.4x %.4x
    %\'#2x %\'2x %\'$2x %\'_2x
    %3$x %4$x %1$x %2$x';
 
@@ -83,37 +83,37 @@ echo "Done";
 *** Testing vsprintf() : hexa formats and non-hexa values ***
 
 -- Iteration 1 --
-string(101) "2 0 a 
+string(99) "2 0 a
    1e240 x fffffb2e 4d2 
-                          
+                         
    3039 c fffffff4 fffe1dc0
    a 1e240 2 0"
 
 -- Iteration 2 --
-string(124) "2 fffffffe 2 
+string(122) "2 fffffffe 2
    1e240 x ff439a5b bc65a5
-                          
+                         
    bc61b4 127ae7 ff4732f9 ff439ede
    2 1e240 2 fffffffe"
 
 -- Iteration 3 --
-string(82) "0 0 0 
+string(80) "0 0 0
    7b x ffffff85 7b  
-                          
+                         
    4d2 0 $0 _0
    0 7b 0 0"
 
 -- Iteration 4 --
-string(75) "1 1 1 
+string(73) "1 1 1
    1 x    1 1   
-                          
+                         
    #1 1 $1 _1
    1 1 1 1"
 
 -- Iteration 5 --
-string(75) "1 1 0 
+string(73) "1 1 0
    1 x    0 1   
-                          
+                         
    #0 1 $1 _0
    0 1 1 1"
 Done
index 7e86f2890e5527a7b49ebae797f6e4a4b85343b9..862828d5ad5eec91deb2a2c202100d8b8235cfc3 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing vsprintf() : unsigned formats and signed & other types of valu
 
 // defining array of unsigned formats
 $formats =
-  '%u %+u %-u 
+  '%u %+u %-u
    %lu %Lu %4u %-4u
-   %10.4u %-10.4u %.4u 
+   %10.4u %-10.4u %.4u
    %\'#2u %\'2u %\'$2u %\'_2u
    %3$u %4$u %1$u %2$u';
 
@@ -75,30 +75,30 @@ echo "Done";
 *** Testing vsprintf() : unsigned formats and signed & other types of values ***
 
 -- Iteration 1 --
-string(115) "2 0 10 
+string(113) "2 0 10
    123456 u 1234 2820130816
-   2840207360 1177509888 12345 
+   2840207360 1177509888 12345
    12 4294967284 4294843840 _3
    10 123456 2 0"
 
 -- Iteration 2 --
-string(88) "0 0 0 
+string(86) "0 0 0
    123 u 4294967173 123 
-            0 0          0 
+            0 0          0
    1234 0 $0 _0
    0 123 0 0"
 
 -- Iteration 3 --
-string(76) "1 1 1 
+string(74) "1 1 1
    1 u    1 1   
-            1 1          1 
+            1 1          1
    #1 1 $1 _1
    1 1 1 1"
 
 -- Iteration 4 --
-string(76) "1 1 0 
+string(74) "1 1 0
    1 u    0 1   
-            1 1          0 
+            1 1          0
    #0 1 $1 _0
    0 1 1 1"
 Done
index 8fe8aba5cde4303061ce06d434a5cc3d6abf1f7e..69b6c913ea7429a202baeb0433b8f51e3adce83c 100644 (file)
@@ -20,7 +20,7 @@ echo "*** Testing vsprintf() : int formats and non-integer values ***\n";
 
 // defining array of int formats
 $formats =
-  '%d %+d %-d 
+  '%d %+d %-d
    %ld %Ld %4d %-4d
    %10.4d %-10.4d %.4d %04.4d
    %\'#2d %\'2d %\'$2d %\'_2d
@@ -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
    -1474836480 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