diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 17:45:48 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:45:12 +0200 |
commit | 782352c54ad69c517e3c32b0dd2c25d74842647a (patch) | |
tree | 220bdc1e814e9f44b3578d49b3f239a3fdefa1d0 /tests/output | |
parent | 604d4bdae5037e021c1f9d35f08cbeddd610d84c (diff) | |
download | php-git-782352c54ad69c517e3c32b0dd2c25d74842647a.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'tests/output')
35 files changed, 81 insertions, 81 deletions
diff --git a/tests/output/bug60321.phpt b/tests/output/bug60321.phpt index 9802a57ccd..e9c109dbf7 100644 --- a/tests/output/bug60321.phpt +++ b/tests/output/bug60321.phpt @@ -2,7 +2,7 @@ Bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty) --FILE-- <?php -$return = ob_get_status(true); +$return = ob_get_status(true); var_dump($return); --EXPECT-- array(0) { diff --git a/tests/output/bug65593.phpt b/tests/output/bug65593.phpt index 3375a6bf08..2e40afa076 100644 --- a/tests/output/bug65593.phpt +++ b/tests/output/bug65593.phpt @@ -1,7 +1,7 @@ --TEST-- Bug #65593 (ob_start(function(){ob_start();});) --FILE-- -<?php +<?php echo "Test\n"; ob_start(function(){ob_start();}); diff --git a/tests/output/flush_basic_001.phpt b/tests/output/flush_basic_001.phpt index 1cc363d63c..fb1ce2c208 100644 --- a/tests/output/flush_basic_001.phpt +++ b/tests/output/flush_basic_001.phpt @@ -2,11 +2,11 @@ Test basic functionality of flush() --FILE-- <?php -/* +/* * proto void flush(void) * Function is implemented in ext/standard/basic_functions.c. */ - + // Verify return type var_dump(flush()); diff --git a/tests/output/flush_error_001.phpt b/tests/output/flush_error_001.phpt index 1f079e6009..e80f69c6b8 100644 --- a/tests/output/flush_error_001.phpt +++ b/tests/output/flush_error_001.phpt @@ -2,7 +2,7 @@ Test wrong number of arguments for flush() (no impact) --FILE-- <?php -/* +/* * proto void flush(void) * Function is implemented in ext/standard/basic_functions.c. */ diff --git a/tests/output/ob_clean_basic_001.phpt b/tests/output/ob_clean_basic_001.phpt index afaa7e2f4a..bd91676b12 100644 --- a/tests/output/ob_clean_basic_001.phpt +++ b/tests/output/ob_clean_basic_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_clean() function : basic functionality +Test ob_clean() function : basic functionality --FILE-- <?php /* Prototype : proto bool ob_clean(void) - * Description: Clean (delete) the current output buffer + * Description: Clean (delete) the current output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_clean() : basic functionality ***\n"; diff --git a/tests/output/ob_clean_error_001.phpt b/tests/output/ob_clean_error_001.phpt index 8060c2be8b..fffe484074 100644 --- a/tests/output/ob_clean_error_001.phpt +++ b/tests/output/ob_clean_error_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_clean() function : error conditions +Test ob_clean() function : error conditions --FILE-- <?php /* Prototype : proto bool ob_clean(void) - * Description: Clean (delete) the current output buffer + * Description: Clean (delete) the current output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_clean() : error conditions ***\n"; diff --git a/tests/output/ob_end_clean_basic_001.phpt b/tests/output/ob_end_clean_basic_001.phpt index 54e840bdbd..87942c2f6d 100644 --- a/tests/output/ob_end_clean_basic_001.phpt +++ b/tests/output/ob_end_clean_basic_001.phpt @@ -2,10 +2,10 @@ Test return type and value, as well as basic behaviour, for ob_end_clean() --FILE-- <?php -/* +/* * proto bool ob_end_clean(void) * Function is implemented in main/output.c -*/ +*/ var_dump(ob_end_clean()); diff --git a/tests/output/ob_end_clean_error_001.phpt b/tests/output/ob_end_clean_error_001.phpt index 0279db7b41..09bacaa081 100644 --- a/tests/output/ob_end_clean_error_001.phpt +++ b/tests/output/ob_end_clean_error_001.phpt @@ -2,10 +2,10 @@ Test wrong number of arguments for ob_end_clean() --FILE-- <?php -/* +/* * proto bool ob_end_clean(void) * Function is implemented in main/output.c -*/ +*/ $extra_arg = 1; diff --git a/tests/output/ob_end_flush_basic_001.phpt b/tests/output/ob_end_flush_basic_001.phpt index cba7802761..811d6a0761 100644 --- a/tests/output/ob_end_flush_basic_001.phpt +++ b/tests/output/ob_end_flush_basic_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_end_flush() function : basic functionality +Test ob_end_flush() function : basic functionality --FILE-- <?php /* Prototype : proto bool ob_end_flush(void) - * Description: Flush (send) the output buffer, and delete current output buffer + * Description: Flush (send) the output buffer, and delete current output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_end_flush() : basic functionality ***\n"; diff --git a/tests/output/ob_end_flush_error_001.phpt b/tests/output/ob_end_flush_error_001.phpt index 2cd9a64e0d..e9c15bd05f 100644 --- a/tests/output/ob_end_flush_error_001.phpt +++ b/tests/output/ob_end_flush_error_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_end_flush() function : error conditions +Test ob_end_flush() function : error conditions --FILE-- <?php /* Prototype : proto bool ob_end_flush(void) - * Description: Flush (send) the output buffer, and delete current output buffer + * Description: Flush (send) the output buffer, and delete current output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_end_flush() : error conditions ***\n"; diff --git a/tests/output/ob_flush_basic_001.phpt b/tests/output/ob_flush_basic_001.phpt index 57de5e31ad..e53c7e5a23 100644 --- a/tests/output/ob_flush_basic_001.phpt +++ b/tests/output/ob_flush_basic_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_flush() function : basic functionality +Test ob_flush() function : basic functionality --FILE-- <?php /* Prototype : proto bool ob_flush(void) - * Description: Flush (send) contents of the output buffer. The last buffer content is sent to next buffer + * Description: Flush (send) contents of the output buffer. The last buffer content is sent to next buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_flush() : basic functionality ***\n"; diff --git a/tests/output/ob_flush_error_001.phpt b/tests/output/ob_flush_error_001.phpt index f24a19b8ce..6e95810dce 100644 --- a/tests/output/ob_flush_error_001.phpt +++ b/tests/output/ob_flush_error_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_flush() function : error conditions +Test ob_flush() function : error conditions --FILE-- <?php /* Prototype : proto bool ob_flush(void) - * Description: Flush (send) contents of the output buffer. The last buffer content is sent to next buffer + * Description: Flush (send) contents of the output buffer. The last buffer content is sent to next buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_flush() : error conditions ***\n"; diff --git a/tests/output/ob_get_clean_basic_001.phpt b/tests/output/ob_get_clean_basic_001.phpt index 7e1c475c63..2ccf490485 100644 --- a/tests/output/ob_get_clean_basic_001.phpt +++ b/tests/output/ob_get_clean_basic_001.phpt @@ -2,10 +2,10 @@ Test return type and value, as well as basic behaviour, of ob_get_clean() --FILE-- <?php -/* +/* * proto bool ob_get_clean(void) * Function is implemented in main/output.c -*/ +*/ var_dump(ob_get_clean()); diff --git a/tests/output/ob_get_clean_basic_002.phpt b/tests/output/ob_get_clean_basic_002.phpt index c877642e23..9b74438594 100644 --- a/tests/output/ob_get_clean_basic_002.phpt +++ b/tests/output/ob_get_clean_basic_002.phpt @@ -2,10 +2,10 @@ Test basic behaviour of ob_get_clean() --FILE-- <?php -/* +/* * proto bool ob_get_clean(void) * Function is implemented in main/output.c -*/ +*/ ob_start(); diff --git a/tests/output/ob_get_clean_error_001.phpt b/tests/output/ob_get_clean_error_001.phpt index d6e2dd7b61..563e62c35a 100644 --- a/tests/output/ob_get_clean_error_001.phpt +++ b/tests/output/ob_get_clean_error_001.phpt @@ -2,10 +2,10 @@ Test wrong number of arguments for ob_get_clean() --FILE-- <?php -/* +/* * proto bool ob_get_clean(void) * Function is implemented in main/output.c -*/ +*/ $extra_arg = 1; diff --git a/tests/output/ob_get_contents_basic_001.phpt b/tests/output/ob_get_contents_basic_001.phpt index 8d324e5d61..cdf301281e 100644 --- a/tests/output/ob_get_contents_basic_001.phpt +++ b/tests/output/ob_get_contents_basic_001.phpt @@ -1,13 +1,13 @@ --TEST-- Test ob_get_contents() function : basic functionality --CREDITS-- -Iain Lewis <ilewis@php.net> +Iain Lewis <ilewis@php.net> --FILE-- <?php /* Prototype : proto string ob_get_contents(void) - * Description: Return the contents of the output buffer + * Description: Return the contents of the output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ @@ -35,14 +35,14 @@ ob_end_flush(); echo "\ncheck that contents disappear after a flush\n"; ob_start(); -echo "Hello World\n"; +echo "Hello World\n"; ob_flush(); var_dump(ob_get_contents()); ob_end_flush(); echo "\ncheck that no contents found after an end\n"; ob_start(); -echo "Hello World\n"; +echo "Hello World\n"; ob_end_flush(); var_dump(ob_get_contents()); diff --git a/tests/output/ob_get_contents_error_001.phpt b/tests/output/ob_get_contents_error_001.phpt index 94e3f31368..2c1c043ba7 100644 --- a/tests/output/ob_get_contents_error_001.phpt +++ b/tests/output/ob_get_contents_error_001.phpt @@ -1,13 +1,13 @@ --TEST-- Test ob_get_contents() function : error cases --CREDITS-- -Iain Lewis <ilewis@php.net> +Iain Lewis <ilewis@php.net> --FILE-- <?php /* Prototype : proto string ob_get_contents(void) - * Description: Return the contents of the output buffer + * Description: Return the contents of the output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ diff --git a/tests/output/ob_get_length_basic_001.phpt b/tests/output/ob_get_length_basic_001.phpt index ef52044c0c..892d106719 100644 --- a/tests/output/ob_get_length_basic_001.phpt +++ b/tests/output/ob_get_length_basic_001.phpt @@ -2,10 +2,10 @@ Test return type and value, as well as basic behaviour, of ob_get_length() --FILE-- <?php -/* +/* * proto int ob_get_length(void) * Function is implemented in main/output.c -*/ +*/ echo "No output buffers\n"; var_dump(ob_get_length()); diff --git a/tests/output/ob_get_length_error_001.phpt b/tests/output/ob_get_length_error_001.phpt index 3de0cb10a8..8e4318122b 100644 --- a/tests/output/ob_get_length_error_001.phpt +++ b/tests/output/ob_get_length_error_001.phpt @@ -2,10 +2,10 @@ Test wrong number of arguments for ob_get_length() --FILE-- <?php -/* +/* * proto int ob_get_length(void) * Function is implemented in main/output.c -*/ +*/ $extra_arg = 1; diff --git a/tests/output/ob_get_level_basic_001.phpt b/tests/output/ob_get_level_basic_001.phpt index 65f3291355..4a6c84785b 100644 --- a/tests/output/ob_get_level_basic_001.phpt +++ b/tests/output/ob_get_level_basic_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_get_level() function : basic functionality +Test ob_get_level() function : basic functionality --FILE-- <?php /* Prototype : proto int ob_get_level(void) - * Description: Return the nesting level of the output buffer + * Description: Return the nesting level of the output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_get_level() : basic functionality ***\n"; diff --git a/tests/output/ob_get_level_error_001.phpt b/tests/output/ob_get_level_error_001.phpt index 9694da54a0..00e9eca555 100644 --- a/tests/output/ob_get_level_error_001.phpt +++ b/tests/output/ob_get_level_error_001.phpt @@ -1,11 +1,11 @@ --TEST-- -Test ob_get_level() function : error conditions +Test ob_get_level() function : error conditions --FILE-- <?php /* Prototype : proto int ob_get_level(void) - * Description: Return the nesting level of the output buffer + * Description: Return the nesting level of the output buffer * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_get_level() : error conditions ***\n"; diff --git a/tests/output/ob_implicit_flush_basic_001.phpt b/tests/output/ob_implicit_flush_basic_001.phpt index 2bbf8fd45a..780eb6dfbb 100644 --- a/tests/output/ob_implicit_flush_basic_001.phpt +++ b/tests/output/ob_implicit_flush_basic_001.phpt @@ -3,9 +3,9 @@ Test ob_implicit_flush() function : check return value (always null). --FILE-- <?php /* Prototype : proto void ob_implicit_flush([int flag]) - * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call + * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_implicit_flush() : check return value ***\n"; diff --git a/tests/output/ob_implicit_flush_basic_002.phpt b/tests/output/ob_implicit_flush_basic_002.phpt index df985a49b9..37d10ba640 100644 --- a/tests/output/ob_implicit_flush_basic_002.phpt +++ b/tests/output/ob_implicit_flush_basic_002.phpt @@ -3,9 +3,9 @@ Test ob_implicit_flush() function : ensure implicit flushing does not apply to u --FILE-- <?php /* Prototype : proto void ob_implicit_flush([int flag]) - * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call + * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. ***\n"; diff --git a/tests/output/ob_implicit_flush_error_001.phpt b/tests/output/ob_implicit_flush_error_001.phpt index 1fac1b34d9..63c892e0c4 100644 --- a/tests/output/ob_implicit_flush_error_001.phpt +++ b/tests/output/ob_implicit_flush_error_001.phpt @@ -3,9 +3,9 @@ Test ob_implicit_flush() function : wrong number of arguments --FILE-- <?php /* Prototype : proto void ob_implicit_flush([int flag]) - * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call + * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_implicit_flush() : error conditions ***\n"; diff --git a/tests/output/ob_implicit_flush_variation_001.phpt b/tests/output/ob_implicit_flush_variation_001.phpt index 8f2442f8f8..d6d3a45e01 100644 --- a/tests/output/ob_implicit_flush_variation_001.phpt +++ b/tests/output/ob_implicit_flush_variation_001.phpt @@ -1,13 +1,13 @@ --TEST-- -Test ob_implicit_flush() function : usage variation +Test ob_implicit_flush() function : usage variation --SKIPIF-- <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64-bit only"); --FILE-- <?php /* Prototype : void ob_implicit_flush([int flag]) - * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call + * Description: Turn implicit flush on/off and is equivalent to calling flush() after every output call * Source code: main/output.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing ob_implicit_flush() : usage variation ***\n"; diff --git a/tests/output/ob_start_basic_001.phpt b/tests/output/ob_start_basic_001.phpt index 02275c62c5..0b06f6077f 100644 --- a/tests/output/ob_start_basic_001.phpt +++ b/tests/output/ob_start_basic_001.phpt @@ -2,10 +2,10 @@ Test return type and value for ob_start() --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ var_dump(ob_start()); diff --git a/tests/output/ob_start_basic_004.phpt b/tests/output/ob_start_basic_004.phpt index 9fe19e9b0f..eff1204236 100644 --- a/tests/output/ob_start_basic_004.phpt +++ b/tests/output/ob_start_basic_004.phpt @@ -1,13 +1,13 @@ --TEST-- -ob_start() chunk_size: confirm buffer is flushed after any output call that causes its length to equal or exceed chunk_size. +ob_start() chunk_size: confirm buffer is flushed after any output call that causes its length to equal or exceed chunk_size. --INI-- opcache.optimization_level=0 --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ // In HEAD, $chunk_size value of 1 should not have any special behaviour (http://marc.info/?l=php-internals&m=123476465621346&w=2). function callback($string) { global $callback_invocations; diff --git a/tests/output/ob_start_basic_005.phpt b/tests/output/ob_start_basic_005.phpt index 4048ad25a2..7cab6ed35f 100644 --- a/tests/output/ob_start_basic_005.phpt +++ b/tests/output/ob_start_basic_005.phpt @@ -2,10 +2,10 @@ ob_start(): non-static method as static callbacks. --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ Class C { function h($string) { diff --git a/tests/output/ob_start_basic_006.phpt b/tests/output/ob_start_basic_006.phpt index 464e71be33..d4d0fcc149 100644 --- a/tests/output/ob_start_basic_006.phpt +++ b/tests/output/ob_start_basic_006.phpt @@ -2,10 +2,10 @@ ob_start(): ensure multiple buffer initialization with a single call using arrays is not supported on PHP6 (http://bugs.php.net/42641) --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ function f($string) { static $i=0; @@ -27,7 +27,7 @@ Class C { $len = strlen($string); return "C::g[call:$i; len:$len] - $string\n"; } - + function h($string) { static $i=0; $i++; diff --git a/tests/output/ob_start_callbacks.phpt b/tests/output/ob_start_callbacks.phpt index da52d85f7f..6815bccd63 100644 --- a/tests/output/ob_start_callbacks.phpt +++ b/tests/output/ob_start_callbacks.phpt @@ -1,7 +1,7 @@ --TEST-- Test ob_start() with callbacks in variables --FILE-- -<?php +<?php // Closure in variable $a = function ($s) { return strtoupper($s); }; diff --git a/tests/output/ob_start_error_001.phpt b/tests/output/ob_start_error_001.phpt index 92372c7747..29288e2028 100644 --- a/tests/output/ob_start_error_001.phpt +++ b/tests/output/ob_start_error_001.phpt @@ -2,10 +2,10 @@ Test wrong number of arguments and wrong arg types for ob_start() --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ function justPrint($str) { return $str; diff --git a/tests/output/ob_start_error_002.phpt b/tests/output/ob_start_error_002.phpt index 38c789908d..7cac3ee4b3 100644 --- a/tests/output/ob_start_error_002.phpt +++ b/tests/output/ob_start_error_002.phpt @@ -2,10 +2,10 @@ Test wrong number of arguments and wrong arg types for ob_start() --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ Class C { static function f($str) { diff --git a/tests/output/ob_start_error_003.phpt b/tests/output/ob_start_error_003.phpt index 7fa292a739..3af56f7a2b 100644 --- a/tests/output/ob_start_error_003.phpt +++ b/tests/output/ob_start_error_003.phpt @@ -2,10 +2,10 @@ Test ob_start() with object supplied but no method. --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ Class C { } diff --git a/tests/output/ob_start_error_004.phpt b/tests/output/ob_start_error_004.phpt index 7ddf998557..83f5dc8d1c 100644 --- a/tests/output/ob_start_error_004.phpt +++ b/tests/output/ob_start_error_004.phpt @@ -2,10 +2,10 @@ Test ob_start() with non existent callback method. --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ Class C { } diff --git a/tests/output/ob_start_error_005.phpt b/tests/output/ob_start_error_005.phpt index 134f2249b7..d6f9dc4c10 100644 --- a/tests/output/ob_start_error_005.phpt +++ b/tests/output/ob_start_error_005.phpt @@ -3,10 +3,10 @@ ob_start(): ensure buffers can't be added from within callback. --FILE-- <?php -/* +/* * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]]) * Function is implemented in main/output.c -*/ +*/ function f($str) { ob_start(); |