diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 11:34:14 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 13:13:44 +0200 |
commit | b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc (patch) | |
tree | f8ed9902f65b0b31656703d33100427ad9d077ba /ext/standard | |
parent | 187d7f05c2529779006840e34cbd9de4faabb229 (diff) | |
download | php-git-b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc.tar.gz |
Remove unnecessary PHPDoc-alike blocks from tests
Closes GH-5759
Diffstat (limited to 'ext/standard')
1776 files changed, 417 insertions, 10206 deletions
diff --git a/ext/standard/tests/array/005.phpt b/ext/standard/tests/array/005.phpt index ed9f0458c4..29deed8a12 100644 --- a/ext/standard/tests/array/005.phpt +++ b/ext/standard/tests/array/005.phpt @@ -2,10 +2,6 @@ Test array_shift() function --FILE-- <?php -/* Prototype: mixed array_shift( array &array ); - * Description: Shifts the first value of the array off and returns it. - */ - array_shift($GLOBALS); $empty_array = array(); diff --git a/ext/standard/tests/array/009.phpt b/ext/standard/tests/array/009.phpt index fc10d293ff..42cecc51ea 100644 --- a/ext/standard/tests/array/009.phpt +++ b/ext/standard/tests/array/009.phpt @@ -2,12 +2,6 @@ Test key(), current(), next() & reset() functions --FILE-- <?php -/* Prototype & Usage: - mixed key ( array &$array ) -> returns the index element of the current array position - mixed current ( array &$array ) -> returns the current element in the array - mixed next ( array &$array ) -> similar to current() but advances the internal pointer to next element - mixed reset ( array &$array ) -> Reset the internal pointer to first element -*/ $basic_arrays = array ( array(0), // array with element as 0 diff --git a/ext/standard/tests/array/array_change_key_case.phpt b/ext/standard/tests/array/array_change_key_case.phpt index 115a7096d8..92c4564019 100644 --- a/ext/standard/tests/array/array_change_key_case.phpt +++ b/ext/standard/tests/array/array_change_key_case.phpt @@ -2,12 +2,6 @@ Test array_change_key_case() function --FILE-- <?php -/* Prototype: array array_change_key_case ( array $input [, int $case] ) - Description: Changes the keys in the input array to be all lowercase - or uppercase. The change depends on the last optional case parameter. - You can pass two constants there, CASE_UPPER and CASE_LOWER(default). - The function will leave number indices as is. -*/ $arrays = array ( array (), array (0), diff --git a/ext/standard/tests/array/array_change_key_case_variation3.phpt b/ext/standard/tests/array/array_change_key_case_variation3.phpt index 726b0eb553..bd5ad8557b 100644 --- a/ext/standard/tests/array/array_change_key_case_variation3.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation3.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - different data types as keys --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Pass arrays with different data types as keys to array_change_key_case() * to test conversion diff --git a/ext/standard/tests/array/array_change_key_case_variation4.phpt b/ext/standard/tests/array/array_change_key_case_variation4.phpt index eaacfaac58..82d2114516 100644 --- a/ext/standard/tests/array/array_change_key_case_variation4.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation4.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - different int values for $case --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Pass different integer values as $case argument to array_change_key_case() to test behaviour */ diff --git a/ext/standard/tests/array/array_change_key_case_variation5.phpt b/ext/standard/tests/array/array_change_key_case_variation5.phpt index e39fb1cafe..7fe48e8759 100644 --- a/ext/standard/tests/array/array_change_key_case_variation5.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation5.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - position of internal pointer --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Check the position of the internal array pointer after calling the function */ diff --git a/ext/standard/tests/array/array_change_key_case_variation6.phpt b/ext/standard/tests/array/array_change_key_case_variation6.phpt index aa87ee1fb5..1357650e10 100644 --- a/ext/standard/tests/array/array_change_key_case_variation6.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation6.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - multidimensional arrays --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Test how array_change_key_case() converts keys in multi-dimensional arrays */ diff --git a/ext/standard/tests/array/array_change_key_case_variation7.phpt b/ext/standard/tests/array/array_change_key_case_variation7.phpt index 0f1268dd48..44fd6adb26 100644 --- a/ext/standard/tests/array/array_change_key_case_variation7.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation7.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Test array_change_key_case() when: * 1. Passed a referenced variable diff --git a/ext/standard/tests/array/array_change_key_case_variation8.phpt b/ext/standard/tests/array/array_change_key_case_variation8.phpt index 17455c54da..bb4dbc4af6 100644 --- a/ext/standard/tests/array/array_change_key_case_variation8.phpt +++ b/ext/standard/tests/array/array_change_key_case_variation8.phpt @@ -2,11 +2,6 @@ Test array_change_key_case() function : usage variations - Different strings as keys --FILE-- <?php -/* Prototype : array array_change_key_case(array $input [, int $case]) - * Description: Returns an array with all string keys lowercased [or uppercased] - * Source code: ext/standard/array.c - */ - /* * Test how array_change_key_case() behaves with different strings */ diff --git a/ext/standard/tests/array/array_chunk_basic1.phpt b/ext/standard/tests/array/array_chunk_basic1.phpt index 8bd92eb14e..68a8410dbe 100644 --- a/ext/standard/tests/array/array_chunk_basic1.phpt +++ b/ext/standard/tests/array/array_chunk_basic1.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : basic functionality - default 'preserve_keys' --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * Chunks an array into size large chunks. - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_chunk() : basic functionality ***\n"; $size = 2; diff --git a/ext/standard/tests/array/array_chunk_basic2.phpt b/ext/standard/tests/array/array_chunk_basic2.phpt index 10dcc9e5ba..5f9b0afb7a 100644 --- a/ext/standard/tests/array/array_chunk_basic2.phpt +++ b/ext/standard/tests/array/array_chunk_basic2.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : basic functionality - 'preserve_keys' as true/false --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * Chunks an array into size large chunks. - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_chunk() : basic functionality ***\n"; $size = 2; diff --git a/ext/standard/tests/array/array_chunk_variation4.phpt b/ext/standard/tests/array/array_chunk_variation4.phpt index 2396e022f4..265fc390ec 100644 --- a/ext/standard/tests/array/array_chunk_variation4.phpt +++ b/ext/standard/tests/array/array_chunk_variation4.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : usage variations - array with diff. sub arrays --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * : Chunks an array into size large chunks - * Source code: ext/standard/array.c -*/ - /* * Testing array_chunk() function - input array containing different sub arrays */ diff --git a/ext/standard/tests/array/array_chunk_variation5.phpt b/ext/standard/tests/array/array_chunk_variation5.phpt index be20656825..1cf528d081 100644 --- a/ext/standard/tests/array/array_chunk_variation5.phpt +++ b/ext/standard/tests/array/array_chunk_variation5.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : usage variations - different 'size' values --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * : Chunks an array into size large chunks - * Source code: ext/standard/array.c -*/ - /* * Testing array_chunk() function with following conditions * 1. -ve size value diff --git a/ext/standard/tests/array/array_chunk_variation6.phpt b/ext/standard/tests/array/array_chunk_variation6.phpt index 96344b074f..c9c34e512e 100644 --- a/ext/standard/tests/array/array_chunk_variation6.phpt +++ b/ext/standard/tests/array/array_chunk_variation6.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : usage variations - different arrays --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * : Chunks an array into size large chunks - * Source code: ext/standard/array.c -*/ - /* * Testing array_chunk() function with following conditions * 1. array without elements diff --git a/ext/standard/tests/array/array_chunk_variation7.phpt b/ext/standard/tests/array/array_chunk_variation7.phpt index 513487fab8..4b12c32502 100644 --- a/ext/standard/tests/array/array_chunk_variation7.phpt +++ b/ext/standard/tests/array/array_chunk_variation7.phpt @@ -2,12 +2,6 @@ Test array_chunk() function : usage variations - references --FILE-- <?php -/* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) - * Description: Split array into chunks - * : Chunks an array into size large chunks - * Source code: ext/standard/array.c -*/ - /* * Testing array_chunk() function with following conditions * 1. input array containing references diff --git a/ext/standard/tests/array/array_column_basic.phpt b/ext/standard/tests/array/array_column_basic.phpt index 57056b971f..42e4576177 100644 --- a/ext/standard/tests/array/array_column_basic.phpt +++ b/ext/standard/tests/array/array_column_basic.phpt @@ -2,12 +2,6 @@ Test array_column() function: basic functionality --FILE-- <?php -/* Prototype: - * array array_column(array $input, mixed $column_key[, mixed $index_key]); - * Description: - * Returns an array containing all the values from - * the specified "column" in a two-dimensional array. - */ echo "*** Testing array_column() : basic functionality ***\n"; /* Array representing a possible record set returned from a database */ diff --git a/ext/standard/tests/array/array_column_scalar_index_strict_types.phpt b/ext/standard/tests/array/array_column_scalar_index_strict_types.phpt index de98d5d999..ca5ff20197 100644 --- a/ext/standard/tests/array/array_column_scalar_index_strict_types.phpt +++ b/ext/standard/tests/array/array_column_scalar_index_strict_types.phpt @@ -3,12 +3,6 @@ Test array_column(): Index argument with various types in strict type mode --FILE-- <?php declare(strict_types=1); -/* Prototype: - * array array_column(array $input, mixed $column_key[, mixed $index_key]); - * Description: - * Returns an array containing all the values from - * the specified "column" in a two-dimensional array. - */ echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bool) --\n"; try { diff --git a/ext/standard/tests/array/array_column_scalar_index_weak_types.phpt b/ext/standard/tests/array/array_column_scalar_index_weak_types.phpt index ae8c248a59..42ca676ebf 100644 --- a/ext/standard/tests/array/array_column_scalar_index_weak_types.phpt +++ b/ext/standard/tests/array/array_column_scalar_index_weak_types.phpt @@ -2,13 +2,6 @@ Test array_column(): Index argument with various types in weak type mode --FILE-- <?php -/* Prototype: - * array array_column(array $input, mixed $column_key[, mixed $index_key]); - * Description: - * Returns an array containing all the values from - * the specified "column" in a two-dimensional array. - */ - echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bool) --\n"; try { var_dump(array_column([['php7', 'foo'], ['php8', 'bar']], false)); diff --git a/ext/standard/tests/array/array_combine_basic.phpt b/ext/standard/tests/array/array_combine_basic.phpt index 6079f4119e..ccf1bbf476 100644 --- a/ext/standard/tests/array/array_combine_basic.phpt +++ b/ext/standard/tests/array/array_combine_basic.phpt @@ -2,12 +2,6 @@ Test array_combine() function : basic functionality --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_combine() : basic functionality ***\n"; /* Different arrays for $keys and $values arguments */ diff --git a/ext/standard/tests/array/array_combine_error2.phpt b/ext/standard/tests/array/array_combine_error2.phpt index 66707238a4..8d3440eaac 100644 --- a/ext/standard/tests/array/array_combine_error2.phpt +++ b/ext/standard/tests/array/array_combine_error2.phpt @@ -2,12 +2,6 @@ Test array_combine() function : error conditions - empty array --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_combine() : error conditions specific to array_combine() ***\n"; // Testing array_combine by passing empty arrays to $keys and $values arguments diff --git a/ext/standard/tests/array/array_combine_variation3.phpt b/ext/standard/tests/array/array_combine_variation3.phpt index 23b5017570..94901eedf6 100644 --- a/ext/standard/tests/array/array_combine_variation3.phpt +++ b/ext/standard/tests/array/array_combine_variation3.phpt @@ -2,12 +2,6 @@ Test array_combine() function : usage variations - different arrays(Bug#43424) --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - /* * Passing different types of arrays to both $keys and $values arguments and testing whether * array_combine() behaves in an expected way with the arguments passed to the function diff --git a/ext/standard/tests/array/array_combine_variation4.phpt b/ext/standard/tests/array/array_combine_variation4.phpt index 5726eb73e6..e853d9e2fe 100644 --- a/ext/standard/tests/array/array_combine_variation4.phpt +++ b/ext/standard/tests/array/array_combine_variation4.phpt @@ -2,12 +2,6 @@ Test array_combine() function : usage variations - associative array with different keys(Bug#43424) --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_combine() by passing different * associative arrays having different possible keys to $keys argument and diff --git a/ext/standard/tests/array/array_combine_variation5.phpt b/ext/standard/tests/array/array_combine_variation5.phpt index cb399cbc56..ec92352a07 100644 --- a/ext/standard/tests/array/array_combine_variation5.phpt +++ b/ext/standard/tests/array/array_combine_variation5.phpt @@ -2,12 +2,6 @@ Test array_combine() function : usage variations - associative array with different values(Bug#43424) --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_combine() by passing various * associative arrays having different possible values to $keys argument and diff --git a/ext/standard/tests/array/array_combine_variation6.phpt b/ext/standard/tests/array/array_combine_variation6.phpt index 1e51c9886e..b9985a0a82 100644 --- a/ext/standard/tests/array/array_combine_variation6.phpt +++ b/ext/standard/tests/array/array_combine_variation6.phpt @@ -2,12 +2,6 @@ Test array_combine() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_combine(array $keys, array $values) - * Description: Creates an array by using the elements of the first parameter as keys - * and the elements of the second as the corresponding values - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_combine() by passing array with * binary values for $keys and $values argument. diff --git a/ext/standard/tests/array/array_count_values_variation.phpt b/ext/standard/tests/array/array_count_values_variation.phpt index 2156db0ad9..4c9a295f0c 100644 --- a/ext/standard/tests/array/array_count_values_variation.phpt +++ b/ext/standard/tests/array/array_count_values_variation.phpt @@ -2,12 +2,6 @@ Test array_count_values() function : Test all normal parameter variations --FILE-- <?php -/* Prototype : proto array array_count_values(array input) - * Description: Return the value as key and the frequency of that value in input as value - * Source code: ext/standard/array.c - * Alias to functions: - */ - /* * Test behaviour with parameter variations */ diff --git a/ext/standard/tests/array/array_diff_assoc_basic.phpt b/ext/standard/tests/array/array_diff_assoc_basic.phpt index 92be673501..3a9ec872be 100644 --- a/ext/standard/tests/array/array_diff_assoc_basic.phpt +++ b/ext/standard/tests/array/array_diff_assoc_basic.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : basic functionality --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_diff_assoc */ diff --git a/ext/standard/tests/array/array_diff_assoc_error.phpt b/ext/standard/tests/array/array_diff_assoc_error.phpt index 69015289e2..02ee5f282b 100644 --- a/ext/standard/tests/array/array_diff_assoc_error.phpt +++ b/ext/standard/tests/array/array_diff_assoc_error.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : error conditions - pass array_diff_assoc() too few/zero arguments --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test errors for array_diff with too few\zero arguments */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation1.phpt b/ext/standard/tests/array/array_diff_assoc_variation1.phpt index 95064b739a..2b314aec34 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation1.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - unexpected values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Pass array_diff_assoc arguments that are not arrays in place of $arr1 */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation10.phpt b/ext/standard/tests/array/array_diff_assoc_variation10.phpt index fcddbb394d..edaaec73d2 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation10.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation10.phpt @@ -2,13 +2,6 @@ Test array_diff_assoc() function : usage variations - binary safe check --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not - * present in any of the others arguments but do additional checks whether - * the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc() compares binary data */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation2.phpt b/ext/standard/tests/array/array_diff_assoc_variation2.phpt index b96db1326a..839935b294 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation2.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - unexpected values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * pass array_diff_assoc arguments which are not arrays in place of $arr2 */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation3.phpt b/ext/standard/tests/array/array_diff_assoc_variation3.phpt index 023beb1ed0..b32e484fd1 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation3.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation3.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : variation - array containing different data types --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc() compares indexed arrays containing different data types */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation4.phpt b/ext/standard/tests/array/array_diff_assoc_variation4.phpt index 70ea73f96d..01b2e56a05 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation4.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation4.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - arrays with different data types as keys --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc() compares arrays containing different data types * as keys diff --git a/ext/standard/tests/array/array_diff_assoc_variation5.phpt b/ext/standard/tests/array/array_diff_assoc_variation5.phpt index e761a91d92..df05e3db61 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation5.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation5.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - compare integers, floats and strings --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are not present - * in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc compares integers, floats and string */ diff --git a/ext/standard/tests/array/array_diff_assoc_variation6.phpt b/ext/standard/tests/array/array_diff_assoc_variation6.phpt index f66dea6a83..4c75e1e9e7 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation6.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation6.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - strict string comparison check --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc behaves * 1. When comparing an array that has similar elements diff --git a/ext/standard/tests/array/array_diff_assoc_variation7.phpt b/ext/standard/tests/array/array_diff_assoc_variation7.phpt index 0d3caf6c71..134bc44529 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation7.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation7.phpt @@ -2,12 +2,6 @@ Test array_diff_assoc() function : usage variations - arrays containing referenced variables --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments but do additional checks whether the keys are equal - * Source code: ext/standard/array.c - */ - /* * Tests how array_diff_assoc compares * 1. Referenced variables diff --git a/ext/standard/tests/array/array_diff_assoc_variation8.phpt b/ext/standard/tests/array/array_diff_assoc_variation8.phpt index 8569703435..0ca368f9a7 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation8.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation8.phpt @@ -2,13 +2,6 @@ Test array_diff_assoc() function : usage variations - array containing duplicate keys and values --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments but do additional checks whether - * the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc() behaves when comparing: * 1. the order of the array diff --git a/ext/standard/tests/array/array_diff_assoc_variation9.phpt b/ext/standard/tests/array/array_diff_assoc_variation9.phpt index 1ef4f73248..e6d8ce0653 100644 --- a/ext/standard/tests/array/array_diff_assoc_variation9.phpt +++ b/ext/standard/tests/array/array_diff_assoc_variation9.phpt @@ -2,13 +2,6 @@ Test array_diff_assoc() function : usage variations - compare multidimensional arrays --FILE-- <?php -/* Prototype : array array_diff_assoc(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments but do additional checks whether - * the keys are equal - * Source code: ext/standard/array.c - */ - /* * Test how array_diff_assoc behaves when comparing * multi-dimensional arrays diff --git a/ext/standard/tests/array/array_diff_basic.phpt b/ext/standard/tests/array/array_diff_basic.phpt index 418dbc5b39..aa9f1cbf12 100644 --- a/ext/standard/tests/array/array_diff_basic.phpt +++ b/ext/standard/tests/array/array_diff_basic.phpt @@ -2,12 +2,6 @@ Test array_diff() function : basic functionality --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not present - * in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_diff */ diff --git a/ext/standard/tests/array/array_diff_error.phpt b/ext/standard/tests/array/array_diff_error.phpt index 889c5ce1b2..81481fd207 100644 --- a/ext/standard/tests/array/array_diff_error.phpt +++ b/ext/standard/tests/array/array_diff_error.phpt @@ -2,12 +2,6 @@ Test array_diff() function : error conditions - too few arguments passed to function --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are - * not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test array_diff with less than the expected number of arguments */ diff --git a/ext/standard/tests/array/array_diff_key_basic.phpt b/ext/standard/tests/array/array_diff_key_basic.phpt index 0249e2c27d..1ce70c6aae 100644 --- a/ext/standard/tests/array/array_diff_key_basic.phpt +++ b/ext/standard/tests/array/array_diff_key_basic.phpt @@ -3,7 +3,6 @@ Test array_diff_key() : basic functionality --FILE-- <?php /* -* proto array array_diff_key(array arr1, array arr2 [, array ...]) * Function is implemented in ext/standard/array.c */ $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); diff --git a/ext/standard/tests/array/array_diff_key_error.phpt b/ext/standard/tests/array/array_diff_key_error.phpt index 80ff5728fe..a468b832b6 100644 --- a/ext/standard/tests/array/array_diff_key_error.phpt +++ b/ext/standard/tests/array/array_diff_key_error.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : error conditions --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : error conditions ***\n"; // Initialise the variables diff --git a/ext/standard/tests/array/array_diff_key_variation1.phpt b/ext/standard/tests/array/array_diff_key_variation1.phpt index 192257ae35..a00aba2160 100644 --- a/ext/standard/tests/array/array_diff_key_variation1.phpt +++ b/ext/standard/tests/array/array_diff_key_variation1.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation2.phpt b/ext/standard/tests/array/array_diff_key_variation2.phpt index ec7749ebba..5bd84e5008 100644 --- a/ext/standard/tests/array/array_diff_key_variation2.phpt +++ b/ext/standard/tests/array/array_diff_key_variation2.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation4.phpt b/ext/standard/tests/array/array_diff_key_variation4.phpt index c4206eaa5c..eb358af0ae 100644 --- a/ext/standard/tests/array/array_diff_key_variation4.phpt +++ b/ext/standard/tests/array/array_diff_key_variation4.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing integer indexed array --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation5.phpt b/ext/standard/tests/array/array_diff_key_variation5.phpt index cadb34d6d3..2ba1da22b9 100644 --- a/ext/standard/tests/array/array_diff_key_variation5.phpt +++ b/ext/standard/tests/array/array_diff_key_variation5.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing float indexed array --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation6.phpt b/ext/standard/tests/array/array_diff_key_variation6.phpt index bc7f7a15c9..8f2a5ba939 100644 --- a/ext/standard/tests/array/array_diff_key_variation6.phpt +++ b/ext/standard/tests/array/array_diff_key_variation6.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing boolean indexed array --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation7.phpt b/ext/standard/tests/array/array_diff_key_variation7.phpt index 1f9e04b36d..9ca74cccb9 100644 --- a/ext/standard/tests/array/array_diff_key_variation7.phpt +++ b/ext/standard/tests/array/array_diff_key_variation7.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing null,unset and undefined variable indexed array --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_key_variation8.phpt b/ext/standard/tests/array/array_diff_key_variation8.phpt index 65c09557a3..dc54a97600 100644 --- a/ext/standard/tests/array/array_diff_key_variation8.phpt +++ b/ext/standard/tests/array/array_diff_key_variation8.phpt @@ -2,11 +2,6 @@ Test array_diff_key() function : usage variation - Passing multi-dimensional array --FILE-- <?php -/* Prototype : array array_diff_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_uassoc_error.phpt b/ext/standard/tests/array/array_diff_uassoc_error.phpt index afc72f777a..fa083f345c 100644 --- a/ext/standard/tests/array/array_diff_uassoc_error.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_error.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : error conditions --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : error conditions ***\n"; //Initialize array diff --git a/ext/standard/tests/array/array_diff_uassoc_variation1.phpt b/ext/standard/tests/array/array_diff_uassoc_variation1.phpt index f888f69b2b..f07b054ae9 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation1.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation10.phpt b/ext/standard/tests/array/array_diff_uassoc_variation10.phpt index 2b103f2c69..79e5a202c6 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation10.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation10.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Passing float indexed array --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_uassoc_variation11.phpt b/ext/standard/tests/array/array_diff_uassoc_variation11.phpt index 6101d6e300..8043b002bb 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation11.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation11.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Passing boolean indexed array --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_uassoc_variation12.phpt b/ext/standard/tests/array/array_diff_uassoc_variation12.phpt index c5de67a5cb..d5681c94cb 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation12.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation12.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Passing null,unset and undefined variable indexed array --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_uassoc_variation13.phpt b/ext/standard/tests/array/array_diff_uassoc_variation13.phpt index 2f70787487..23bf2d0f94 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation13.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation13.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variations - arrays containing referenced variables --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation2.phpt b/ext/standard/tests/array/array_diff_uassoc_variation2.phpt index 5781f1e9bd..1a7f09dac0 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation2.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation -Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation5.phpt b/ext/standard/tests/array/array_diff_uassoc_variation5.phpt index 81f173c72b..d2500113de 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation5.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation5.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Comparing integers and floating point numbers --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation6.phpt b/ext/standard/tests/array/array_diff_uassoc_variation6.phpt index e96c893b46..9e21fa0de3 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation6.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation6.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Comparing floating points with strings having integers and float --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation7.phpt b/ext/standard/tests/array/array_diff_uassoc_variation7.phpt index 2efaa1f830..7050ac1d83 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation7.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation7.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Comparing strings containing integers and float --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation8.phpt b/ext/standard/tests/array/array_diff_uassoc_variation8.phpt index bdb2407296..fe11f99072 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation8.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation8.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Comparing integers with strings containing integers and float --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_uassoc_variation9.phpt b/ext/standard/tests/array/array_diff_uassoc_variation9.phpt index 7f9d8178ee..a8033ba3c7 100644 --- a/ext/standard/tests/array/array_diff_uassoc_variation9.phpt +++ b/ext/standard/tests/array/array_diff_uassoc_variation9.phpt @@ -2,12 +2,6 @@ Test array_diff_uassoc() function : usage variation - Passing integer indexed array --FILE-- <?php -/* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Computes the difference of arrays with additional index check which is performed by a - * user supplied callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_basic.phpt b/ext/standard/tests/array/array_diff_ukey_basic.phpt index 3dde1646af..db0cd3a182 100644 --- a/ext/standard/tests/array/array_diff_ukey_basic.phpt +++ b/ext/standard/tests/array/array_diff_ukey_basic.phpt @@ -3,7 +3,6 @@ array_diff_ukey() : Basic test. --FILE-- <?php /* -* proto array array_diff_ukey ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] ) * Function is implemented in ext/standard/array.c */ function key_compare_func($key1, $key2) { diff --git a/ext/standard/tests/array/array_diff_ukey_variation1.phpt b/ext/standard/tests/array/array_diff_ukey_variation1.phpt index dffb3be7c9..e7d1361a66 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation1.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation1.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation10.phpt b/ext/standard/tests/array/array_diff_ukey_variation10.phpt index 94ae1bbc0a..bd5823e698 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation10.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation10.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_diff_ukey_variation2.phpt b/ext/standard/tests/array/array_diff_ukey_variation2.phpt index 1af7b5567d..44b22e5297 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation2.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation2.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialize function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation5.phpt b/ext/standard/tests/array/array_diff_ukey_variation5.phpt index 97ccfaab44..c41147d839 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation5.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation5.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing multi-dimensional array --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. User supplied function is used for comparing the keys. This function is like array_udiff() but works on the keys instead of the values. The associativity is preserved. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation6.phpt b/ext/standard/tests/array/array_diff_ukey_variation6.phpt index e4ac13899b..154c310419 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation6.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation6.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing integer indexed array --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation7.phpt b/ext/standard/tests/array/array_diff_ukey_variation7.phpt index 3a2935bef7..c534c2b36e 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation7.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation7.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing float indexed array --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation8.phpt b/ext/standard/tests/array/array_diff_ukey_variation8.phpt index fc15526273..422f1884af 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation8.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation8.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing boolean indexed array --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_ukey_variation9.phpt b/ext/standard/tests/array/array_diff_ukey_variation9.phpt index ac825cffa7..22cd3d45fd 100644 --- a/ext/standard/tests/array/array_diff_ukey_variation9.phpt +++ b/ext/standard/tests/array/array_diff_ukey_variation9.phpt @@ -2,11 +2,6 @@ Test array_diff_ukey() function : usage variation - Passing null,unset and undefined variable indexed array --FILE-- <?php -/* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have keys which are not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_diff_ukey() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_diff_variation1.phpt b/ext/standard/tests/array/array_diff_variation1.phpt index 44734ad856..28c1211841 100644 --- a/ext/standard/tests/array/array_diff_variation1.phpt +++ b/ext/standard/tests/array/array_diff_variation1.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - unexpected values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test array_diff by passing non array values in place of $arr1 */ diff --git a/ext/standard/tests/array/array_diff_variation10.phpt b/ext/standard/tests/array/array_diff_variation10.phpt index 239326821f..01e849f2e1 100644 --- a/ext/standard/tests/array/array_diff_variation10.phpt +++ b/ext/standard/tests/array/array_diff_variation10.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are - * not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test behaviour of array_diff() function with binary input */ diff --git a/ext/standard/tests/array/array_diff_variation2.phpt b/ext/standard/tests/array/array_diff_variation2.phpt index 9dc1c737bd..95898e437d 100644 --- a/ext/standard/tests/array/array_diff_variation2.phpt +++ b/ext/standard/tests/array/array_diff_variation2.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - unexpected values for 'arr2' argument --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are - * not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test array_diff by passing non array values in place of $arr2 */ diff --git a/ext/standard/tests/array/array_diff_variation3.phpt b/ext/standard/tests/array/array_diff_variation3.phpt index 073d6ca5c9..37b295b0bd 100644 --- a/ext/standard/tests/array/array_diff_variation3.phpt +++ b/ext/standard/tests/array/array_diff_variation3.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - array with different data types as values --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test how array_diff() compares indexed arrays containing different * data types as values in place of $arr1 diff --git a/ext/standard/tests/array/array_diff_variation4.phpt b/ext/standard/tests/array/array_diff_variation4.phpt index 07bb7293bc..090f162bc7 100644 --- a/ext/standard/tests/array/array_diff_variation4.phpt +++ b/ext/standard/tests/array/array_diff_variation4.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - array with different data types as values --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test how array_diff() compares indexed arrays containing different * data types as values in place of $arr2 diff --git a/ext/standard/tests/array/array_diff_variation5.phpt b/ext/standard/tests/array/array_diff_variation5.phpt index 8737e7c660..9c9369deb4 100644 --- a/ext/standard/tests/array/array_diff_variation5.phpt +++ b/ext/standard/tests/array/array_diff_variation5.phpt @@ -3,12 +3,6 @@ Test array_diff() function : usage variations - comparing integers, float and string array values --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test how array_diff compares integers, floats and strings */ diff --git a/ext/standard/tests/array/array_diff_variation6.phpt b/ext/standard/tests/array/array_diff_variation6.phpt index 3c141216c7..15cedc6c36 100644 --- a/ext/standard/tests/array/array_diff_variation6.phpt +++ b/ext/standard/tests/array/array_diff_variation6.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - array containing duplicate keys and values --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test that array_diff behaves as expected for comparing: * 1. the order of the array diff --git a/ext/standard/tests/array/array_diff_variation7.phpt b/ext/standard/tests/array/array_diff_variation7.phpt index f4368ade6c..97991c01d7 100644 --- a/ext/standard/tests/array/array_diff_variation7.phpt +++ b/ext/standard/tests/array/array_diff_variation7.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - arrays containing referenced variables --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are not - * present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test how array_diff compares arrays that * 1. Contain referenced variables diff --git a/ext/standard/tests/array/array_diff_variation8.phpt b/ext/standard/tests/array/array_diff_variation8.phpt index e1ebf548da..80d3bf87ec 100644 --- a/ext/standard/tests/array/array_diff_variation8.phpt +++ b/ext/standard/tests/array/array_diff_variation8.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - associative arrays containing different data types --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of $arr1 that have values which are - * not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test array_diff() with associative arrays containing different data types as values */ diff --git a/ext/standard/tests/array/array_diff_variation9.phpt b/ext/standard/tests/array/array_diff_variation9.phpt index 3d85bc1832..3a956e9908 100644 --- a/ext/standard/tests/array/array_diff_variation9.phpt +++ b/ext/standard/tests/array/array_diff_variation9.phpt @@ -2,12 +2,6 @@ Test array_diff() function : usage variations - multidimensional arrays --FILE-- <?php -/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...]) - * Description: Returns the entries of arr1 that have values which are - * not present in any of the others arguments. - * Source code: ext/standard/array.c - */ - /* * Test how array_diff() compares multidimensional arrays */ diff --git a/ext/standard/tests/array/array_fill_basic.phpt b/ext/standard/tests/array/array_fill_basic.phpt index 5575cee6d6..a613f5a2c3 100644 --- a/ext/standard/tests/array/array_fill_basic.phpt +++ b/ext/standard/tests/array/array_fill_basic.phpt @@ -2,11 +2,6 @@ Test array_fill() function : basic functionality --FILE-- <?php -/* Prototype : proto array array_fill(int start_key, int num, mixed val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c - */ - echo "*** Testing array_fill() : basic functionality ***\n"; // calling the array_fill with all possible valid values for 'val' argument diff --git a/ext/standard/tests/array/array_fill_error.phpt b/ext/standard/tests/array/array_fill_error.phpt index f205647f51..d769298eab 100644 --- a/ext/standard/tests/array/array_fill_error.phpt +++ b/ext/standard/tests/array/array_fill_error.phpt @@ -2,12 +2,6 @@ Test array_fill() function : error conditions --FILE-- <?php -/* Prototype : proto array array_fill(int start_key, int num, mixed val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c -*/ - - echo "*** Testing array_fill() : error conditions ***\n"; // calling array_fill with negative values for 'num' parameter diff --git a/ext/standard/tests/array/array_fill_keys_variation1.phpt b/ext/standard/tests/array/array_fill_keys_variation1.phpt index 1f394eec86..a05c90b534 100644 --- a/ext/standard/tests/array/array_fill_keys_variation1.phpt +++ b/ext/standard/tests/array/array_fill_keys_variation1.phpt @@ -2,13 +2,6 @@ Test array_fill_keys() function : variation of parameter --FILE-- <?php -/* Prototype : proto array array_fill_keys(array keys, mixed val) - * Description: Create an array using the elements of the first parameter as keys each initialized to val - * Source code: ext/standard/array.c - * Alias to functions: - */ - - echo "*** Testing array_fill_keys() : parameter variations ***\n"; $nullVal = null; diff --git a/ext/standard/tests/array/array_fill_keys_variation2.phpt b/ext/standard/tests/array/array_fill_keys_variation2.phpt index 4a7aef39d2..b4171e64d4 100644 --- a/ext/standard/tests/array/array_fill_keys_variation2.phpt +++ b/ext/standard/tests/array/array_fill_keys_variation2.phpt @@ -2,12 +2,6 @@ Test array_fill_keys() function : variation of parameter --FILE-- <?php -/* Prototype : proto array array_fill_keys(array keys, mixed val) - * Description: Create an array using the elements of the first parameter as keys each initialized to val - * Source code: ext/standard/array.c - * Alias to functions: - */ - /* Testing with reference types for the arguments */ echo "*** Testing array_fill_keys() : parameter variations ***\n"; diff --git a/ext/standard/tests/array/array_fill_keys_variation3.phpt b/ext/standard/tests/array/array_fill_keys_variation3.phpt index b1abbcfe1b..a800965a8e 100644 --- a/ext/standard/tests/array/array_fill_keys_variation3.phpt +++ b/ext/standard/tests/array/array_fill_keys_variation3.phpt @@ -2,12 +2,6 @@ Test array_fill_keys() function : variation of parameter --FILE-- <?php -/* Prototype : proto array array_fill_keys(array keys, mixed val) - * Description: Create an array using the elements of the first parameter as keys each initialized to val - * Source code: ext/standard/array.c - * Alias to functions: - */ - /* Testing with unexpected argument types */ echo "*** Testing array_fill_keys() : parameter variations ***\n"; diff --git a/ext/standard/tests/array/array_fill_keys_variation4.phpt b/ext/standard/tests/array/array_fill_keys_variation4.phpt index d40e600c7e..b243a5fb08 100644 --- a/ext/standard/tests/array/array_fill_keys_variation4.phpt +++ b/ext/standard/tests/array/array_fill_keys_variation4.phpt @@ -2,12 +2,6 @@ Test array_fill_keys() function : variation of parameter --FILE-- <?php -/* Prototype : proto array array_fill_keys(array keys, mixed val) - * Description: Create an array using the elements of the first parameter as keys each initialized to val - * Source code: ext/standard/array.c - * Alias to functions: - */ - /* Testing with unexpected argument types */ echo "*** Testing array_fill_keys() : parameter variations ***\n"; diff --git a/ext/standard/tests/array/array_fill_object.phpt b/ext/standard/tests/array/array_fill_object.phpt index c784b54415..58fd532632 100644 --- a/ext/standard/tests/array/array_fill_object.phpt +++ b/ext/standard/tests/array/array_fill_object.phpt @@ -2,11 +2,6 @@ Test array_fill() function : usage variations - various object values for 'val' argument --FILE-- <?php -/* Prototype : array array_fill(int $start_key, int $num, mixed $val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c - */ - /* * testing array_fill() by passing various object values for 'val' argument */ diff --git a/ext/standard/tests/array/array_fill_variation3.phpt b/ext/standard/tests/array/array_fill_variation3.phpt index 9c1857c61d..d7352d495d 100644 --- a/ext/standard/tests/array/array_fill_variation3.phpt +++ b/ext/standard/tests/array/array_fill_variation3.phpt @@ -2,11 +2,6 @@ Test array_fill() function : usage variations - unexpected values for 'val' argument --FILE-- <?php -/* Prototype : array array_fill(int $start_key, int $num, mixed $val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c - */ - /* * testing array_fill() by passing different unexpected values for 'val' argument */ diff --git a/ext/standard/tests/array/array_fill_variation4.phpt b/ext/standard/tests/array/array_fill_variation4.phpt index e0b1b5f0cd..79df201ef3 100644 --- a/ext/standard/tests/array/array_fill_variation4.phpt +++ b/ext/standard/tests/array/array_fill_variation4.phpt @@ -2,11 +2,6 @@ Test array_fill() function : usage variations - using return value of array_fill for 'val' argument --FILE-- <?php -/* Prototype : proto array array_fill(int start_key, int num, mixed val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c - */ - /* passing array_fill() as the 'val' argument in array_fill() function */ echo "*** Testing array_fill() : variation ***\n"; diff --git a/ext/standard/tests/array/array_fill_variation5.phpt b/ext/standard/tests/array/array_fill_variation5.phpt index 53e0fb5bec..f984a09675 100644 --- a/ext/standard/tests/array/array_fill_variation5.phpt +++ b/ext/standard/tests/array/array_fill_variation5.phpt @@ -2,11 +2,6 @@ Test array_fill() function : usage variations - different types of array values for 'val' argument --FILE-- <?php -/* Prototype : array array_fill(int $start_key, int $num, mixed $val) - * Description: Create an array containing num elements starting with index start_key each initialized to val - * Source code: ext/standard/array.c - */ - /* * testing array_fill() by passing different types of array values for 'val' argument */ diff --git a/ext/standard/tests/array/array_filter_basic.phpt b/ext/standard/tests/array/array_filter_basic.phpt index 1b68649546..104518d397 100644 --- a/ext/standard/tests/array/array_filter_basic.phpt +++ b/ext/standard/tests/array/array_filter_basic.phpt @@ -2,25 +2,12 @@ Test array_filter() function : basic functionality --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - - echo "*** Testing array_filter() : basic functionality ***\n"; // Initialise all required variables $input = array(1, 2, 3, 0, -1); // 0 will be considered as FALSE and removed in default callback -/* Callback function - * Prototype : bool even(array $input) - * Parameters : $input - input array each element of which will be checked in function even() - * Return type : boolean - true if element is even and false otherwise - * Description : This function takes array as parameter and checks for each element of array. - * It returns true if the element is even number else returns false - */ function even($input) { return ($input % 2 == 0); diff --git a/ext/standard/tests/array/array_filter_object.phpt b/ext/standard/tests/array/array_filter_object.phpt index 3ea93e5602..9b10d20aea 100644 --- a/ext/standard/tests/array/array_filter_object.phpt +++ b/ext/standard/tests/array/array_filter_object.phpt @@ -2,11 +2,6 @@ Test array_filter() function : object functionality --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* This file uses 'input' array with different types of objects and passes * it to array_filter() to test object functionality * i.e. object of simple class with members and functions @@ -65,7 +60,6 @@ class StaticClass } } -// Callback function which returns always true function always_true($input) { return true; diff --git a/ext/standard/tests/array/array_filter_variation10.phpt b/ext/standard/tests/array/array_filter_variation10.phpt index ff88d7a7f8..5000783a8b 100644 --- a/ext/standard/tests/array/array_filter_variation10.phpt +++ b/ext/standard/tests/array/array_filter_variation10.phpt @@ -2,11 +2,6 @@ Test array_filter() function : usage variations - using the array keys inside 'callback' --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback [, bool $use_type = ARRAY_FILTER_USE_VALUE]]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Using array keys as an argument to the 'callback' */ diff --git a/ext/standard/tests/array/array_filter_variation3.phpt b/ext/standard/tests/array/array_filter_variation3.phpt index be00f25d8d..087267f566 100644 --- a/ext/standard/tests/array/array_filter_variation3.phpt +++ b/ext/standard/tests/array/array_filter_variation3.phpt @@ -2,16 +2,10 @@ Test array_filter() function : usage variations - Different types of array for 'input' argument --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Passing different types of array as 'input' argument. */ -// callback function returning always false function always_false($input) { return false; diff --git a/ext/standard/tests/array/array_filter_variation4.phpt b/ext/standard/tests/array/array_filter_variation4.phpt index dcf1b905b1..585e44d1cd 100644 --- a/ext/standard/tests/array/array_filter_variation4.phpt +++ b/ext/standard/tests/array/array_filter_variation4.phpt @@ -2,11 +2,6 @@ Test array_filter() function : usage variations - Different types of 'callback' function --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Passing different types of callback functions to array_filter() * with parameters and return @@ -20,7 +15,6 @@ echo "*** Testing array_filter() : usage variation - different 'callback' functi // Initialize variables $input = array(0, -1, 2, 3.4E-3, 'hello', "value", "key" => 4, 'null' => NULL); -// callback function without parameters and with return value function callback1() { return 1; @@ -35,8 +29,6 @@ function callback2($input) echo "-- Callback function with parameter and without return --\n"; var_dump( array_filter($input, "callback2") ); - -// callback function without parameter and without return value function callback3() { } diff --git a/ext/standard/tests/array/array_filter_variation5.phpt b/ext/standard/tests/array/array_filter_variation5.phpt index 81d9929c15..1d7735a3f1 100644 --- a/ext/standard/tests/array/array_filter_variation5.phpt +++ b/ext/standard/tests/array/array_filter_variation5.phpt @@ -2,17 +2,11 @@ Test array_filter() function : usage variations - 'input' argument with different false entries --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * With default callback function argument, array_filter() removes elements which are interpreted as false * Here Testing all the false array element possibilities */ -// callback function always_true function always_true($input) { return true; diff --git a/ext/standard/tests/array/array_filter_variation6.phpt b/ext/standard/tests/array/array_filter_variation6.phpt index 665481a6c8..b125ac9281 100644 --- a/ext/standard/tests/array/array_filter_variation6.phpt +++ b/ext/standard/tests/array/array_filter_variation6.phpt @@ -2,24 +2,12 @@ Test array_filter() function : usage variations - 'input' array containing references --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Passing 'input' array which contains elements as reference to other data */ echo "*** Testing array_filter() : usage variations - 'input' containing references ***\n"; -// Callback function -/* Prototype : bool callback(array $input) - * Parameter : $input - array of which each element need to be checked in function - * Return Type : returns true or false - * Description : This function checks each element of an input array if element > 5 then - * returns true else returns false - */ function callback($input) { if($input > 5) { diff --git a/ext/standard/tests/array/array_filter_variation7.phpt b/ext/standard/tests/array/array_filter_variation7.phpt index 2ecda7a5d8..d2a6255160 100644 --- a/ext/standard/tests/array/array_filter_variation7.phpt +++ b/ext/standard/tests/array/array_filter_variation7.phpt @@ -2,11 +2,6 @@ Test array_filter() function : usage variations - anonymous callback functions --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Passing different anonymous callback functions with passed by value and reference arguments */ diff --git a/ext/standard/tests/array/array_filter_variation8.phpt b/ext/standard/tests/array/array_filter_variation8.phpt index 8fa91d824a..6ca963a03a 100644 --- a/ext/standard/tests/array/array_filter_variation8.phpt +++ b/ext/standard/tests/array/array_filter_variation8.phpt @@ -2,11 +2,6 @@ Test array_filter() function : usage variations - Callback function with different return values --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * callback functions are expected to return bool value for array_filter() * here testing callback functions for return values other than bool @@ -16,8 +11,6 @@ echo "*** Testing array_filter() : usage variations - callback function with dif $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null, true); -// callback functions -// int as return value function callback1($input) { return 5; diff --git a/ext/standard/tests/array/array_filter_variation9.phpt b/ext/standard/tests/array/array_filter_variation9.phpt index 90454e855e..e5118a01e0 100644 --- a/ext/standard/tests/array/array_filter_variation9.phpt +++ b/ext/standard/tests/array/array_filter_variation9.phpt @@ -2,11 +2,6 @@ Test array_filter() function : usage variations - built-in functions as 'callback' argument --FILE-- <?php -/* Prototype : array array_filter(array $input [, callback $callback]) - * Description: Filters elements from the array via the callback. - * Source code: ext/standard/array.c -*/ - /* * Passing built-in functions and different language constructs as 'callback' argument */ diff --git a/ext/standard/tests/array/array_flip_basic.phpt b/ext/standard/tests/array/array_flip_basic.phpt index 3912162dd8..bd4a5fb735 100644 --- a/ext/standard/tests/array/array_flip_basic.phpt +++ b/ext/standard/tests/array/array_flip_basic.phpt @@ -2,11 +2,6 @@ Test array_flip() function : basic functionality --FILE-- <?php -/* Prototype : array array_flip(array $input) - * Description: Return array with key <-> value flipped - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_flip() : basic functionality ***\n"; // array with default keys - numeric values diff --git a/ext/standard/tests/array/array_flip_variation2.phpt b/ext/standard/tests/array/array_flip_variation2.phpt Binary files differindex 8d86210f0f..8bf704627e 100644 --- a/ext/standard/tests/array/array_flip_variation2.phpt +++ b/ext/standard/tests/array/array_flip_variation2.phpt diff --git a/ext/standard/tests/array/array_flip_variation3.phpt b/ext/standard/tests/array/array_flip_variation3.phpt Binary files differindex 1f6fb5804c..3c8f41cc3b 100644 --- a/ext/standard/tests/array/array_flip_variation3.phpt +++ b/ext/standard/tests/array/array_flip_variation3.phpt diff --git a/ext/standard/tests/array/array_flip_variation4.phpt b/ext/standard/tests/array/array_flip_variation4.phpt index 0ad2367701..d6ada3e6c2 100644 --- a/ext/standard/tests/array/array_flip_variation4.phpt +++ b/ext/standard/tests/array/array_flip_variation4.phpt @@ -2,11 +2,6 @@ Test array_flip() function : usage variations - 'input' argument with different invalid values for keys --FILE-- <?php -/* Prototype : array array_flip(array $input) - * Description: Return array with key <-> value flipped - * Source code: ext/standard/array.c -*/ - /* * Trying different invalid values for 'input' array argument */ diff --git a/ext/standard/tests/array/array_flip_variation5.phpt b/ext/standard/tests/array/array_flip_variation5.phpt index 3ba0cf1aa4..49be7de903 100644 --- a/ext/standard/tests/array/array_flip_variation5.phpt +++ b/ext/standard/tests/array/array_flip_variation5.phpt @@ -2,11 +2,6 @@ Test array_flip() function : usage variations - 'input' argument with repeatitive keys and values --FILE-- <?php -/* Prototype : array array_flip(array $input) - * Description: Return array with key <-> value flipped - * Source code: ext/standard/array.c -*/ - /* * Using different types of repeatitive keys as well as values for 'input' array */ diff --git a/ext/standard/tests/array/array_intersect_assoc_basic.phpt b/ext/standard/tests/array/array_intersect_assoc_basic.phpt index 17e48b4ba0..d20cef75a3 100644 --- a/ext/standard/tests/array/array_intersect_assoc_basic.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_basic.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : basic functionality --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect_assoc() by passing different arrays for the arguments. * Function is tested by passing associative array as well as array with default keys. diff --git a/ext/standard/tests/array/array_intersect_assoc_error.phpt b/ext/standard/tests/array/array_intersect_assoc_error.phpt index fa815118ce..40d5bb3b16 100644 --- a/ext/standard/tests/array/array_intersect_assoc_error.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_error.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : error conditions(Bug#43197) --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_intersect_assoc() : error conditions ***\n"; // Zero arguments diff --git a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt index 4ef72323ca..8e70444ce3 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - unexpected values for 'arr1' argument(Bug#43196) --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing array_intersect_assoc() function by passing values to $arr1 argument other than arrays * and see that function emits proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation10.phpt b/ext/standard/tests/array/array_intersect_assoc_variation10.phpt index 5e6137d089..8e5c1adc1c 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation10.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation10.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect_assoc() by passing array with * binary values for $arr1 and $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt index 453d5206a5..d3e1eae3e1 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - unexpected values for 'arr2' argument(Bug#43196) --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing array_intersect_assoc() function by passing values to $arr2 argument other than arrays * and see that function emits proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation3.phpt b/ext/standard/tests/array/array_intersect_assoc_variation3.phpt index 5b3578430d..bb439a053b 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation3.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation3.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - different arrays for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Passing different types of arrays to $arr1 argument and testing whether * array_intersect_assoc() behaves in an expected way with the other arguments passed to the function diff --git a/ext/standard/tests/array/array_intersect_assoc_variation4.phpt b/ext/standard/tests/array/array_intersect_assoc_variation4.phpt index 17654feb75..859b7280d8 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation4.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation4.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - different arrays for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Passing different types of arrays to $arr2 argument and testing whether * array_intersect_assoc() behaves in an expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation5.phpt b/ext/standard/tests/array/array_intersect_assoc_variation5.phpt index 104e6e7f26..78b22b8ca6 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation5.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect_assoc() by passing different * associative arrays having different possible keys to $arr1 argument. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation6.phpt b/ext/standard/tests/array/array_intersect_assoc_variation6.phpt index fcbdd70a3c..396fe1fadc 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation6.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect_assoc() by passing different * associative arrays having different possible keys to $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation7.phpt b/ext/standard/tests/array/array_intersect_assoc_variation7.phpt index a77a59c04b..f512bf497d 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation7.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect_assoc() by passing different * associative arrays having different possible values to $arr1 argument. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation8.phpt b/ext/standard/tests/array/array_intersect_assoc_variation8.phpt index 68868c44cf..8f46864c89 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation8.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect_assoc() by passing different * associative arrays having different possible values to $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_assoc_variation9.phpt b/ext/standard/tests/array/array_intersect_assoc_variation9.phpt index 38b7605924..86d0e8e7df 100644 --- a/ext/standard/tests/array/array_intersect_assoc_variation9.phpt +++ b/ext/standard/tests/array/array_intersect_assoc_variation9.phpt @@ -2,12 +2,6 @@ Test array_intersect_assoc() function : usage variations - two dimensional arrays for $arr1 and $arr2 arguments --FILE-- <?php -/* Prototype : array array_intersect_assoc(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. - * Keys are used to do more restrictive check - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect_assoc() by passing 2-D arrays * to both $arr1 and $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_basic.phpt b/ext/standard/tests/array/array_intersect_basic.phpt index 6c826c4045..86ef64e10f 100644 --- a/ext/standard/tests/array/array_intersect_basic.phpt +++ b/ext/standard/tests/array/array_intersect_basic.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : basic functionality --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect() by passing different arrays for the arguments. * Function is tested by passing associative array as well as array with default keys. diff --git a/ext/standard/tests/array/array_intersect_error.phpt b/ext/standard/tests/array/array_intersect_error.phpt index 81be2634db..5ddfaa42f0 100644 --- a/ext/standard/tests/array/array_intersect_error.phpt +++ b/ext/standard/tests/array/array_intersect_error.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : error conditions --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_intersect() : error conditions ***\n"; // Testing array_intersect() with zero arguments diff --git a/ext/standard/tests/array/array_intersect_key_basic.phpt b/ext/standard/tests/array/array_intersect_key_basic.phpt index 4cf9a596c2..4c65044106 100644 --- a/ext/standard/tests/array/array_intersect_key_basic.phpt +++ b/ext/standard/tests/array/array_intersect_key_basic.phpt @@ -3,7 +3,6 @@ array_intersect_key(): Basic Test --FILE-- <?php /* -* proto array array_intersect_key(array arr1, array arr2 [, array ...]) * Function is implemented in ext/standard/array.c */ $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4); diff --git a/ext/standard/tests/array/array_intersect_key_error.phpt b/ext/standard/tests/array/array_intersect_key_error.phpt index 70cb53412d..49df346972 100644 --- a/ext/standard/tests/array/array_intersect_key_error.phpt +++ b/ext/standard/tests/array/array_intersect_key_error.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : error conditions --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : error conditions ***\n"; //Initialise function arguments diff --git a/ext/standard/tests/array/array_intersect_key_variation1.phpt b/ext/standard/tests/array/array_intersect_key_variation1.phpt index 62ae4b9ea4..2e43094d20 100644 --- a/ext/standard/tests/array/array_intersect_key_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation1.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation2.phpt b/ext/standard/tests/array/array_intersect_key_variation2.phpt index a494f81fc6..d8b98c5fa7 100644 --- a/ext/standard/tests/array/array_intersect_key_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation2.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation4.phpt b/ext/standard/tests/array/array_intersect_key_variation4.phpt index bbf992fae0..50b2828fcc 100644 --- a/ext/standard/tests/array/array_intersect_key_variation4.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation4.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing integer indexed array --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation5.phpt b/ext/standard/tests/array/array_intersect_key_variation5.phpt index d2b2541fc4..05788d7abb 100644 --- a/ext/standard/tests/array/array_intersect_key_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation5.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing float indexed array --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation6.phpt b/ext/standard/tests/array/array_intersect_key_variation6.phpt index 6f84bac765..e629c581ac 100644 --- a/ext/standard/tests/array/array_intersect_key_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation6.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing boolean indexed array --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation7.phpt b/ext/standard/tests/array/array_intersect_key_variation7.phpt index 6332e8adb2..2b6ead7919 100644 --- a/ext/standard/tests/array/array_intersect_key_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation7.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing null,unset and undefeined variable indexed array --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_key_variation8.phpt b/ext/standard/tests/array/array_intersect_key_variation8.phpt index faa56eeb3d..b16c324daa 100644 --- a/ext/standard/tests/array/array_intersect_key_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_key_variation8.phpt @@ -2,11 +2,6 @@ Test array_intersect_key() function : usage variation - Passing Multi dimensional array --FILE-- <?php -/* Prototype : array array_intersect_key(array arr1, array arr2 [, array ...]) - * Description: Returns the entries of arr1 that have keys which are present in all the other arguments. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_key() : usage variation ***\n"; /// Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt index 872fe59536..48807057fe 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation1.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; // Initialise function arguments diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation10.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation10.phpt index c7ef8174f1..1f3cdeb722 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation10.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation10.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Passing class/object methods to callback --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt index 3c3781ef27..245fa437c0 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation2.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; // Initialise function arguments diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation5.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation5.phpt index 67463fb96d..e936f8a883 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation5.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Intersection of integers with floats and strings. --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation6.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation6.phpt index 0605af20f5..7a6a2ea714 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation6.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Intersection of floating points with strings. --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation7.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation7.phpt index eec2dc1f93..7fdf7d0550 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation7.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - Intersection of strings containing integers, float --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_uassoc_variation8.phpt b/ext/standard/tests/array/array_intersect_uassoc_variation8.phpt index 4b6498470a..eb96b5158e 100644 --- a/ext/standard/tests/array/array_intersect_uassoc_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_uassoc_variation8.phpt @@ -2,11 +2,6 @@ Test array_intersect_uassoc() function : usage variation - arrays containing referenced variables --FILE-- <?php -/* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays with additional index check, compares indexes by a callback function - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_uassoc() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_ukey_basic.phpt b/ext/standard/tests/array/array_intersect_ukey_basic.phpt index 57ed1322fe..5385f3ae89 100644 --- a/ext/standard/tests/array/array_intersect_ukey_basic.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_basic.phpt @@ -3,7 +3,6 @@ array_intersect_ukey(): Basic test. --FILE-- <?php /* -* proto array array_intersect_ukey ( array $array1, array $array2 [, array $ ..., callback $key_compare_func] ) * Function is implemented in ext/standard/array.c */ function key_compare_func($key1, $key2) { diff --git a/ext/standard/tests/array/array_intersect_ukey_variation1.phpt b/ext/standard/tests/array/array_intersect_ukey_variation1.phpt index 7837bee8ec..4dfe06f738 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation1.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Passing unexpected values to first argument --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialise arguments diff --git a/ext/standard/tests/array/array_intersect_ukey_variation2.phpt b/ext/standard/tests/array/array_intersect_ukey_variation2.phpt index 312066709f..bd85523c89 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation2.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Passing unexpected values to second argument --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialise arguments diff --git a/ext/standard/tests/array/array_intersect_ukey_variation5.phpt b/ext/standard/tests/array/array_intersect_ukey_variation5.phpt index 9f260b70ef..1839e7b4ba 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation5.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Intersection of integers with floats and strings. --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_ukey_variation6.phpt b/ext/standard/tests/array/array_intersect_ukey_variation6.phpt index da8246ef8b..abdf7e96ad 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation6.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Intersection of floating points with strings. --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_ukey_variation7.phpt b/ext/standard/tests/array/array_intersect_ukey_variation7.phpt index dade6fd051..c460e4e57f 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation7.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Intersection of strings containing integer and float --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialize variables diff --git a/ext/standard/tests/array/array_intersect_ukey_variation8.phpt b/ext/standard/tests/array/array_intersect_ukey_variation8.phpt index a6eccc5bd5..734564e0e3 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation8.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Passing non-existing function name to callback --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialise arguments diff --git a/ext/standard/tests/array/array_intersect_ukey_variation9.phpt b/ext/standard/tests/array/array_intersect_ukey_variation9.phpt index 205991cd41..a27b8778f4 100644 --- a/ext/standard/tests/array/array_intersect_ukey_variation9.phpt +++ b/ext/standard/tests/array/array_intersect_ukey_variation9.phpt @@ -2,11 +2,6 @@ Test array_intersect_ukey() function : usage variation - Passing class/object methods to callback --FILE-- <?php -/* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func) - * Description: Computes the intersection of arrays using a callback function on the keys for comparison. - * Source code: ext/standard/array.c - */ - echo "*** Testing array_intersect_ukey() : usage variation ***\n"; //Initialise arguments diff --git a/ext/standard/tests/array/array_intersect_variation1.phpt b/ext/standard/tests/array/array_intersect_variation1.phpt index 9b7f182494..8f38702123 100644 --- a/ext/standard/tests/array/array_intersect_variation1.phpt +++ b/ext/standard/tests/array/array_intersect_variation1.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - unexpected values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing array_intersect() function by passing values to $arr1 argument other than arrays * and see that function emits proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_intersect_variation10.phpt b/ext/standard/tests/array/array_intersect_variation10.phpt index b45e0da74f..e8ade132ca 100644 --- a/ext/standard/tests/array/array_intersect_variation10.phpt +++ b/ext/standard/tests/array/array_intersect_variation10.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect() by passing array with * binary values for $arr1 and $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_variation2.phpt b/ext/standard/tests/array/array_intersect_variation2.phpt index 518cfeb7cc..f8389dd961 100644 --- a/ext/standard/tests/array/array_intersect_variation2.phpt +++ b/ext/standard/tests/array/array_intersect_variation2.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - unexpected values for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing array_intersect() function by passing values to $arr2 argument other than arrays * and see that function emits proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_intersect_variation3.phpt b/ext/standard/tests/array/array_intersect_variation3.phpt index de831a903e..1f3258ae83 100644 --- a/ext/standard/tests/array/array_intersect_variation3.phpt +++ b/ext/standard/tests/array/array_intersect_variation3.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - different arrays for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Passing different types of arrays to $arr1 argument and testing whether * array_intersect() behaves in expected way with the other arguments passed to the function diff --git a/ext/standard/tests/array/array_intersect_variation4.phpt b/ext/standard/tests/array/array_intersect_variation4.phpt index dfbfdbe2f9..ce0fa47b03 100644 --- a/ext/standard/tests/array/array_intersect_variation4.phpt +++ b/ext/standard/tests/array/array_intersect_variation4.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - different arrays for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Passing different types of arrays to $arr2 argument and testing whether * array_intersect() behaves in expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_intersect_variation5.phpt b/ext/standard/tests/array/array_intersect_variation5.phpt index a500498394..67efa2bf75 100644 --- a/ext/standard/tests/array/array_intersect_variation5.phpt +++ b/ext/standard/tests/array/array_intersect_variation5.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - assoc array with diff keys for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect() by passing different * associative arrays having different possible keys to $arr1 argument. diff --git a/ext/standard/tests/array/array_intersect_variation6.phpt b/ext/standard/tests/array/array_intersect_variation6.phpt index faa66fe1ee..0dea24b7cb 100644 --- a/ext/standard/tests/array/array_intersect_variation6.phpt +++ b/ext/standard/tests/array/array_intersect_variation6.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - assoc array with diff keys for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect() by passing different * associative arrays having different possible keys to $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_variation7.phpt b/ext/standard/tests/array/array_intersect_variation7.phpt index 818bc1daf9..5e3b19aac8 100644 --- a/ext/standard/tests/array/array_intersect_variation7.phpt +++ b/ext/standard/tests/array/array_intersect_variation7.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - assoc array with diff values for 'arr1' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect() by passing different * associative arrays having different possible values to $arr1 argument. diff --git a/ext/standard/tests/array/array_intersect_variation8.phpt b/ext/standard/tests/array/array_intersect_variation8.phpt index 6144cfde29..bdd98d92a9 100644 --- a/ext/standard/tests/array/array_intersect_variation8.phpt +++ b/ext/standard/tests/array/array_intersect_variation8.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - assoc array with diff values for 'arr2' argument --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_intersect() by passing different * associative arrays having different possible values to $arr2 argument. diff --git a/ext/standard/tests/array/array_intersect_variation9.phpt b/ext/standard/tests/array/array_intersect_variation9.phpt index d66d9c682b..c73b0f3dc9 100644 --- a/ext/standard/tests/array/array_intersect_variation9.phpt +++ b/ext/standard/tests/array/array_intersect_variation9.phpt @@ -2,11 +2,6 @@ Test array_intersect() function : usage variations - two dimensional arrays for $arr1 and $arr2 arguments(Bug#43109) --FILE-- <?php -/* Prototype : array array_intersect(array $arr1, array $arr2 [, array $...]) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_intersect() by passing 2-D arrays * to both $arr1 and $arr2 argument. diff --git a/ext/standard/tests/array/array_key_exists.phpt b/ext/standard/tests/array/array_key_exists.phpt index cd68e33515..3e0e5ffaaa 100644 --- a/ext/standard/tests/array/array_key_exists.phpt +++ b/ext/standard/tests/array/array_key_exists.phpt @@ -2,14 +2,6 @@ Test array_key_exists() function --FILE-- <?php -/* Prototype: - * bool array_key_exists ( mixed $key, array $search ); - * Description: - * Returns TRUE if the given key is set in the array. - * key can be any value possible for an array index. - * Also also works on objects. - */ - echo "*** Testing basic functionalities ***\n"; /* Arrays with regular values */ $search_arrays = array( diff --git a/ext/standard/tests/array/array_key_exists_basic.phpt b/ext/standard/tests/array/array_key_exists_basic.phpt index 09df218c0f..4753633d28 100644 --- a/ext/standard/tests/array/array_key_exists_basic.phpt +++ b/ext/standard/tests/array/array_key_exists_basic.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : basic functionality --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Test basic functionality of array_key_exists() */ diff --git a/ext/standard/tests/array/array_key_exists_variation1.phpt b/ext/standard/tests/array/array_key_exists_variation1.phpt index 2f25dbadee..eef48998fb 100644 --- a/ext/standard/tests/array/array_key_exists_variation1.phpt +++ b/ext/standard/tests/array/array_key_exists_variation1.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - Pass different data types as $key arg --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Pass different data types as $key argument to array_key_exists() to test behaviour */ diff --git a/ext/standard/tests/array/array_key_exists_variation3.phpt b/ext/standard/tests/array/array_key_exists_variation3.phpt index ef6cf45139..aba298db47 100644 --- a/ext/standard/tests/array/array_key_exists_variation3.phpt +++ b/ext/standard/tests/array/array_key_exists_variation3.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - floats and casting to ints --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Pass floats as $key argument, then cast float values * to integers and pass as $key argument diff --git a/ext/standard/tests/array/array_key_exists_variation4.phpt b/ext/standard/tests/array/array_key_exists_variation4.phpt index 1f651a2c3a..8d76804235 100644 --- a/ext/standard/tests/array/array_key_exists_variation4.phpt +++ b/ext/standard/tests/array/array_key_exists_variation4.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Pass referenced variables as arguments to array_key_exists() to test behaviour */ diff --git a/ext/standard/tests/array/array_key_exists_variation5.phpt b/ext/standard/tests/array/array_key_exists_variation5.phpt index 2e72ed7ed0..41a28c5b1e 100644 --- a/ext/standard/tests/array/array_key_exists_variation5.phpt +++ b/ext/standard/tests/array/array_key_exists_variation5.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - multidimensional arrays --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Test how array_key_exists() behaves with multi-dimensional arrays */ diff --git a/ext/standard/tests/array/array_key_exists_variation6.phpt b/ext/standard/tests/array/array_key_exists_variation6.phpt index fb81d3277a..fe16478833 100644 --- a/ext/standard/tests/array/array_key_exists_variation6.phpt +++ b/ext/standard/tests/array/array_key_exists_variation6.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - equality test for certain data types --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Pass certain data types that can be taken as a key in an array * and test whether array_key_exists(() thinks they are equal and therefore diff --git a/ext/standard/tests/array/array_key_exists_variation7.phpt b/ext/standard/tests/array/array_key_exists_variation7.phpt index 09133f6e4d..2d001bd4e1 100644 --- a/ext/standard/tests/array/array_key_exists_variation7.phpt +++ b/ext/standard/tests/array/array_key_exists_variation7.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - position of internal array pointer --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Check the position of the internal array pointer after calling array_key_exists() */ diff --git a/ext/standard/tests/array/array_key_exists_variation8.phpt b/ext/standard/tests/array/array_key_exists_variation8.phpt index a52a9acdaa..8aa4c74896 100644 --- a/ext/standard/tests/array/array_key_exists_variation8.phpt +++ b/ext/standard/tests/array/array_key_exists_variation8.phpt @@ -2,12 +2,6 @@ Test array_key_exists() function : usage variations - array keys are different data types --FILE-- <?php -/* Prototype : bool array_key_exists(mixed $key, array $search) - * Description: Checks if the given key or index exists in the array - * Source code: ext/standard/array.c - * Alias to functions: key_exists - */ - /* * Pass an array where the keys are different data types as the $search argument * then pass many different data types as $key argument to test where array_key_exist() diff --git a/ext/standard/tests/array/array_map_basic.phpt b/ext/standard/tests/array/array_map_basic.phpt index e67817e2ae..fc125f3673 100644 --- a/ext/standard/tests/array/array_map_basic.phpt +++ b/ext/standard/tests/array/array_map_basic.phpt @@ -2,11 +2,6 @@ Test array_map() function : basic functionality --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - echo "*** Testing array_map() : basic functionality ***\n"; function multiply($p, $q) { diff --git a/ext/standard/tests/array/array_map_error.phpt b/ext/standard/tests/array/array_map_error.phpt index b41871e1c4..5e770083e7 100644 --- a/ext/standard/tests/array/array_map_error.phpt +++ b/ext/standard/tests/array/array_map_error.phpt @@ -2,11 +2,6 @@ Test array_map() function : error conditions --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - echo "*** Testing array_map() : error conditions ***\n"; // Testing array_map with one less than the expected number of arguments diff --git a/ext/standard/tests/array/array_map_object1.phpt b/ext/standard/tests/array/array_map_object1.phpt index 7976f7048e..b5da9798e4 100644 --- a/ext/standard/tests/array/array_map_object1.phpt +++ b/ext/standard/tests/array/array_map_object1.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - object functionality --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Testing array_map() for object functionalities: * 1) simple class with variable and method diff --git a/ext/standard/tests/array/array_map_object2.phpt b/ext/standard/tests/array/array_map_object2.phpt index 92dbc02181..4e97270b64 100644 --- a/ext/standard/tests/array/array_map_object2.phpt +++ b/ext/standard/tests/array/array_map_object2.phpt @@ -2,11 +2,6 @@ Test array_map() function : object functionality - with non-existent class and method --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Testing array_map() for following object functionalities: * 1) non-existent class diff --git a/ext/standard/tests/array/array_map_object3.phpt b/ext/standard/tests/array/array_map_object3.phpt index 387e95ed0b..11b56a6723 100644 --- a/ext/standard/tests/array/array_map_object3.phpt +++ b/ext/standard/tests/array/array_map_object3.phpt @@ -2,11 +2,6 @@ Test array_map() function : object functionality - class methods as callback function --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Testing array_map() for object functionality with following callback function variations: * 1) child class method using parent object diff --git a/ext/standard/tests/array/array_map_variation1.phpt b/ext/standard/tests/array/array_map_variation1.phpt index cb89ce41d8..7a177f69c5 100644 --- a/ext/standard/tests/array/array_map_variation1.phpt +++ b/ext/standard/tests/array/array_map_variation1.phpt @@ -3,13 +3,6 @@ Test array_map() function : usage variations - string keys --FILE-- <?php -/* Prototype : array array_map(mixed callback, array input1 [, array input2 ,...]) - * Description: Applies the callback to the elements in given arrays. - * Source code: ext/standard/array.c -*/ - - - echo "*** Testing array_map() : string keys ***\n"; $arr = array("stringkey" => "value"); diff --git a/ext/standard/tests/array/array_map_variation10.phpt b/ext/standard/tests/array/array_map_variation10.phpt index f56f69ac76..b0c3745b36 100644 --- a/ext/standard/tests/array/array_map_variation10.phpt +++ b/ext/standard/tests/array/array_map_variation10.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - anonymous callback function --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing anonymous callback function with following variations */ diff --git a/ext/standard/tests/array/array_map_variation11.phpt b/ext/standard/tests/array/array_map_variation11.phpt index e169f591c8..71614f4551 100644 --- a/ext/standard/tests/array/array_map_variation11.phpt +++ b/ext/standard/tests/array/array_map_variation11.phpt @@ -2,18 +2,12 @@ Test array_map() function : usage variations - with recursive callback --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing subarrays and recursive callback function */ echo "*** Testing array_map() : recursive callback function ***\n"; -// callback function function square_recur_single_array($var) { if (is_array($var)) return array_map('square_recur_single_array', $var); diff --git a/ext/standard/tests/array/array_map_variation12.phpt b/ext/standard/tests/array/array_map_variation12.phpt index e662d4913c..69eaf2e3d7 100644 --- a/ext/standard/tests/array/array_map_variation12.phpt +++ b/ext/standard/tests/array/array_map_variation12.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - built-in function as callback --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing buit-in function as callback function */ diff --git a/ext/standard/tests/array/array_map_variation13.phpt b/ext/standard/tests/array/array_map_variation13.phpt index 059869326d..2c8c313019 100644 --- a/ext/standard/tests/array/array_map_variation13.phpt +++ b/ext/standard/tests/array/array_map_variation13.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - callback function with different return types --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing different callback function returning: * int, string, bool, null values diff --git a/ext/standard/tests/array/array_map_variation14.phpt b/ext/standard/tests/array/array_map_variation14.phpt index bffb42dbeb..e51fb0b381 100644 --- a/ext/standard/tests/array/array_map_variation14.phpt +++ b/ext/standard/tests/array/array_map_variation14.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - null value for 'callback' argument --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing null values for $callback argument and testing whether shortest * array will be extended with empty elements diff --git a/ext/standard/tests/array/array_map_variation15.phpt b/ext/standard/tests/array/array_map_variation15.phpt index 0478fb26c2..d8f5747ab4 100644 --- a/ext/standard/tests/array/array_map_variation15.phpt +++ b/ext/standard/tests/array/array_map_variation15.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - non existent 'callback' function --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing non existent function for $callback argument */ diff --git a/ext/standard/tests/array/array_map_variation16.phpt b/ext/standard/tests/array/array_map_variation16.phpt index 96bad882b2..4d13691ade 100644 --- a/ext/standard/tests/array/array_map_variation16.phpt +++ b/ext/standard/tests/array/array_map_variation16.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - failing built-in functions & language constructs --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing non-permmited built-in functions and language constructs i.e. * echo(), array(), empty(), eval(), exit(), isset(), list(), print() diff --git a/ext/standard/tests/array/array_map_variation17.phpt b/ext/standard/tests/array/array_map_variation17.phpt index 549afdc21a..3a547d67ef 100644 --- a/ext/standard/tests/array/array_map_variation17.phpt +++ b/ext/standard/tests/array/array_map_variation17.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - unexpected values for 'callback' argument --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing different scalar/nonscalar values in place of $callback */ diff --git a/ext/standard/tests/array/array_map_variation19.phpt b/ext/standard/tests/array/array_map_variation19.phpt index b842c8243c..899683146e 100644 --- a/ext/standard/tests/array/array_map_variation19.phpt +++ b/ext/standard/tests/array/array_map_variation19.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - callback pass semantics --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() with a pass-by-value callback forced to behave as a pass-by-reference function. */ diff --git a/ext/standard/tests/array/array_map_variation2.phpt b/ext/standard/tests/array/array_map_variation2.phpt index 79eef00fc4..0d93b33c81 100644 --- a/ext/standard/tests/array/array_map_variation2.phpt +++ b/ext/standard/tests/array/array_map_variation2.phpt @@ -3,11 +3,6 @@ Test array_map() function : usage variations - references --FILE-- <?php -/* Prototype : array array_map(mixed callback, array input1 [, array input2 ,...]) - * Description: Applies the callback to the elements in given arrays. - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_map() : references ***\n"; $arr = array("k1" => "v1","k2"=>"v2"); $arr[]=&$arr["k1"]; diff --git a/ext/standard/tests/array/array_map_variation3.phpt b/ext/standard/tests/array/array_map_variation3.phpt index c37925c05e..e252c5a7c5 100644 --- a/ext/standard/tests/array/array_map_variation3.phpt +++ b/ext/standard/tests/array/array_map_variation3.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - different arrays for 'arr1' argument --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing different arrays for $arr1 argument */ diff --git a/ext/standard/tests/array/array_map_variation4.phpt b/ext/standard/tests/array/array_map_variation4.phpt index 8e75b91ff4..dadfbaafa1 100644 --- a/ext/standard/tests/array/array_map_variation4.phpt +++ b/ext/standard/tests/array/array_map_variation4.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - associative array with different keys --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing associative array with different keys for $arr1 argument */ diff --git a/ext/standard/tests/array/array_map_variation5.phpt b/ext/standard/tests/array/array_map_variation5.phpt index a8ea43be6d..9b6a896fa9 100644 --- a/ext/standard/tests/array/array_map_variation5.phpt +++ b/ext/standard/tests/array/array_map_variation5.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - associative array with different values --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing associative array with different values for $arr1 argument */ diff --git a/ext/standard/tests/array/array_map_variation6.phpt b/ext/standard/tests/array/array_map_variation6.phpt index ee4c65ceb3..4765dc2c95 100644 --- a/ext/standard/tests/array/array_map_variation6.phpt +++ b/ext/standard/tests/array/array_map_variation6.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - array having subarrays --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing array having different subarrays */ diff --git a/ext/standard/tests/array/array_map_variation7.phpt b/ext/standard/tests/array/array_map_variation7.phpt index e75cec186a..30e6f9d91d 100644 --- a/ext/standard/tests/array/array_map_variation7.phpt +++ b/ext/standard/tests/array/array_map_variation7.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - arrays of different size --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing array having different size * 1) first array as empty array diff --git a/ext/standard/tests/array/array_map_variation8.phpt b/ext/standard/tests/array/array_map_variation8.phpt index 99b206d0f9..1452d5be4b 100644 --- a/ext/standard/tests/array/array_map_variation8.phpt +++ b/ext/standard/tests/array/array_map_variation8.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - array with references --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing array having reference values for $arr1 argument */ diff --git a/ext/standard/tests/array/array_map_variation9.phpt b/ext/standard/tests/array/array_map_variation9.phpt index 7089f9abc6..eb4d400aad 100644 --- a/ext/standard/tests/array/array_map_variation9.phpt +++ b/ext/standard/tests/array/array_map_variation9.phpt @@ -2,11 +2,6 @@ Test array_map() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] ) - * Description: Applies the callback to the elements of the given arrays - * Source code: ext/standard/array.c - */ - /* * Test array_map() by passing array having binary values for $arr1 argument */ diff --git a/ext/standard/tests/array/array_merge.phpt b/ext/standard/tests/array/array_merge.phpt index 75007779fa..b78da3082a 100644 --- a/ext/standard/tests/array/array_merge.phpt +++ b/ext/standard/tests/array/array_merge.phpt @@ -4,10 +4,6 @@ Test array_merge() function precision=14 --FILE-- <?php -/* Prototype: array array_merge(array $array1 [, array $array2 [, array $...]]); - Description: Merge one or more arrays -*/ - echo "\n*** Testing array_merge() basic functionality ***"; $begin_array = array( array(), diff --git a/ext/standard/tests/array/array_merge_basic.phpt b/ext/standard/tests/array/array_merge_basic.phpt index f78fb744be..e58d0cf50f 100644 --- a/ext/standard/tests/array/array_merge_basic.phpt +++ b/ext/standard/tests/array/array_merge_basic.phpt @@ -2,11 +2,6 @@ Test array_merge() function : basic functionality --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_merge() */ diff --git a/ext/standard/tests/array/array_merge_recursive_basic1.phpt b/ext/standard/tests/array/array_merge_recursive_basic1.phpt index b163a847db..97f387065e 100644 --- a/ext/standard/tests/array/array_merge_recursive_basic1.phpt +++ b/ext/standard/tests/array/array_merge_recursive_basic1.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : basic functionality - array with default keys --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_merge_recursive() : array with default keys ***\n"; // Initialise the arrays diff --git a/ext/standard/tests/array/array_merge_recursive_basic2.phpt b/ext/standard/tests/array/array_merge_recursive_basic2.phpt index 3cdc90e2bb..ee311113ec 100644 --- a/ext/standard/tests/array/array_merge_recursive_basic2.phpt +++ b/ext/standard/tests/array/array_merge_recursive_basic2.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : basic functionality - associative arrays --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_merge_recursive() : associative arrays ***\n"; // Initialise the arrays diff --git a/ext/standard/tests/array/array_merge_recursive_variation1.phpt b/ext/standard/tests/array/array_merge_recursive_variation1.phpt index 3e33cb1480..0a72aeeccd 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation1.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation1.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - unexpected values for $arr1 argument --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Passing non array values to 'arr1' argument of array_merge_recursive() and see * that the function outputs proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_merge_recursive_variation10.phpt b/ext/standard/tests/array/array_merge_recursive_variation10.phpt index 8e28b7434c..7f03779cea 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation10.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation10.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - two dimensional arrays --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing * two dimensional arrays for $arr1 argument. diff --git a/ext/standard/tests/array/array_merge_recursive_variation2.phpt b/ext/standard/tests/array/array_merge_recursive_variation2.phpt index da52edaf54..981e7426c1 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation2.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation2.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - unexpected values for $arr2 argument --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Passing non array values to 'arr2' argument of array_merge_recursive() and see * that the function outputs proper warning messages wherever expected. diff --git a/ext/standard/tests/array/array_merge_recursive_variation3.phpt b/ext/standard/tests/array/array_merge_recursive_variation3.phpt index 12d225a0d5..214d765442 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation3.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation3.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - different arrays for 'arr1' argument --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Passing different arrays to $arr1 argument and testing whether * array_merge_recursive() behaves in an expected way. diff --git a/ext/standard/tests/array/array_merge_recursive_variation4.phpt b/ext/standard/tests/array/array_merge_recursive_variation4.phpt index dc5651adfb..6208adabed 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation4.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation4.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - associative array with different keys --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing different * associative arrays having different keys to $arr1 argument. diff --git a/ext/standard/tests/array/array_merge_recursive_variation5.phpt b/ext/standard/tests/array/array_merge_recursive_variation5.phpt index 6f6da8b58b..701817730c 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation5.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation5.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - associative array with different values --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing different * associative arrays having different values to $arr1 argument. diff --git a/ext/standard/tests/array/array_merge_recursive_variation6.phpt b/ext/standard/tests/array/array_merge_recursive_variation6.phpt index 17fb7eb070..9540a6cf96 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation6.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation6.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - array with duplicate keys --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing * array having duplicate keys. diff --git a/ext/standard/tests/array/array_merge_recursive_variation7.phpt b/ext/standard/tests/array/array_merge_recursive_variation7.phpt index 45e6c7ee77..8bb215abf2 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation7.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation7.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - array with reference variables --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing * array having reference variables. diff --git a/ext/standard/tests/array/array_merge_recursive_variation8.phpt b/ext/standard/tests/array/array_merge_recursive_variation8.phpt index ff76ed959c..bd41e57e64 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation8.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation8.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing an array having binary values. */ diff --git a/ext/standard/tests/array/array_merge_recursive_variation9.phpt b/ext/standard/tests/array/array_merge_recursive_variation9.phpt index c35e976b5e..ff12e86b5a 100644 --- a/ext/standard/tests/array/array_merge_recursive_variation9.phpt +++ b/ext/standard/tests/array/array_merge_recursive_variation9.phpt @@ -2,11 +2,6 @@ Test array_merge_recursive() function : usage variations - common key and value(Bug#43559) --FILE-- <?php -/* Prototype : array array_merge_recursive(array $arr1[, array $...]) - * Description: Recursively merges elements from passed arrays into one array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_merge_recursive() by passing * arrays having common key and value. diff --git a/ext/standard/tests/array/array_merge_variation1.phpt b/ext/standard/tests/array/array_merge_variation1.phpt index 4c466be011..47045017fa 100644 --- a/ext/standard/tests/array/array_merge_variation1.phpt +++ b/ext/standard/tests/array/array_merge_variation1.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - Pass different data types to $arr1 arg --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass different data types as $arr1 argument to test behaviour */ diff --git a/ext/standard/tests/array/array_merge_variation10.phpt b/ext/standard/tests/array/array_merge_variation10.phpt index 123c08ece1..1877cece57 100644 --- a/ext/standard/tests/array/array_merge_variation10.phpt +++ b/ext/standard/tests/array/array_merge_variation10.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - position of internal array pointer --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Check the position of the internal array pointer after calling array_merge(). * This test is also passing more than two arguments to array_merge(). diff --git a/ext/standard/tests/array/array_merge_variation2.phpt b/ext/standard/tests/array/array_merge_variation2.phpt index 6dbf3b1128..9e7a8cab17 100644 --- a/ext/standard/tests/array/array_merge_variation2.phpt +++ b/ext/standard/tests/array/array_merge_variation2.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - Pass different data types as $arr2 arg --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass different data types as $arr2 argument to array_merge() to test behaviour */ diff --git a/ext/standard/tests/array/array_merge_variation3.phpt b/ext/standard/tests/array/array_merge_variation3.phpt index 1b15153c7f..22cc22498d 100644 --- a/ext/standard/tests/array/array_merge_variation3.phpt +++ b/ext/standard/tests/array/array_merge_variation3.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - arrays of diff. data types --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass arrays of different data types to test how array_merge adds them * onto an existing array diff --git a/ext/standard/tests/array/array_merge_variation4.phpt b/ext/standard/tests/array/array_merge_variation4.phpt index f061520d1d..456d80a2c7 100644 --- a/ext/standard/tests/array/array_merge_variation4.phpt +++ b/ext/standard/tests/array/array_merge_variation4.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - Diff. data types as array keys --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass an array with different data types as keys to test how array_merge * adds it onto an existing array diff --git a/ext/standard/tests/array/array_merge_variation5.phpt b/ext/standard/tests/array/array_merge_variation5.phpt index 18e0ce2000..47cba13815 100644 --- a/ext/standard/tests/array/array_merge_variation5.phpt +++ b/ext/standard/tests/array/array_merge_variation5.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - numeric keys --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass array_merge() arrays with only numeric keys to test behaviour. * $arr2 contains a duplicate element to $arr1. diff --git a/ext/standard/tests/array/array_merge_variation6.phpt b/ext/standard/tests/array/array_merge_variation6.phpt index 8483a00339..b2297883d1 100644 --- a/ext/standard/tests/array/array_merge_variation6.phpt +++ b/ext/standard/tests/array/array_merge_variation6.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - string keys --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass array_merge arrays with string keys to test behaviour. * $arr2 has a duplicate key to $arr1 diff --git a/ext/standard/tests/array/array_merge_variation7.phpt b/ext/standard/tests/array/array_merge_variation7.phpt index 0e52a99f38..60642fc43e 100644 --- a/ext/standard/tests/array/array_merge_variation7.phpt +++ b/ext/standard/tests/array/array_merge_variation7.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - Mixed keys --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Pass array_merge() arrays with mixed keys to test how it attaches them to * existing arrays diff --git a/ext/standard/tests/array/array_merge_variation8.phpt b/ext/standard/tests/array/array_merge_variation8.phpt index 40699b3339..e4dbeba2fe 100644 --- a/ext/standard/tests/array/array_merge_variation8.phpt +++ b/ext/standard/tests/array/array_merge_variation8.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* * Test array_merge() with multi-dimensional arrays */ diff --git a/ext/standard/tests/array/array_merge_variation9.phpt b/ext/standard/tests/array/array_merge_variation9.phpt index b23a96ea9c..58e43be7b2 100644 --- a/ext/standard/tests/array/array_merge_variation9.phpt +++ b/ext/standard/tests/array/array_merge_variation9.phpt @@ -2,11 +2,6 @@ Test array_merge() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : array array_merge(array $arr1, array $arr2 [, array $...]) - * Description: Merges elements from passed arrays into one array - * Source code: ext/standard/array.c - */ - /* Test array_merge() when: * 1. Passed an array made up of referenced variables * 2. Passed an array as the first argument and a reference to that array as the second. diff --git a/ext/standard/tests/array/array_multisort_basic1.phpt b/ext/standard/tests/array/array_multisort_basic1.phpt index 599838a5d5..23c64ee7a5 100644 --- a/ext/standard/tests/array/array_multisort_basic1.phpt +++ b/ext/standard/tests/array/array_multisort_basic1.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : basic functionality --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : basic functionality ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/array/array_multisort_basic2.phpt b/ext/standard/tests/array/array_multisort_basic2.phpt index 41eb5d8a62..4710529f30 100644 --- a/ext/standard/tests/array/array_multisort_basic2.phpt +++ b/ext/standard/tests/array/array_multisort_basic2.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : basic functionality --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : basic functionality - renumbering of numeric keys ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/array/array_multisort_case.phpt b/ext/standard/tests/array/array_multisort_case.phpt index 39d9280c28..e8c4407e10 100644 --- a/ext/standard/tests/array/array_multisort_case.phpt +++ b/ext/standard/tests/array/array_multisort_case.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : case-sensitive --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : case-sensitive\n"; $a = array( diff --git a/ext/standard/tests/array/array_multisort_error.phpt b/ext/standard/tests/array/array_multisort_error.phpt index fa82424b7b..6df4216337 100644 --- a/ext/standard/tests/array/array_multisort_error.phpt +++ b/ext/standard/tests/array/array_multisort_error.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : error conditions --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : error conditions ***\n"; echo "\n-- Testing array_multisort() function with repeated flags --\n"; diff --git a/ext/standard/tests/array/array_multisort_incase.phpt b/ext/standard/tests/array/array_multisort_incase.phpt index 98be7d06bc..174027d2eb 100644 --- a/ext/standard/tests/array/array_multisort_incase.phpt +++ b/ext/standard/tests/array/array_multisort_incase.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : case-insensitive --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : case-insensitive\n"; $a = array( diff --git a/ext/standard/tests/array/array_multisort_natural.phpt b/ext/standard/tests/array/array_multisort_natural.phpt index f56c1b00a2..7710c4eeaa 100644 --- a/ext/standard/tests/array/array_multisort_natural.phpt +++ b/ext/standard/tests/array/array_multisort_natural.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : natural sorting --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : natural sorting\n"; $a = array( diff --git a/ext/standard/tests/array/array_multisort_natural_case.phpt b/ext/standard/tests/array/array_multisort_natural_case.phpt index fc42219972..7ef2ef58ea 100644 --- a/ext/standard/tests/array/array_multisort_natural_case.phpt +++ b/ext/standard/tests/array/array_multisort_natural_case.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : natural sorting case-sensitive --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : natural sorting case-sensitive\n"; $a = array( diff --git a/ext/standard/tests/array/array_multisort_natural_incase.phpt b/ext/standard/tests/array/array_multisort_natural_incase.phpt index 0b12bf776d..9493ce0d45 100644 --- a/ext/standard/tests/array/array_multisort_natural_incase.phpt +++ b/ext/standard/tests/array/array_multisort_natural_incase.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : natural sorting case-insensitive --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : natural sorting case-insensitive\n"; $a = array( diff --git a/ext/standard/tests/array/array_multisort_variation1.phpt b/ext/standard/tests/array/array_multisort_variation1.phpt index 5845012c40..b4d76eb79c 100644 --- a/ext/standard/tests/array/array_multisort_variation1.phpt +++ b/ext/standard/tests/array/array_multisort_variation1.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation ***\n"; // Define error handler diff --git a/ext/standard/tests/array/array_multisort_variation10.phpt b/ext/standard/tests/array/array_multisort_variation10.phpt index 5452365f37..2c559a6be2 100644 --- a/ext/standard/tests/array/array_multisort_variation10.phpt +++ b/ext/standard/tests/array/array_multisort_variation10.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - testing with anonymous array arguments --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : Testing with anonymous arguments ***\n"; var_dump(array_multisort(array(1,3,2,4))); diff --git a/ext/standard/tests/array/array_multisort_variation11.phpt b/ext/standard/tests/array/array_multisort_variation11.phpt index 2a62b67abc..14ef8d198e 100644 --- a/ext/standard/tests/array/array_multisort_variation11.phpt +++ b/ext/standard/tests/array/array_multisort_variation11.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - testing with empty array --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : Testing with empty array ***\n"; var_dump(array_multisort(array())); diff --git a/ext/standard/tests/array/array_multisort_variation2.phpt b/ext/standard/tests/array/array_multisort_variation2.phpt index ed4eebc331..ff19956610 100644 --- a/ext/standard/tests/array/array_multisort_variation2.phpt +++ b/ext/standard/tests/array/array_multisort_variation2.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation ***\n"; // Define error handler diff --git a/ext/standard/tests/array/array_multisort_variation3.phpt b/ext/standard/tests/array/array_multisort_variation3.phpt index 46488d580d..891a9d9097 100644 --- a/ext/standard/tests/array/array_multisort_variation3.phpt +++ b/ext/standard/tests/array/array_multisort_variation3.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation ***\n"; // Define error handler diff --git a/ext/standard/tests/array/array_multisort_variation4.phpt b/ext/standard/tests/array/array_multisort_variation4.phpt index 9b5f5fe1c7..f92156331d 100644 --- a/ext/standard/tests/array/array_multisort_variation4.phpt +++ b/ext/standard/tests/array/array_multisort_variation4.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - testing with multiple array arguments --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : Testing with multiple array arguments ***\n"; $arr1 = array (4,3,3,3); diff --git a/ext/standard/tests/array/array_multisort_variation5.phpt b/ext/standard/tests/array/array_multisort_variation5.phpt index 3298bb8099..cbf0cf6f92 100644 --- a/ext/standard/tests/array/array_multisort_variation5.phpt +++ b/ext/standard/tests/array/array_multisort_variation5.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - testing with multiple array arguments --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : Testing all array sort specifiers ***\n"; $ar = array( 2, "aa" , "1"); diff --git a/ext/standard/tests/array/array_multisort_variation6.phpt b/ext/standard/tests/array/array_multisort_variation6.phpt index 5cf556087c..c4f98337ed 100644 --- a/ext/standard/tests/array/array_multisort_variation6.phpt +++ b/ext/standard/tests/array/array_multisort_variation6.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - testing with multiple array arguments --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : Testing all array sort specifiers ***\n"; $ar = array( 2, "aa" , "1"); diff --git a/ext/standard/tests/array/array_multisort_variation7.phpt b/ext/standard/tests/array/array_multisort_variation7.phpt index 7ad9bd72a7..b10869e422 100644 --- a/ext/standard/tests/array/array_multisort_variation7.phpt +++ b/ext/standard/tests/array/array_multisort_variation7.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - test sort order of all types --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n"; // define some classes diff --git a/ext/standard/tests/array/array_multisort_variation8.phpt b/ext/standard/tests/array/array_multisort_variation8.phpt index 5658e12420..f545868212 100644 --- a/ext/standard/tests/array/array_multisort_variation8.phpt +++ b/ext/standard/tests/array/array_multisort_variation8.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - test sort order of all types --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n"; // Define error handler diff --git a/ext/standard/tests/array/array_multisort_variation9.phpt b/ext/standard/tests/array/array_multisort_variation9.phpt index 63f42f407d..0451daca33 100644 --- a/ext/standard/tests/array/array_multisort_variation9.phpt +++ b/ext/standard/tests/array/array_multisort_variation9.phpt @@ -2,12 +2,6 @@ Test array_multisort() function : usage variation - test sort order of all types --FILE-- <?php -/* Prototype : bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING|SORT_NATURAL|SORT_FLAG_CASE]], ...]) - * Description: Sort multiple arrays at once similar to how ORDER BY clause works in SQL - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n"; // define some classes diff --git a/ext/standard/tests/array/array_pad_variation3.phpt b/ext/standard/tests/array/array_pad_variation3.phpt index e948fce989..cd3937e683 100644 --- a/ext/standard/tests/array/array_pad_variation3.phpt +++ b/ext/standard/tests/array/array_pad_variation3.phpt @@ -2,11 +2,6 @@ Test array_pad() function : usage variations - possible values for 'pad_value' argument --FILE-- <?php -/* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value) - * Description: Returns a copy of input array padded with pad_value to size pad_size - * Source code: ext/standard/array.c -*/ - /* * Testing array_pad() function for expected behavior by passing * different possible values for $pad_value argument. diff --git a/ext/standard/tests/array/array_pad_variation4.phpt b/ext/standard/tests/array/array_pad_variation4.phpt index 0216245cc2..0c7c653492 100644 --- a/ext/standard/tests/array/array_pad_variation4.phpt +++ b/ext/standard/tests/array/array_pad_variation4.phpt @@ -2,11 +2,6 @@ Test array_pad() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value) - * Description: Returns a copy of input array padded with pad_value to size pad_size - * Source code: ext/standard/array.c -*/ - /* * Passing binary values to $pad_value argument and testing whether * array_pad() behaves in an expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_pad_variation5.phpt b/ext/standard/tests/array/array_pad_variation5.phpt index ec4c87eee6..40df2bf2c6 100644 --- a/ext/standard/tests/array/array_pad_variation5.phpt +++ b/ext/standard/tests/array/array_pad_variation5.phpt @@ -2,11 +2,6 @@ Test array_pad() function : usage variations - two dimensional array for 'pad_value' argument --FILE-- <?php -/* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value) - * Description: Returns a copy of input array padded with pad_value to size pad_size - * Source code: ext/standard/array.c -*/ - /* * Passing two dimensional array to $pad_value argument and testing whether * array_pad() behaves in an expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_pad_variation6.phpt b/ext/standard/tests/array/array_pad_variation6.phpt index f4d92abcfc..fc2d705dbe 100644 --- a/ext/standard/tests/array/array_pad_variation6.phpt +++ b/ext/standard/tests/array/array_pad_variation6.phpt @@ -2,11 +2,6 @@ Test array_pad() function : usage variations - different arrays for 'input' argument --FILE-- <?php -/* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value) - * Description: Returns a copy of input array padded with pad_value to size pad_size - * Source code: ext/standard/array.c -*/ - /* * Passing different arrays to $input argument and testing whether * array_pad() behaves in an expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_pad_variation7.phpt b/ext/standard/tests/array/array_pad_variation7.phpt index 06836b8239..06f2bfa68b 100644 --- a/ext/standard/tests/array/array_pad_variation7.phpt +++ b/ext/standard/tests/array/array_pad_variation7.phpt @@ -2,11 +2,6 @@ Test array_pad() function : usage variations - two dimensional array for 'input' argument --FILE-- <?php -/* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value) - * Description: Returns a copy of input array padded with pad_value to size pad_size - * Source code: ext/standard/array.c -*/ - /* * Passing two dimensional array to $input argument and testing whether * array_pad() behaves in an expected way with the other arguments passed to the function. diff --git a/ext/standard/tests/array/array_product_variation1.phpt b/ext/standard/tests/array/array_product_variation1.phpt index 379d59cb21..c27d872a85 100644 --- a/ext/standard/tests/array/array_product_variation1.phpt +++ b/ext/standard/tests/array/array_product_variation1.phpt @@ -2,12 +2,6 @@ Test array_product() function : variation --FILE-- <?php -/* Prototype : mixed array_product(array input) - * Description: Returns the product of the array entries - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_product() : variation - using non numeric values ***\n"; class A { diff --git a/ext/standard/tests/array/array_product_variation2.phpt b/ext/standard/tests/array/array_product_variation2.phpt index 624fc37e5a..167e46ec3a 100644 --- a/ext/standard/tests/array/array_product_variation2.phpt +++ b/ext/standard/tests/array/array_product_variation2.phpt @@ -2,12 +2,6 @@ Test array_product() function : variation --FILE-- <?php -/* Prototype : mixed array_product(array input) - * Description: Returns the product of the array entries - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_product() : variations ***\n"; echo "\n-- Testing array_product() function with a keyed array array --\n"; diff --git a/ext/standard/tests/array/array_product_variation3.phpt b/ext/standard/tests/array/array_product_variation3.phpt index fe7b64da72..03c7da174c 100644 --- a/ext/standard/tests/array/array_product_variation3.phpt +++ b/ext/standard/tests/array/array_product_variation3.phpt @@ -2,12 +2,6 @@ Test array_product() function : variation --FILE-- <?php -/* Prototype : mixed array_product(array input) - * Description: Returns the product of the array entries - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_product() : variations - negative numbers***\n"; echo "\n-- Testing array_product() function with one negative number --\n"; diff --git a/ext/standard/tests/array/array_product_variation4.phpt b/ext/standard/tests/array/array_product_variation4.phpt index 70f70516a7..c142cea6d6 100644 --- a/ext/standard/tests/array/array_product_variation4.phpt +++ b/ext/standard/tests/array/array_product_variation4.phpt @@ -2,12 +2,6 @@ Test array_product() function : variation --FILE-- <?php -/* Prototype : mixed array_product(array input) - * Description: Returns the product of the array entries - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_product() : variations ***\n"; echo "\n-- Testing array_product() function with a very large array --\n"; diff --git a/ext/standard/tests/array/array_push.phpt b/ext/standard/tests/array/array_push.phpt index 78076b8fc4..67a2f2019b 100644 --- a/ext/standard/tests/array/array_push.phpt +++ b/ext/standard/tests/array/array_push.phpt @@ -3,11 +3,6 @@ Test array_push() function --FILE-- <?php -/* Prototype: int array_push( array &array ); - * Description: Push one or more elements onto the end of array - and returns the new number of elements in the array. - */ - $empty_array = array(); $number = 5; $str = "abc"; diff --git a/ext/standard/tests/array/array_push_basic.phpt b/ext/standard/tests/array/array_push_basic.phpt index 697eaccaf2..c0d66b7034 100644 --- a/ext/standard/tests/array/array_push_basic.phpt +++ b/ext/standard/tests/array/array_push_basic.phpt @@ -2,11 +2,6 @@ Test array_push() function : basic functionality --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_push with indexed and associative arrays */ diff --git a/ext/standard/tests/array/array_push_empty.phpt b/ext/standard/tests/array/array_push_empty.phpt index d302159a59..1c7f935aae 100644 --- a/ext/standard/tests/array/array_push_empty.phpt +++ b/ext/standard/tests/array/array_push_empty.phpt @@ -2,11 +2,6 @@ Test array_push() function : push empty set to the array --FILE-- <?php -/* Prototype : int array_push(array $stack[, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - $array = [1,2,3]; $values = []; diff --git a/ext/standard/tests/array/array_push_error2.phpt b/ext/standard/tests/array/array_push_error2.phpt index ce267f2cd0..0ed0af6e1b 100644 --- a/ext/standard/tests/array/array_push_error2.phpt +++ b/ext/standard/tests/array/array_push_error2.phpt @@ -2,11 +2,6 @@ Test array_push() function : error conditions - max int value as key --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Use PHP's maximum integer value as array key * then try and push new elements onto the array diff --git a/ext/standard/tests/array/array_push_variation2.phpt b/ext/standard/tests/array/array_push_variation2.phpt index f0884639a5..e297f80c56 100644 --- a/ext/standard/tests/array/array_push_variation2.phpt +++ b/ext/standard/tests/array/array_push_variation2.phpt @@ -2,11 +2,6 @@ Test array_push() function : usage variations - Pass different data types as $var arg --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Pass different data types as $var argument to array_push to test behaviour */ diff --git a/ext/standard/tests/array/array_push_variation3.phpt b/ext/standard/tests/array/array_push_variation3.phpt index ddb258ab8a..4ce4e7d970 100644 --- a/ext/standard/tests/array/array_push_variation3.phpt +++ b/ext/standard/tests/array/array_push_variation3.phpt @@ -2,11 +2,6 @@ Test array_push() function : usage variations - multidimensional arrays --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Test array_push when passed: * 1. an array as $var arg diff --git a/ext/standard/tests/array/array_push_variation5.phpt b/ext/standard/tests/array/array_push_variation5.phpt index b3611d2159..32e541efb5 100644 --- a/ext/standard/tests/array/array_push_variation5.phpt +++ b/ext/standard/tests/array/array_push_variation5.phpt @@ -2,11 +2,6 @@ Test array_push() function : usage variations - position of internal array pointer --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Check the position of the internal array pointer after calling array_push() */ diff --git a/ext/standard/tests/array/array_push_variation6.phpt b/ext/standard/tests/array/array_push_variation6.phpt index 97b9aff140..b8cce79821 100644 --- a/ext/standard/tests/array/array_push_variation6.phpt +++ b/ext/standard/tests/array/array_push_variation6.phpt @@ -2,11 +2,6 @@ Test array_push() function : usage variations - array keys are different data types --FILE-- <?php -/* Prototype : int array_push(array $stack, mixed $var [, mixed $...]) - * Description: Pushes elements onto the end of the array - * Source code: ext/standard/array.c - */ - /* * Pass array_push arrays where the keys are different data types. */ diff --git a/ext/standard/tests/array/array_rand_basic1.phpt b/ext/standard/tests/array/array_rand_basic1.phpt index 935ea11f5d..0f2d79dfca 100644 --- a/ext/standard/tests/array/array_rand_basic1.phpt +++ b/ext/standard/tests/array/array_rand_basic1.phpt @@ -2,11 +2,6 @@ Test array_rand() function : basic functionality - array with default keys --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test array_rand() when array with default keys is passed to 'input' argument */ diff --git a/ext/standard/tests/array/array_rand_basic2.phpt b/ext/standard/tests/array/array_rand_basic2.phpt index 15eacc90e6..747cb5628f 100644 --- a/ext/standard/tests/array/array_rand_basic2.phpt +++ b/ext/standard/tests/array/array_rand_basic2.phpt @@ -2,11 +2,6 @@ Test array_rand() function : basic functionality - with associative array for 'input' argument --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test array_rand() when associative array is passed to 'input' argument */ diff --git a/ext/standard/tests/array/array_rand_variation3.phpt b/ext/standard/tests/array/array_rand_variation3.phpt index e4631977d7..34f2db6ea7 100644 --- a/ext/standard/tests/array/array_rand_variation3.phpt +++ b/ext/standard/tests/array/array_rand_variation3.phpt @@ -2,11 +2,6 @@ Test array_rand() function : usage variation - with MultiDimensional array --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of array_rand() function when multi-dimensional array * is passed to 'input' argument diff --git a/ext/standard/tests/array/array_rand_variation4.phpt b/ext/standard/tests/array/array_rand_variation4.phpt index 89fd1ec086..1ddcec1933 100644 --- a/ext/standard/tests/array/array_rand_variation4.phpt +++ b/ext/standard/tests/array/array_rand_variation4.phpt @@ -2,11 +2,6 @@ Test array_rand() function : usage variation - with associative arrays for 'input' parameter --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of array_rand() function when associative array is passed to * the 'input' parameter in the function call diff --git a/ext/standard/tests/array/array_rand_variation5.phpt b/ext/standard/tests/array/array_rand_variation5.phpt index 2d66b35f04..116a8c3263 100644 --- a/ext/standard/tests/array/array_rand_variation5.phpt +++ b/ext/standard/tests/array/array_rand_variation5.phpt @@ -2,11 +2,6 @@ Test array_rand() function : usage variation - invalid values for 'req_num' parameter --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of array_rand() function when associative array and * various invalid values are passed to the 'input' and 'req_num' diff --git a/ext/standard/tests/array/array_rand_variation6.phpt b/ext/standard/tests/array/array_rand_variation6.phpt index ce0bedb362..e8113fc189 100644 --- a/ext/standard/tests/array/array_rand_variation6.phpt +++ b/ext/standard/tests/array/array_rand_variation6.phpt @@ -2,11 +2,6 @@ Test array_rand() function : usage variation - with heredoc string as key in the 'input' array --FILE-- <?php -/* Prototype : mixed array_rand(array $input [, int $num_req]) - * Description: Return key/keys for random entry/entries in the array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of array_rand() when keys of the 'input' array is heredoc string */ diff --git a/ext/standard/tests/array/array_reduce.phpt b/ext/standard/tests/array/array_reduce.phpt index 4a73a8eb95..824e2ff65b 100644 --- a/ext/standard/tests/array/array_reduce.phpt +++ b/ext/standard/tests/array/array_reduce.phpt @@ -4,10 +4,6 @@ Test array_reduce() function precision=14 --FILE-- <?php -/* Prototype: array array_reduce(array $array, mixed $callback, mixed $initial); - Description: Iteratively reduce the array to a single value via the callback -*/ - $array = array('foo', 'foo', 'bar', 'qux', 'qux', 'quux'); echo "\n*** Testing array_reduce() to integer ***\n"; diff --git a/ext/standard/tests/array/array_reduce_variation1.phpt b/ext/standard/tests/array/array_reduce_variation1.phpt index 6b1d21e046..d1b6bf204d 100644 --- a/ext/standard/tests/array/array_reduce_variation1.phpt +++ b/ext/standard/tests/array/array_reduce_variation1.phpt @@ -2,12 +2,6 @@ Test array_reduce() function : variation --FILE-- <?php -/* Prototype : mixed array_reduce(array input, mixed callback [, int initial]) - * Description: Iteratively reduce the array to a single value via the callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_reduce() : variation ***\n"; diff --git a/ext/standard/tests/array/array_reduce_variation3.phpt b/ext/standard/tests/array/array_reduce_variation3.phpt index f43b8eb589..572d76c405 100644 --- a/ext/standard/tests/array/array_reduce_variation3.phpt +++ b/ext/standard/tests/array/array_reduce_variation3.phpt @@ -2,12 +2,6 @@ Test array_reduce() function : variation - object callbacks --FILE-- <?php -/* Prototype : mixed array_reduce(array input, mixed callback [, int initial]) - * Description: Iteratively reduce the array to a single value via the callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_reduce() : variation - object callbacks ***\n"; class A { diff --git a/ext/standard/tests/array/array_reverse_basic1.phpt b/ext/standard/tests/array/array_reverse_basic1.phpt index 5ec38461a6..6f7197d835 100644 --- a/ext/standard/tests/array/array_reverse_basic1.phpt +++ b/ext/standard/tests/array/array_reverse_basic1.phpt @@ -2,11 +2,6 @@ Test array_reverse() function : basic functionality - simple array for 'array' argument --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * Testing array_reverse() by giving a simple array for $array argument */ diff --git a/ext/standard/tests/array/array_reverse_basic2.phpt b/ext/standard/tests/array/array_reverse_basic2.phpt index c6844be47a..c10c12b0e5 100644 --- a/ext/standard/tests/array/array_reverse_basic2.phpt +++ b/ext/standard/tests/array/array_reverse_basic2.phpt @@ -2,11 +2,6 @@ Test array_reverse() function : basic functionality - associative array for 'array' argument --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * Testing array_reverse() with associative array for $array argument */ diff --git a/ext/standard/tests/array/array_reverse_variation3.phpt b/ext/standard/tests/array/array_reverse_variation3.phpt index 7500719693..b5c222684e 100644 --- a/ext/standard/tests/array/array_reverse_variation3.phpt +++ b/ext/standard/tests/array/array_reverse_variation3.phpt @@ -2,11 +2,6 @@ Test array_reverse() function : usage variations - different array values for 'array' argument --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_reverse() by giving * different array values for $array argument diff --git a/ext/standard/tests/array/array_reverse_variation4.phpt b/ext/standard/tests/array/array_reverse_variation4.phpt index 21cced1703..861b5972a4 100644 --- a/ext/standard/tests/array/array_reverse_variation4.phpt +++ b/ext/standard/tests/array/array_reverse_variation4.phpt @@ -2,11 +2,6 @@ Test array_reverse() function : usage variations - assoc. array with diff. keys for 'array' argument --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_reverse() by giving associative arrays with different * keys for $array argument diff --git a/ext/standard/tests/array/array_reverse_variation5.phpt b/ext/standard/tests/array/array_reverse_variation5.phpt index 66255e94c2..d5651e4551 100644 --- a/ext/standard/tests/array/array_reverse_variation5.phpt +++ b/ext/standard/tests/array/array_reverse_variation5.phpt @@ -4,11 +4,6 @@ Test array_reverse() function : usage variations - assoc. array with diff. value precision=12 --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_reverse() by giving associative arrays with different * values for $array argument diff --git a/ext/standard/tests/array/array_reverse_variation6.phpt b/ext/standard/tests/array/array_reverse_variation6.phpt index e48673ec1d..8ad3451d01 100644 --- a/ext/standard/tests/array/array_reverse_variation6.phpt +++ b/ext/standard/tests/array/array_reverse_variation6.phpt @@ -2,11 +2,6 @@ Test array_reverse() function : usage variations - two dimensional arrays for 'array' argument --FILE-- <?php -/* Prototype : array array_reverse(array $array [, bool $preserve_keys]) - * Description: Return input as a new array with the order of the entries reversed - * Source code: ext/standard/array.c -*/ - /* * testing the functionality of array_reverse() by giving 2-D arrays for $array argument */ diff --git a/ext/standard/tests/array/array_search_variation1.phpt b/ext/standard/tests/array/array_search_variation1.phpt index 6c52a3bfed..83b8139085 100644 --- a/ext/standard/tests/array/array_search_variation1.phpt +++ b/ext/standard/tests/array/array_search_variation1.phpt @@ -2,12 +2,6 @@ Test array_search() function : usage variations - different needle values --FILE-- <?php -/* - * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise - * Source Code: ext/standard/array.c -*/ - /* Test array_search() with different possible needle values */ echo "*** Testing array_search() with different needle values ***\n"; diff --git a/ext/standard/tests/array/array_search_variation2.phpt b/ext/standard/tests/array/array_search_variation2.phpt index fa43841984..25ff1d3e9b 100644 --- a/ext/standard/tests/array/array_search_variation2.phpt +++ b/ext/standard/tests/array/array_search_variation2.phpt @@ -2,12 +2,6 @@ Test array_search() function : usage variations - different haystack values --FILE-- <?php -/* - * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise - * Source Code: ext/standard/array.c -*/ - /* Test array_search() with different possible haystack values */ echo "*** Testing array_search() with different haystack values ***\n"; diff --git a/ext/standard/tests/array/array_search_variation3.phpt b/ext/standard/tests/array/array_search_variation3.phpt index bdb2973c9f..36a405175e 100644 --- a/ext/standard/tests/array/array_search_variation3.phpt +++ b/ext/standard/tests/array/array_search_variation3.phpt @@ -2,12 +2,6 @@ Test array_search() function : usage variations - haystack as sub-array/object --FILE-- <?php -/* - * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise - * Source Code: ext/standard/array.c -*/ - /* checking for sub-arrays with array_search() */ echo "*** Testing sub-arrays with array_search() ***\n"; $sub_array = array ( diff --git a/ext/standard/tests/array/array_search_variation4.phpt b/ext/standard/tests/array/array_search_variation4.phpt index 0f5e29ecfc..c3e390a856 100644 --- a/ext/standard/tests/array/array_search_variation4.phpt +++ b/ext/standard/tests/array/array_search_variation4.phpt @@ -2,12 +2,6 @@ Test array_search() function : usage variations - haystack as resource/multi dimensional array --FILE-- <?php -/* - * Prototype : mixed array_search ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise - * Source Code: ext/standard/array.c -*/ - /* checking for Resources */ echo "*** Testing resource type with array_search() ***\n"; //file type resource diff --git a/ext/standard/tests/array/array_shift_basic.phpt b/ext/standard/tests/array/array_shift_basic.phpt index 0f73c65fac..ad0d70ea06 100644 --- a/ext/standard/tests/array/array_shift_basic.phpt +++ b/ext/standard/tests/array/array_shift_basic.phpt @@ -2,11 +2,6 @@ Test array_shift() function : basic functionality --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_shift() */ diff --git a/ext/standard/tests/array/array_shift_variation2.phpt b/ext/standard/tests/array/array_shift_variation2.phpt index fae2e06e0f..55bb3c37fb 100644 --- a/ext/standard/tests/array/array_shift_variation2.phpt +++ b/ext/standard/tests/array/array_shift_variation2.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - Pass arrays of different data types --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Pass arrays where values are of one data type to test behaviour of array_shift() */ diff --git a/ext/standard/tests/array/array_shift_variation3.phpt b/ext/standard/tests/array/array_shift_variation3.phpt index 6bd8370f13..bc06b41d01 100644 --- a/ext/standard/tests/array/array_shift_variation3.phpt +++ b/ext/standard/tests/array/array_shift_variation3.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - Pass array with different data types as keys --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Pass arrays with different data types as keys to test how array_shift() re-assigns keys */ diff --git a/ext/standard/tests/array/array_shift_variation4.phpt b/ext/standard/tests/array/array_shift_variation4.phpt index dc2d2ff700..34c1505513 100644 --- a/ext/standard/tests/array/array_shift_variation4.phpt +++ b/ext/standard/tests/array/array_shift_variation4.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Test popping elements from a sub-array and popping an array from an array */ diff --git a/ext/standard/tests/array/array_shift_variation5.phpt b/ext/standard/tests/array/array_shift_variation5.phpt index faae551cc2..d8f32d6e84 100644 --- a/ext/standard/tests/array/array_shift_variation5.phpt +++ b/ext/standard/tests/array/array_shift_variation5.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - call recursively --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Use the result of one call to array_shift * as the $stack argument of another call to array_shift() diff --git a/ext/standard/tests/array/array_shift_variation6.phpt b/ext/standard/tests/array/array_shift_variation6.phpt index 45466adc42..61cea49c6e 100644 --- a/ext/standard/tests/array/array_shift_variation6.phpt +++ b/ext/standard/tests/array/array_shift_variation6.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - Referenced arrays --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Test how array_shift when passed: * 1. a variable that is referenced to an array diff --git a/ext/standard/tests/array/array_shift_variation7.phpt b/ext/standard/tests/array/array_shift_variation7.phpt index 38f2341d2b..257047be9a 100644 --- a/ext/standard/tests/array/array_shift_variation7.phpt +++ b/ext/standard/tests/array/array_shift_variation7.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - position of internal pointer --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * Test that the internal pointer is reset after calling array_shift() */ diff --git a/ext/standard/tests/array/array_shift_variation8.phpt b/ext/standard/tests/array/array_shift_variation8.phpt index 64114050a7..37b3a1e739 100644 --- a/ext/standard/tests/array/array_shift_variation8.phpt +++ b/ext/standard/tests/array/array_shift_variation8.phpt @@ -2,11 +2,6 @@ Test array_shift() function : usage variations - maintaining referenced elements --FILE-- <?php -/* Prototype : mixed array_shift(array &$stack) - * Description: Pops an element off the beginning of the array - * Source code: ext/standard/array.c - */ - /* * From a comment left by Traps on 09-Jul-2007 on the array_shift documentation page: * For those that may be trying to use array_shift() with an array containing references diff --git a/ext/standard/tests/array/array_shuffle_basic.phpt b/ext/standard/tests/array/array_shuffle_basic.phpt index 397a38c916..65d2f11d67 100644 --- a/ext/standard/tests/array/array_shuffle_basic.phpt +++ b/ext/standard/tests/array/array_shuffle_basic.phpt @@ -3,7 +3,6 @@ array_shuffle(): Test return type and value for expected input --FILE-- <?php /* -* proto bool shuffle ( array &$array ) * Function is implemented in ext/standard/array.c */ $numbers = range(1, 20); diff --git a/ext/standard/tests/array/array_slice_basic.phpt b/ext/standard/tests/array/array_slice_basic.phpt index d4d2bafa7b..b82e4cc43a 100644 --- a/ext/standard/tests/array/array_slice_basic.phpt +++ b/ext/standard/tests/array/array_slice_basic.phpt @@ -2,11 +2,6 @@ Test array_slice() function : basic functionality --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_slice() */ diff --git a/ext/standard/tests/array/array_slice_variation10.phpt b/ext/standard/tests/array/array_slice_variation10.phpt index 4f62a82204..66be016b24 100644 --- a/ext/standard/tests/array/array_slice_variation10.phpt +++ b/ext/standard/tests/array/array_slice_variation10.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - position of internal array pointer --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Check position of internal array pointer after calling array_slice() */ diff --git a/ext/standard/tests/array/array_slice_variation11.phpt b/ext/standard/tests/array/array_slice_variation11.phpt index aaffcd4251..b8fa3c98db 100644 --- a/ext/standard/tests/array/array_slice_variation11.phpt +++ b/ext/standard/tests/array/array_slice_variation11.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - array has holes in buckets --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Check that results of array_slice are correct when there are holes in buckets caused by unset() */ diff --git a/ext/standard/tests/array/array_slice_variation5.phpt b/ext/standard/tests/array/array_slice_variation5.phpt index 06f79c7168..e2340695c5 100644 --- a/ext/standard/tests/array/array_slice_variation5.phpt +++ b/ext/standard/tests/array/array_slice_variation5.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - Pass different integers as $offset argument --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Pass different integers as $offset argument to test how array_slice() behaves */ diff --git a/ext/standard/tests/array/array_slice_variation6.phpt b/ext/standard/tests/array/array_slice_variation6.phpt index b54cd1a16b..f6099e6827 100644 --- a/ext/standard/tests/array/array_slice_variation6.phpt +++ b/ext/standard/tests/array/array_slice_variation6.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - pass different int values as $length arg --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Pass different integer values as $length argument to array_slice() to test behaviour */ diff --git a/ext/standard/tests/array/array_slice_variation7.phpt b/ext/standard/tests/array/array_slice_variation7.phpt index e9c1e10d29..a579f292ef 100644 --- a/ext/standard/tests/array/array_slice_variation7.phpt +++ b/ext/standard/tests/array/array_slice_variation7.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - different data types as keys in an array --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Pass different data types as keys in an array to array_slice() * to test how $preserve_keys treats them diff --git a/ext/standard/tests/array/array_slice_variation8.phpt b/ext/standard/tests/array/array_slice_variation8.phpt index 20fb376567..6e0e8f0069 100644 --- a/ext/standard/tests/array/array_slice_variation8.phpt +++ b/ext/standard/tests/array/array_slice_variation8.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - multidimensional arrays --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Test array_slice when passed * 1. a two-dimensional array as $input argument diff --git a/ext/standard/tests/array/array_slice_variation9.phpt b/ext/standard/tests/array/array_slice_variation9.phpt index ff203ec622..bf4d45cd0c 100644 --- a/ext/standard/tests/array/array_slice_variation9.phpt +++ b/ext/standard/tests/array/array_slice_variation9.phpt @@ -2,11 +2,6 @@ Test array_slice() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) - * Description: Returns elements specified by offset and length - * Source code: ext/standard/array.c - */ - /* * Test array_slice() when: * 1. Passed an array of referenced variables diff --git a/ext/standard/tests/array/array_splice_basic.phpt b/ext/standard/tests/array/array_splice_basic.phpt index cf6fcd1db2..6396ca75f4 100644 --- a/ext/standard/tests/array/array_splice_basic.phpt +++ b/ext/standard/tests/array/array_splice_basic.phpt @@ -3,7 +3,6 @@ Test array_splice(): basic functionality --FILE-- <?php /* - * proto array array_splice(array input, int offset [, int length [, array replacement]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/array_splice_variation1.phpt b/ext/standard/tests/array/array_splice_variation1.phpt index ecd6f67eb0..348a58918b 100644 --- a/ext/standard/tests/array/array_splice_variation1.phpt +++ b/ext/standard/tests/array/array_splice_variation1.phpt @@ -3,7 +3,6 @@ Test array_splice() function : usage variations - references --FILE-- <?php /* - * proto array array_splice(array input, int offset [, int length [, array replacement]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/array_splice_variation3.phpt b/ext/standard/tests/array/array_splice_variation3.phpt index d5f76ac805..bfc667a0c7 100644 --- a/ext/standard/tests/array/array_splice_variation3.phpt +++ b/ext/standard/tests/array/array_splice_variation3.phpt @@ -3,7 +3,6 @@ Test array_splice() function : usage variations - lengths and offsets --FILE-- <?php /* - * proto array array_splice(array input, int offset [, int length [, array replacement]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/array_splice_variation4.phpt b/ext/standard/tests/array/array_splice_variation4.phpt index 06eecdf005..55932bcbd0 100644 --- a/ext/standard/tests/array/array_splice_variation4.phpt +++ b/ext/standard/tests/array/array_splice_variation4.phpt @@ -3,7 +3,6 @@ Test array_splice() function : usage variations - non array replacement values --FILE-- <?php /* - * proto array array_splice(array input, int offset [, int length [, array replacement]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/array_sum_basic.phpt b/ext/standard/tests/array/array_sum_basic.phpt index e7c69202a3..e27520e81b 100644 --- a/ext/standard/tests/array/array_sum_basic.phpt +++ b/ext/standard/tests/array/array_sum_basic.phpt @@ -2,11 +2,6 @@ Test array_sum() function : basic functionality --FILE-- <?php -/* Prototype : mixed array_sum(array &input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_sum() : basic functionality ***\n"; // array with integer values diff --git a/ext/standard/tests/array/array_sum_variation2.phpt b/ext/standard/tests/array/array_sum_variation2.phpt index 71abe03696..cee8a086e4 100644 --- a/ext/standard/tests/array/array_sum_variation2.phpt +++ b/ext/standard/tests/array/array_sum_variation2.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - array with different integer value --FILE-- <?php -/* Prototype : mixed array_sum(array &input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * Testing array_sum() with different types of integer arrays containing data of following type: * integer, octal, hexadecimal, maximum and minimum integer values & mixed of all integers diff --git a/ext/standard/tests/array/array_sum_variation3.phpt b/ext/standard/tests/array/array_sum_variation3.phpt index 15c11fcccf..220fc9c599 100644 --- a/ext/standard/tests/array/array_sum_variation3.phpt +++ b/ext/standard/tests/array/array_sum_variation3.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - array with different float values --FILE-- <?php -/* Prototype : mixed array_sum(array $input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * sum of array containing different float values */ diff --git a/ext/standard/tests/array/array_sum_variation4.phpt b/ext/standard/tests/array/array_sum_variation4.phpt index 1b7043e56a..f4070318cb 100644 --- a/ext/standard/tests/array/array_sum_variation4.phpt +++ b/ext/standard/tests/array/array_sum_variation4.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - array with duplicate values --FILE-- <?php -/* Prototype : mixed array_sum(array $input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * Checking array_sum() with integer and float array containing duplicate values */ diff --git a/ext/standard/tests/array/array_sum_variation5.phpt b/ext/standard/tests/array/array_sum_variation5.phpt index db73114aa0..2771e213f5 100644 --- a/ext/standard/tests/array/array_sum_variation5.phpt +++ b/ext/standard/tests/array/array_sum_variation5.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - array with reference variables as elements --FILE-- <?php -/* Prototype : mixed array_sum(array $input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * Testing array_sum() with 'input' having reference variables as elements */ diff --git a/ext/standard/tests/array/array_sum_variation6.phpt b/ext/standard/tests/array/array_sum_variation6.phpt index c3a20af5ed..bf03b2c6bd 100644 --- a/ext/standard/tests/array/array_sum_variation6.phpt +++ b/ext/standard/tests/array/array_sum_variation6.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - associative array --FILE-- <?php -/* Prototype : mixed array_sum(array $input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * Testing array_sum() with associative array as 'input' argument */ diff --git a/ext/standard/tests/array/array_sum_variation7.phpt b/ext/standard/tests/array/array_sum_variation7.phpt index 7ed8723be0..9e716485f4 100644 --- a/ext/standard/tests/array/array_sum_variation7.phpt +++ b/ext/standard/tests/array/array_sum_variation7.phpt @@ -2,11 +2,6 @@ Test array_sum() function : usage variations - 'input' array with unexpected values as array element --FILE-- <?php -/* Prototype : mixed array_sum(array $input) - * Description: Returns the sum of the array entries - * Source code: ext/standard/array.c -*/ - /* * Testing array_sum() with array having other than numeric entries * strings, bool, null, subarrays & objects diff --git a/ext/standard/tests/array/array_udiff_assoc_basic.phpt b/ext/standard/tests/array/array_udiff_assoc_basic.phpt index 26c4f31761..f6cc90d2fe 100644 --- a/ext/standard/tests/array/array_udiff_assoc_basic.phpt +++ b/ext/standard/tests/array/array_udiff_assoc_basic.phpt @@ -3,7 +3,6 @@ array_udiff_assoc(): Test return type and value for expected input --FILE-- <?php /* -* proto array array_udiff_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_udiff_assoc_variation.phpt b/ext/standard/tests/array/array_udiff_assoc_variation.phpt index b71449b259..83af4bce95 100644 --- a/ext/standard/tests/array/array_udiff_assoc_variation.phpt +++ b/ext/standard/tests/array/array_udiff_assoc_variation.phpt @@ -2,12 +2,6 @@ Test array_udiff_assoc() function : variation --FILE-- <?php -/* Prototype : array array_udiff_assoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_assoc() : variation - testing with multiple array arguments ***\n"; include('compare_function.inc'); diff --git a/ext/standard/tests/array/array_udiff_assoc_variation1.phpt b/ext/standard/tests/array/array_udiff_assoc_variation1.phpt index 20db93065b..10dfc47a38 100644 --- a/ext/standard/tests/array/array_udiff_assoc_variation1.phpt +++ b/ext/standard/tests/array/array_udiff_assoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_udiff_assoc() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff_assoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_assoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_assoc_variation2.phpt b/ext/standard/tests/array/array_udiff_assoc_variation2.phpt index f6b4065b01..d0e3431a99 100644 --- a/ext/standard/tests/array/array_udiff_assoc_variation2.phpt +++ b/ext/standard/tests/array/array_udiff_assoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_udiff_assoc() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff_assoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_assoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_assoc_variation5.phpt b/ext/standard/tests/array/array_udiff_assoc_variation5.phpt index bfed60d30d..ea63891067 100644 --- a/ext/standard/tests/array/array_udiff_assoc_variation5.phpt +++ b/ext/standard/tests/array/array_udiff_assoc_variation5.phpt @@ -2,13 +2,6 @@ Test array_udiff_assoc() function : usage variation - incorrect comparison functions --FILE-- <?php -/* Prototype : array array_udiff_assoc(array arr1, array arr2 [, array ...], callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - - echo "*** Testing array_udiff_assoc() : usage variation - differing comparison functions***\n"; $arr1 = array(1); diff --git a/ext/standard/tests/array/array_udiff_basic.phpt b/ext/standard/tests/array/array_udiff_basic.phpt index f5348852bf..a308c0c73c 100644 --- a/ext/standard/tests/array/array_udiff_basic.phpt +++ b/ext/standard/tests/array/array_udiff_basic.phpt @@ -3,7 +3,6 @@ array_udiff():Test return type and value for expected input --FILE-- <?php /* -* proto array array_udiff ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_udiff_uassoc_basic.phpt b/ext/standard/tests/array/array_udiff_uassoc_basic.phpt index 9f7e179498..4b7dfce268 100644 --- a/ext/standard/tests/array/array_udiff_uassoc_basic.phpt +++ b/ext/standard/tests/array/array_udiff_uassoc_basic.phpt @@ -3,7 +3,6 @@ array_udiff_uassoc(): Test return type and value for expected input --FILE-- <?php /* -* proto array array_udiff_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt b/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt index c2a4e4fd16..a031e0c9e1 100644 --- a/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt +++ b/ext/standard/tests/array/array_udiff_uassoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_udiff_uassoc() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff_uassoc(array arr1, array arr2 [, array ...], callback data_comp_func, callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys and elements are compared by user supplied functions. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt b/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt index c17a016a1d..4a9f1a9239 100644 --- a/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt +++ b/ext/standard/tests/array/array_udiff_uassoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_udiff_uassoc() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff_uassoc(array arr1, array arr2 [, array ...], callback data_comp_func, callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys and elements are compared by user supplied functions. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_uassoc_variation6.phpt b/ext/standard/tests/array/array_udiff_uassoc_variation6.phpt index 2c917014ca..90e3af1533 100644 --- a/ext/standard/tests/array/array_udiff_uassoc_variation6.phpt +++ b/ext/standard/tests/array/array_udiff_uassoc_variation6.phpt @@ -2,12 +2,6 @@ Test array_udiff_uassoc() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff_uassoc(array arr1, array arr2 [, array ...], callback data_comp_func, callback key_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys and elements are compared by user supplied functions. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff_uassoc() : usage variation - differing comparison functions***\n"; $arr1 = array(1); diff --git a/ext/standard/tests/array/array_udiff_variation1.phpt b/ext/standard/tests/array/array_udiff_variation1.phpt index 7d0830a5ad..4927dfd24a 100644 --- a/ext/standard/tests/array/array_udiff_variation1.phpt +++ b/ext/standard/tests/array/array_udiff_variation1.phpt @@ -2,12 +2,6 @@ Test array_udiff() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments. Elements are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_variation2.phpt b/ext/standard/tests/array/array_udiff_variation2.phpt index 17de2540c1..a68c00ee13 100644 --- a/ext/standard/tests/array/array_udiff_variation2.phpt +++ b/ext/standard/tests/array/array_udiff_variation2.phpt @@ -2,12 +2,6 @@ Test array_udiff() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments. Elements are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_udiff_variation5.phpt b/ext/standard/tests/array/array_udiff_variation5.phpt index 24d1207ed4..ee5ad82d67 100644 --- a/ext/standard/tests/array/array_udiff_variation5.phpt +++ b/ext/standard/tests/array/array_udiff_variation5.phpt @@ -2,12 +2,6 @@ Test array_udiff() function : usage variation --FILE-- <?php -/* Prototype : array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func) - * Description: Returns the entries of arr1 that have values which are not present in any of the others arguments. Elements are compared by user supplied function. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_udiff() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_assoc_basic.phpt b/ext/standard/tests/array/array_uintersect_assoc_basic.phpt index a7e313ecf7..f3e00f1ab2 100644 --- a/ext/standard/tests/array/array_uintersect_assoc_basic.phpt +++ b/ext/standard/tests/array/array_uintersect_assoc_basic.phpt @@ -3,7 +3,6 @@ array_uintersect_assoc(): Test return type and value for expected input --FILE-- <?php /* -* proto array array_uintersect_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_uintersect_assoc_basic2.phpt b/ext/standard/tests/array/array_uintersect_assoc_basic2.phpt index c2655cdb5b..bd8163c82d 100644 --- a/ext/standard/tests/array/array_uintersect_assoc_basic2.phpt +++ b/ext/standard/tests/array/array_uintersect_assoc_basic2.phpt @@ -2,12 +2,6 @@ Test array_uintersect_assoc() function : basic functionality - testing with multiple array arguments --FILE-- <?php -/* Prototype : array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: U - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_assoc() : basic functionality - testing with multiple array arguments ***\n"; include('compare_function.inc'); diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt index 0c51526e01..67c599dbfc 100644 --- a/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt +++ b/ext/standard/tests/array/array_uintersect_assoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_uintersect_assoc() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: U - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_assoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt index 01f4959145..6aecd534de 100644 --- a/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt +++ b/ext/standard/tests/array/array_uintersect_assoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_uintersect_assoc() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: U - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_assoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt index 990a711219..75c10527c7 100644 --- a/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt +++ b/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt @@ -2,12 +2,6 @@ Test array_uintersect_assoc() function : usage variation - differing comparison functions --FILE-- <?php -/* Prototype : array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_assoc() : usage variation - differing comparison functions***\n"; $arr1 = array(1); diff --git a/ext/standard/tests/array/array_uintersect_basic.phpt b/ext/standard/tests/array/array_uintersect_basic.phpt index 5334b1da85..6328647d00 100644 --- a/ext/standard/tests/array/array_uintersect_basic.phpt +++ b/ext/standard/tests/array/array_uintersect_basic.phpt @@ -3,7 +3,6 @@ array_uintersect(): Test return type and value for expected input --FILE-- <?php /* -* proto array array_uintersect ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_uintersect_uassoc_basic.phpt b/ext/standard/tests/array/array_uintersect_uassoc_basic.phpt index a9d3f14adf..082416a445 100644 --- a/ext/standard/tests/array/array_uintersect_uassoc_basic.phpt +++ b/ext/standard/tests/array/array_uintersect_uassoc_basic.phpt @@ -3,7 +3,6 @@ array_uintersect_uassoc(): Test return type and value for expected input --FILE-- <?php /* -* proto array array_uintersect_assoc ( array $array1, array $array2 [, array $ ..., callback $data_compare_func] ) * Function is implemented in ext/standard/array.c */ class cr { diff --git a/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt b/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt index d61eccd05a..27deec619d 100644 --- a/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt +++ b/ext/standard/tests/array/array_uintersect_uassoc_variation1.phpt @@ -2,12 +2,6 @@ Test array_uintersect_uassoc() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect_uassoc(array arr1, array arr2 [, array ...], callback data_compare_func, callback key_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Both data and keys are compared by using user-supplied callbacks. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt b/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt index e6af0887da..dcb4e4161f 100644 --- a/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt +++ b/ext/standard/tests/array/array_uintersect_uassoc_variation2.phpt @@ -2,12 +2,6 @@ Test array_uintersect_uassoc() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect_uassoc(array arr1, array arr2 [, array ...], callback data_compare_func, callback key_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Both data and keys are compared by using user-supplied callbacks. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_uassoc() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_uassoc_variation6.phpt b/ext/standard/tests/array/array_uintersect_uassoc_variation6.phpt index 76d387d9c8..7574bc119f 100644 --- a/ext/standard/tests/array/array_uintersect_uassoc_variation6.phpt +++ b/ext/standard/tests/array/array_uintersect_uassoc_variation6.phpt @@ -2,12 +2,6 @@ Test array_uintersect_uassoc() function : usage variation - incorrect callbacks --FILE-- <?php -/* Prototype : array array_uintersect_uassoc(array arr1, array arr2 [, array ...], callback data_compare_func, callback key_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Both data and keys are compared by using user-supplied callbacks. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect_uassoc() : usage variation - incorrect callbacks ***\n"; $arr1 = array(1); diff --git a/ext/standard/tests/array/array_uintersect_variation1.phpt b/ext/standard/tests/array/array_uintersect_variation1.phpt index 78b1f514ae..7b07d09cfb 100644 --- a/ext/standard/tests/array/array_uintersect_variation1.phpt +++ b/ext/standard/tests/array/array_uintersect_variation1.phpt @@ -2,12 +2,6 @@ Test array_uintersect() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_variation2.phpt b/ext/standard/tests/array/array_uintersect_variation2.phpt index d9b9260779..91c41f7cab 100644 --- a/ext/standard/tests/array/array_uintersect_variation2.phpt +++ b/ext/standard/tests/array/array_uintersect_variation2.phpt @@ -2,12 +2,6 @@ Test array_uintersect() function : usage variation --FILE-- <?php -/* Prototype : array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) diff --git a/ext/standard/tests/array/array_uintersect_variation5.phpt b/ext/standard/tests/array/array_uintersect_variation5.phpt index bcfdac094b..d5bcdcf9c3 100644 --- a/ext/standard/tests/array/array_uintersect_variation5.phpt +++ b/ext/standard/tests/array/array_uintersect_variation5.phpt @@ -2,12 +2,6 @@ Test array_uintersect() function : usage variation - differing comparison functions --FILE-- <?php -/* Prototype : array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_func) - * Description: Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback. - * Source code: ext/standard/array.c - * Alias to functions: - */ - echo "*** Testing array_uintersect() : usage variation - differing comparison functions***\n"; $arr1 = array(1); diff --git a/ext/standard/tests/array/array_unique_basic.phpt b/ext/standard/tests/array/array_unique_basic.phpt index e24e393f8d..d76c2e34a4 100644 --- a/ext/standard/tests/array/array_unique_basic.phpt +++ b/ext/standard/tests/array/array_unique_basic.phpt @@ -2,11 +2,6 @@ Test array_unique() function : basic functionality --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_unique() : basic functionality ***\n"; // array with default keys diff --git a/ext/standard/tests/array/array_unique_variation2.phpt b/ext/standard/tests/array/array_unique_variation2.phpt index bbeb9e4fa8..6a9d8e36fd 100644 --- a/ext/standard/tests/array/array_unique_variation2.phpt +++ b/ext/standard/tests/array/array_unique_variation2.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - different arrays for 'input' argument --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Passing different arrays to $input argument and testing whether * array_unique() behaves in an expected way. diff --git a/ext/standard/tests/array/array_unique_variation3.phpt b/ext/standard/tests/array/array_unique_variation3.phpt index 0227449233..fb38929909 100644 --- a/ext/standard/tests/array/array_unique_variation3.phpt +++ b/ext/standard/tests/array/array_unique_variation3.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - associative array with different keys --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing different * associative arrays having different keys to $input argument. diff --git a/ext/standard/tests/array/array_unique_variation4.phpt b/ext/standard/tests/array/array_unique_variation4.phpt index 53e7308336..1912fe26ac 100644 --- a/ext/standard/tests/array/array_unique_variation4.phpt +++ b/ext/standard/tests/array/array_unique_variation4.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - associative array with different values --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing different * associative arrays having different values to $input argument. diff --git a/ext/standard/tests/array/array_unique_variation5.phpt b/ext/standard/tests/array/array_unique_variation5.phpt index bcf6d8a6de..8a2df52672 100644 --- a/ext/standard/tests/array/array_unique_variation5.phpt +++ b/ext/standard/tests/array/array_unique_variation5.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - array with duplicate keys --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing * array having duplicate keys as values. diff --git a/ext/standard/tests/array/array_unique_variation6.phpt b/ext/standard/tests/array/array_unique_variation6.phpt index 334a0d0468..54cd94f582 100644 --- a/ext/standard/tests/array/array_unique_variation6.phpt +++ b/ext/standard/tests/array/array_unique_variation6.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - array with reference variables --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing * array having reference variables as values. diff --git a/ext/standard/tests/array/array_unique_variation7.phpt b/ext/standard/tests/array/array_unique_variation7.phpt index 98712fba3f..e5a7542b3b 100644 --- a/ext/standard/tests/array/array_unique_variation7.phpt +++ b/ext/standard/tests/array/array_unique_variation7.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing an array having binary values. */ diff --git a/ext/standard/tests/array/array_unique_variation8.phpt b/ext/standard/tests/array/array_unique_variation8.phpt index 0ac6f91687..ae9faffc67 100644 --- a/ext/standard/tests/array/array_unique_variation8.phpt +++ b/ext/standard/tests/array/array_unique_variation8.phpt @@ -2,11 +2,6 @@ Test array_unique() function : usage variations - two dimensional arrays --FILE-- <?php -/* Prototype : array array_unique(array $input) - * Description: Removes duplicate values from array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unique() by passing * two dimensional arrays for $input argument. diff --git a/ext/standard/tests/array/array_unshift_basic1.phpt b/ext/standard/tests/array/array_unshift_basic1.phpt index 9c3c1b6226..ef0de5e70e 100644 --- a/ext/standard/tests/array/array_unshift_basic1.phpt +++ b/ext/standard/tests/array/array_unshift_basic1.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : basic functionality - array with default keys for 'array' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing array_unshift() by giving array with default keys for $array argument */ diff --git a/ext/standard/tests/array/array_unshift_basic2.phpt b/ext/standard/tests/array/array_unshift_basic2.phpt index 6c4af71b29..7c19dcda41 100644 --- a/ext/standard/tests/array/array_unshift_basic2.phpt +++ b/ext/standard/tests/array/array_unshift_basic2.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : basic functionality - associative arrays for 'array' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing array_unshift() by giving associative arrays for $array argument */ diff --git a/ext/standard/tests/array/array_unshift_empty.phpt b/ext/standard/tests/array/array_unshift_empty.phpt index fde05c5d75..43bad5b315 100644 --- a/ext/standard/tests/array/array_unshift_empty.phpt +++ b/ext/standard/tests/array/array_unshift_empty.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : prepend array with empty set --FILE-- <?php -/* Prototype : int array_unshift(array $array[, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - $array = [1,2,3]; $values = []; diff --git a/ext/standard/tests/array/array_unshift_object.phpt b/ext/standard/tests/array/array_unshift_object.phpt index 856c4ed85a..1feda5bf96 100644 --- a/ext/standard/tests/array/array_unshift_object.phpt +++ b/ext/standard/tests/array/array_unshift_object.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : passing object for 'var' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing * an object to the $var argument diff --git a/ext/standard/tests/array/array_unshift_variation2.phpt b/ext/standard/tests/array/array_unshift_variation2.phpt index 8339043dd4..cf8cb8e00d 100644 --- a/ext/standard/tests/array/array_unshift_variation2.phpt +++ b/ext/standard/tests/array/array_unshift_variation2.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - all possible values for 'var' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing array_unshift() by giving all the possible values for $var argument */ diff --git a/ext/standard/tests/array/array_unshift_variation3.phpt b/ext/standard/tests/array/array_unshift_variation3.phpt index 0138e0bf70..75e39600e1 100644 --- a/ext/standard/tests/array/array_unshift_variation3.phpt +++ b/ext/standard/tests/array/array_unshift_variation3.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - different array values for 'array' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the behavior of array_unshift() by passing different types of arrays * to $array argument to which the $var arguments will be prepended diff --git a/ext/standard/tests/array/array_unshift_variation4.phpt b/ext/standard/tests/array/array_unshift_variation4.phpt index e468bfcf46..0be7ab18e2 100644 --- a/ext/standard/tests/array/array_unshift_variation4.phpt +++ b/ext/standard/tests/array/array_unshift_variation4.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - assoc. array with diff. keys for 'array' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing different * associative arrays having different possible keys to $array argument. diff --git a/ext/standard/tests/array/array_unshift_variation5.phpt b/ext/standard/tests/array/array_unshift_variation5.phpt index 022a39e5cc..6f642ed53e 100644 --- a/ext/standard/tests/array/array_unshift_variation5.phpt +++ b/ext/standard/tests/array/array_unshift_variation5.phpt @@ -4,11 +4,6 @@ Test array_unshift() function : usage variations - assoc. array with diff values precision=12 --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing different * associative arrays having different possible values to $array argument. diff --git a/ext/standard/tests/array/array_unshift_variation6.phpt b/ext/standard/tests/array/array_unshift_variation6.phpt index a3e2cad516..89f7e22813 100644 --- a/ext/standard/tests/array/array_unshift_variation6.phpt +++ b/ext/standard/tests/array/array_unshift_variation6.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - two dimensional arrays for 'array' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by giving two-dimensional * arrays and also sub-arrays within the two-dimensional array for $array argument. diff --git a/ext/standard/tests/array/array_unshift_variation7.phpt b/ext/standard/tests/array/array_unshift_variation7.phpt index 95b58132d5..f42ac1cfa8 100644 --- a/ext/standard/tests/array/array_unshift_variation7.phpt +++ b/ext/standard/tests/array/array_unshift_variation7.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - double quoted strings for 'var' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing different * double quoted strings for $var argument that is prepended to the array diff --git a/ext/standard/tests/array/array_unshift_variation8.phpt b/ext/standard/tests/array/array_unshift_variation8.phpt index 66955b906d..ff87f370f4 100644 --- a/ext/standard/tests/array/array_unshift_variation8.phpt +++ b/ext/standard/tests/array/array_unshift_variation8.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - single quoted strings for 'var' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing different * single quoted strings for $var argument that is prepended to the array diff --git a/ext/standard/tests/array/array_unshift_variation9.phpt b/ext/standard/tests/array/array_unshift_variation9.phpt index 2141e57e2e..133f8f91fe 100644 --- a/ext/standard/tests/array/array_unshift_variation9.phpt +++ b/ext/standard/tests/array/array_unshift_variation9.phpt @@ -2,11 +2,6 @@ Test array_unshift() function : usage variations - heredoc strings for 'var' argument --FILE-- <?php -/* Prototype : int array_unshift(array $array, mixed $var [, mixed ...]) - * Description: Pushes elements onto the beginning of the array - * Source code: ext/standard/array.c -*/ - /* * Testing the functionality of array_unshift() by passing different * heredoc strings for $var argument that is prepended to the array diff --git a/ext/standard/tests/array/array_values.phpt b/ext/standard/tests/array/array_values.phpt Binary files differindex afa113e73c..32200a67f5 100644 --- a/ext/standard/tests/array/array_values.phpt +++ b/ext/standard/tests/array/array_values.phpt diff --git a/ext/standard/tests/array/array_values_basic.phpt b/ext/standard/tests/array/array_values_basic.phpt index f1c8007be4..f7434ad661 100644 --- a/ext/standard/tests/array/array_values_basic.phpt +++ b/ext/standard/tests/array/array_values_basic.phpt @@ -2,11 +2,6 @@ Test array_values() function : basic functionality --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of array_values() */ diff --git a/ext/standard/tests/array/array_values_variation2.phpt b/ext/standard/tests/array/array_values_variation2.phpt index a334140001..8b30357e6b 100644 --- a/ext/standard/tests/array/array_values_variation2.phpt +++ b/ext/standard/tests/array/array_values_variation2.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - arrays of different data types --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Pass arrays of different data types as $input argument to array_values() to test behaviour */ diff --git a/ext/standard/tests/array/array_values_variation3.phpt b/ext/standard/tests/array/array_values_variation3.phpt index 7b409c3cde..9d5f322404 100644 --- a/ext/standard/tests/array/array_values_variation3.phpt +++ b/ext/standard/tests/array/array_values_variation3.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - array keys different data types --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Pass arrays where the keys are different data types as $input argument * to array_values() to test behaviour diff --git a/ext/standard/tests/array/array_values_variation4.phpt b/ext/standard/tests/array/array_values_variation4.phpt index 4fe8c9a9cc..17e7bdd48b 100644 --- a/ext/standard/tests/array/array_values_variation4.phpt +++ b/ext/standard/tests/array/array_values_variation4.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Test array_values when: * 1. Passed a two-dimensional array as $input argument diff --git a/ext/standard/tests/array/array_values_variation5.phpt b/ext/standard/tests/array/array_values_variation5.phpt index c7a2cb7e50..8dbd7ca3f0 100644 --- a/ext/standard/tests/array/array_values_variation5.phpt +++ b/ext/standard/tests/array/array_values_variation5.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - internal array pointer --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Test the position of the internal array pointer after a call to array_values */ diff --git a/ext/standard/tests/array/array_values_variation6.phpt b/ext/standard/tests/array/array_values_variation6.phpt index 941df4d875..7e0b0872a3 100644 --- a/ext/standard/tests/array/array_values_variation6.phpt +++ b/ext/standard/tests/array/array_values_variation6.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - Referenced variables --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Test array_values() when: * 1. Passed an array made up of referenced variables diff --git a/ext/standard/tests/array/array_values_variation7.phpt b/ext/standard/tests/array/array_values_variation7.phpt index 6ec1f4c92c..b17451ed93 100644 --- a/ext/standard/tests/array/array_values_variation7.phpt +++ b/ext/standard/tests/array/array_values_variation7.phpt @@ -2,11 +2,6 @@ Test array_values() function : usage variations - Internal order check --FILE-- <?php -/* Prototype : array array_values(array $input) - * Description: Return just the values from the input array - * Source code: ext/standard/array.c - */ - /* * Check that array_values is re-assigning keys according to the internal order of the array, * and is not dependent on the \$input argument's keys diff --git a/ext/standard/tests/array/array_walk_basic1.phpt b/ext/standard/tests/array/array_walk_basic1.phpt index bb106b1fba..39ebd9594c 100644 --- a/ext/standard/tests/array/array_walk_basic1.phpt +++ b/ext/standard/tests/array/array_walk_basic1.phpt @@ -2,21 +2,11 @@ Test array_walk() function : basic functionality - regular array --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_walk() : basic functionality ***\n"; // regular array $fruits = array("lemon", "orange", "banana", "apple"); -/* Prototype : test_print(mixed $item, mixed $key) - * Parameters : item - item in key/item pair - * key - key in key/item pair - * Description : prints the array values with keys - */ function test_print($item, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_basic2.phpt b/ext/standard/tests/array/array_walk_basic2.phpt index ee5b4e9925..a26a674296 100644 --- a/ext/standard/tests/array/array_walk_basic2.phpt +++ b/ext/standard/tests/array/array_walk_basic2.phpt @@ -2,23 +2,11 @@ Test array_walk() function : basic functionality - associative array --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_walk() : basic functionality ***\n"; // associative array $fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple"); -// User defined callback functions -/* Prototype : test_alter(mixed $item, mixed $key, string $prefix) - * Parameters : item - value in key/value pair - * key - key in key/value pair - * prefix - string to be added - * Description : alters the array values by appending prefix string - */ function test_alter(&$item, $key, $prefix) { // dump the arguments to check that they are passed @@ -29,11 +17,6 @@ function test_alter(&$item, $key, $prefix) echo "\n"; // new line to separate the output between each element } -/* Prototype : test_print(mixed $item, mixed $key) - * Parameters : item - value in key/value pair - * key - key in key/value pair - * Description : prints the array values with keys - */ function test_print($item, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_error2.phpt b/ext/standard/tests/array/array_walk_error2.phpt index e5aeadcdc0..d3209d87c2 100644 --- a/ext/standard/tests/array/array_walk_error2.phpt +++ b/ext/standard/tests/array/array_walk_error2.phpt @@ -2,11 +2,6 @@ Test array_walk() function : error conditions - callback parameters --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk() by passing more number of parameters to callback function */ diff --git a/ext/standard/tests/array/array_walk_object1.phpt b/ext/standard/tests/array/array_walk_object1.phpt index b352a07086..7c700be118 100644 --- a/ext/standard/tests/array/array_walk_object1.phpt +++ b/ext/standard/tests/array/array_walk_object1.phpt @@ -2,25 +2,12 @@ Test array_walk() function : object functionality --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing object in place of 'input' argument to test object functionality */ echo "*** Testing array_walk() : object functionality ***\n"; -/* - * Prototype : callback(mixed $value, mixed $key, int $addvalue - * Parameters : $value - values in given input array - * $key - keys in given input array - * $addvalue - value to be added - * Description : Function adds the addvalue to each element of an array -*/ - function callback($value, $key, $user_data) { var_dump($key); diff --git a/ext/standard/tests/array/array_walk_object2.phpt b/ext/standard/tests/array/array_walk_object2.phpt index 3994269378..8e523b4e6c 100644 --- a/ext/standard/tests/array/array_walk_object2.phpt +++ b/ext/standard/tests/array/array_walk_object2.phpt @@ -2,24 +2,12 @@ Test array_walk() function : object functionality - array of objects --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk() with an array of objects */ echo "*** Testing array_walk() : array of objects ***\n"; -/* - * Prototype : callback(mixed $value, mixed $key, int $addvalue - * Parameters : $value - values in given input array - * $key - keys in given input array - * $addvalue - value to be added - * Description : Function adds the addvalue to each element of an array -*/ function callback_private($value, $key, $addValue) { echo "value : "; diff --git a/ext/standard/tests/array/array_walk_recursive_basic1.phpt b/ext/standard/tests/array/array_walk_recursive_basic1.phpt index 606861565c..edb0ee356f 100644 --- a/ext/standard/tests/array/array_walk_recursive_basic1.phpt +++ b/ext/standard/tests/array/array_walk_recursive_basic1.phpt @@ -2,21 +2,11 @@ Test array_walk_recursive() function : basic functionality - regular array --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_walk_recursive() : basic functionality ***\n"; // regular array $fruits = array("lemon", array("orange", "banana"), array("apple")); -/* Prototype : test_print(mixed $item, mixed $key) - * Parameters : item - item in key/item pair - * key - key in key/item pair - * Description : prints the array values with keys - */ function test_print($item, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_recursive_basic2.phpt b/ext/standard/tests/array/array_walk_recursive_basic2.phpt index ac5c35440f..380676b72b 100644 --- a/ext/standard/tests/array/array_walk_recursive_basic2.phpt +++ b/ext/standard/tests/array/array_walk_recursive_basic2.phpt @@ -2,23 +2,11 @@ Test array_walk_recursive() function : basic functionality - associative array --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - echo "*** Testing array_walk_recursive() : basic functionality ***\n"; // associative array $fruits = array("a" => "lemon", "b" => array( "c" => "orange", "d" => "banana"), "e" => array("f" => "apple")); -// User defined callback functions -/* Prototype : test_alter(mixed $item, mixed $key, string $prefix) - * Parameters : item - value in key/value pair - * key - key in key/value pair - * prefix - string to be added - * Description : alters the array values by appending prefix string - */ function test_alter(&$item, $key, $prefix) { // dump the arguments to check that they are passed @@ -29,11 +17,6 @@ function test_alter(&$item, $key, $prefix) echo "\n"; // new line to separate the output between each element } -/* Prototype : test_print(mixed $item, mixed $key) - * Parameters : item - value in key/value pair - * key - key in key/value pair - * Description : prints the array values with keys - */ function test_print($item, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_recursive_error2.phpt b/ext/standard/tests/array/array_walk_recursive_error2.phpt index 2509c95f60..ad4fd99ede 100644 --- a/ext/standard/tests/array/array_walk_recursive_error2.phpt +++ b/ext/standard/tests/array/array_walk_recursive_error2.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : error conditions - callback parameters --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk_recursive() by passing more number of parameters to callback function */ diff --git a/ext/standard/tests/array/array_walk_recursive_object1.phpt b/ext/standard/tests/array/array_walk_recursive_object1.phpt index 0bfbeee067..9570bf8a02 100644 --- a/ext/standard/tests/array/array_walk_recursive_object1.phpt +++ b/ext/standard/tests/array/array_walk_recursive_object1.phpt @@ -2,23 +2,10 @@ Test array_walk_recursive() function : object functionality --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* Passing object in place of an 'input' argument to test object functionality */ echo "*** Testing array_walk_recursive() : object functionality ***\n"; -/* - * Prototype : callback(mixed $value, mixed $key, int $addvalue - * Parameters : $value - values in given input array - * $key - keys in given input array - * $addvalue - value to be added - * Description : Function adds the addvalue to each element of an array -*/ - function callback($value, $key, $user_data) { var_dump($key); diff --git a/ext/standard/tests/array/array_walk_recursive_object2.phpt b/ext/standard/tests/array/array_walk_recursive_object2.phpt index b379e663fc..dc24dd8c51 100644 --- a/ext/standard/tests/array/array_walk_recursive_object2.phpt +++ b/ext/standard/tests/array/array_walk_recursive_object2.phpt @@ -2,24 +2,12 @@ Test array_walk_recursive() function : object functionality - array of objects --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk_recursive() with an array of objects */ echo "*** Testing array_walk_recursive() : array of objects ***\n"; -/* - * Prototype : callback(mixed $value, mixed $key, int $addvalue - * Parameters : $value - values in given input array - * $key - keys in given input array - * $addvalue - value to be added - * Description : Function adds the addvalue to each element of an array -*/ function callback_private($value, $key, $addValue) { echo "value : "; diff --git a/ext/standard/tests/array/array_walk_recursive_variation3.phpt b/ext/standard/tests/array/array_walk_recursive_variation3.phpt index a6d623b011..8107096f8d 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation3.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation3.phpt @@ -2,24 +2,11 @@ Test array_walk_recursive() function : usage variations - 'input' array with different values --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk_recursive() with following types of 'input' arrays: * integer, float, string, bool, null, empty & mixed */ -// callback function -/* - * Prototype : print_value(mixed $value, int $key, int $count) - * Parameters : $value - array entries(values) - * $key - keys in given input array - * $count - extra parameter used as an index - * Description : prints the array values with keys and count value - */ function print_value($value, $key, $count) { echo $count." : ".$key." ".$value."\n"; diff --git a/ext/standard/tests/array/array_walk_recursive_variation4.phpt b/ext/standard/tests/array/array_walk_recursive_variation4.phpt index 3540421f2c..c6f2794a21 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation4.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation4.phpt @@ -2,23 +2,12 @@ Test array_walk_recursive() function : usage variations - 'input' array with subarray --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk_recursive() with an array having subarrays as elements */ echo "*** Testing array_walk_recursive() : array with subarray ***\n"; -// callback function -/* Prototype : callback(mixed $value, mixed $key) - * Parameters : $value - values in given 'input' array - * $key - keys in given 'input' array - * Description : It prints the count of an array elements, passed as argument - */ function callback($value, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_recursive_variation5.phpt b/ext/standard/tests/array/array_walk_recursive_variation5.phpt index ce85fe7e4b..cc31c6f29e 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation5.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation5.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : usage variations - 'input' argument containing reference variables --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk_recursive() with an array having reference variables */ @@ -21,12 +16,6 @@ $value4 = 50; // 'input' array containing references to above variables $input = array(&$value1, array(&$value2, -35), array(&$value3, 0), array(&$value4)); -// callback function -/* Prototype : callback(int $value, mixed $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : function checks for the value whether positive or negative and displays according to that - */ function callback($value, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_recursive_variation6.phpt b/ext/standard/tests/array/array_walk_recursive_variation6.phpt index dea712e5b4..dee4813e1a 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation6.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation6.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : usage variations - 'input' argument as diff. associative arrays --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing 'input' argument as an associative array * with Numeric & string keys @@ -14,13 +9,6 @@ Test array_walk_recursive() function : usage variations - 'input' argument as di echo "*** Testing array_walk_recursive() : 'input' as an associative array ***\n"; -// callback functions -/* Prototype : for_numeric( int $value, int $key, int $user_data) - * Parameters : $value - value from key/value pair of the array - * $key - key from key/value pair of the array - * $user_data - data to be added to 'value' - * Description : Function adds values with keys & user_data - */ function for_numeric($value, $key, $user_data) { // dump the input values to see if they are @@ -31,11 +19,6 @@ function for_numeric($value, $key, $user_data) echo "\n"; // new line to separate the output between each element } -/* Prototype : for_string( string $value, string $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : Function appends key to the value - */ function for_string($value, $key) { // dump the input values to see if they are @@ -45,11 +28,6 @@ function for_string($value, $key) echo "\n"; // new line to separate the output between each element } -/* Prototype : for_mixed( mixed $value, mixed $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : Function displays each element of an array with keys - */ function for_mixed($value, $key) { // dump the input values to see if they are diff --git a/ext/standard/tests/array/array_walk_recursive_variation7.phpt b/ext/standard/tests/array/array_walk_recursive_variation7.phpt index a1cbdad2bd..a15106a45d 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation7.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation7.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : usage variations - anonymous callback function --FILE-- <?php -/* Prototype : proto bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing anonymous(run-time) callback function with following variations: * with one parameter diff --git a/ext/standard/tests/array/array_walk_recursive_variation8.phpt b/ext/standard/tests/array/array_walk_recursive_variation8.phpt index 8fc09f562c..f26cf1b1fd 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation8.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation8.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : usage variations - buit-in function as callback --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing different buit-in functionns as callback function * pow function diff --git a/ext/standard/tests/array/array_walk_recursive_variation9.phpt b/ext/standard/tests/array/array_walk_recursive_variation9.phpt index f436ea206f..808e6aad0a 100644 --- a/ext/standard/tests/array/array_walk_recursive_variation9.phpt +++ b/ext/standard/tests/array/array_walk_recursive_variation9.phpt @@ -2,11 +2,6 @@ Test array_walk_recursive() function : usage variations - different callback functions --FILE-- <?php -/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing different types of callback functions to array_walk_recursive() * without parameters diff --git a/ext/standard/tests/array/array_walk_variation3.phpt b/ext/standard/tests/array/array_walk_variation3.phpt index ff466e5280..feb561185f 100644 --- a/ext/standard/tests/array/array_walk_variation3.phpt +++ b/ext/standard/tests/array/array_walk_variation3.phpt @@ -2,24 +2,11 @@ Test array_walk() function : usage variations - 'input' array with different values --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk() with following types of 'input' arrays: * integer, float, string, bool, null, empty & mixed */ -// callback function -/* - * Prototype : print_value(mixed $value, int $key, int $count) - * Parameters : $value - array entries(values) - * $key - keys in given input array - * $count - extra parameter used as an index - * Description : prints the array values with keys and count value - */ function print_value($value, $key, $count) { echo $count." : ".$key." ".$value."\n"; diff --git a/ext/standard/tests/array/array_walk_variation4.phpt b/ext/standard/tests/array/array_walk_variation4.phpt index d141bc20f7..77cd5cb684 100644 --- a/ext/standard/tests/array/array_walk_variation4.phpt +++ b/ext/standard/tests/array/array_walk_variation4.phpt @@ -2,23 +2,12 @@ Test array_walk() function : usage variations - 'input' array with subarray --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk() with an array having subarrays as elements */ echo "*** Testing array_walk() : array with subarray ***\n"; -// callback function -/* Prototype : callback(mixed $value, mixed $key) - * Parameters : $value - values in given 'input' array - * $key - keys in given 'input' array - * Description : It prints the count of an array elements, passed as argument - */ function callback($value, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_variation5.phpt b/ext/standard/tests/array/array_walk_variation5.phpt index e36ab88efc..0bbf3ad140 100644 --- a/ext/standard/tests/array/array_walk_variation5.phpt +++ b/ext/standard/tests/array/array_walk_variation5.phpt @@ -2,11 +2,6 @@ Test array_walk() function : usage variations - 'input' argument containing reference variables --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Testing array_walk() with an array having reference variables */ @@ -21,12 +16,6 @@ $value4 = 50; // 'input' array containing references to above variables $input = array(&$value1, &$value2, -35, &$value3, 0, &$value4); -// callback function -/* Prototype : callback(int $value, mixed $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : function checks for the value whether positive or negative and displays according to that - */ function callback($value, $key) { // dump the arguments to check that they are passed diff --git a/ext/standard/tests/array/array_walk_variation6.phpt b/ext/standard/tests/array/array_walk_variation6.phpt index 8fe16362aa..234727fb00 100644 --- a/ext/standard/tests/array/array_walk_variation6.phpt +++ b/ext/standard/tests/array/array_walk_variation6.phpt @@ -2,11 +2,6 @@ Test array_walk() function : usage variations - 'input' argument as diff. associative arrays --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing 'input' argument as an associative array * with Numeric & string keys @@ -14,13 +9,6 @@ Test array_walk() function : usage variations - 'input' argument as diff. associ echo "*** Testing array_walk() : 'input' as an associative array ***\n"; -// callback functions -/* Prototype : for_numeric( int $value, int $key, int $user_data) - * Parameters : $value - value from key/value pair of the array - * $key - key from key/value pair of the array - * $user_data - data to be added to 'value' - * Description : Function adds values with keys & user_data - */ function for_numeric($value, $key, $user_data) { // dump the input values to see if they are @@ -31,11 +19,6 @@ function for_numeric($value, $key, $user_data) echo "\n"; // new line to separate the output between each element } -/* Prototype : for_string( string $value, string $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : Function appends key to the value - */ function for_string($value, $key) { // dump the input values to see if they are @@ -45,11 +28,6 @@ function for_string($value, $key) echo "\n"; // new line to separate the output between each element } -/* Prototype : for_mixed( mixed $value, mixed $key) - * Parameters : $value - values in given input array - * $key - keys in given input array - * Description : Function displays each element of an array with keys - */ function for_mixed($value, $key) { // dump the input values to see if they are diff --git a/ext/standard/tests/array/array_walk_variation7.phpt b/ext/standard/tests/array/array_walk_variation7.phpt index 3689f8a798..acb2f3c500 100644 --- a/ext/standard/tests/array/array_walk_variation7.phpt +++ b/ext/standard/tests/array/array_walk_variation7.phpt @@ -2,11 +2,6 @@ Test array_walk() function : usage variations - anonymous callback function --FILE-- <?php -/* Prototype : proto bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing anonymous(run-time) callback function with following variations: * with one parameter diff --git a/ext/standard/tests/array/array_walk_variation8.phpt b/ext/standard/tests/array/array_walk_variation8.phpt index 0a311dd613..d855429c28 100644 --- a/ext/standard/tests/array/array_walk_variation8.phpt +++ b/ext/standard/tests/array/array_walk_variation8.phpt @@ -2,11 +2,6 @@ Test array_walk() function : usage variations - buit-in function as callback --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing different buit-in functionns as callback function * pow function diff --git a/ext/standard/tests/array/array_walk_variation9.phpt b/ext/standard/tests/array/array_walk_variation9.phpt index e1bee47998..1b995d72f2 100644 --- a/ext/standard/tests/array/array_walk_variation9.phpt +++ b/ext/standard/tests/array/array_walk_variation9.phpt @@ -2,11 +2,6 @@ Test array_walk() function : usage variations - different callback functions --FILE-- <?php -/* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata]) - * Description: Apply a user function to every member of an array - * Source code: ext/standard/array.c -*/ - /* * Passing different types of callback functions to array_walk() * without parameters diff --git a/ext/standard/tests/array/arsort_basic.phpt b/ext/standard/tests/array/arsort_basic.phpt index 7ed285aac7..c636a62784 100644 --- a/ext/standard/tests/array/arsort_basic.phpt +++ b/ext/standard/tests/array/arsort_basic.phpt @@ -2,12 +2,6 @@ Test arsort() function : basic functionality --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing arsort() by providing integer/string arrays to check the basic functionality * with following flag values. diff --git a/ext/standard/tests/array/arsort_object1.phpt b/ext/standard/tests/array/arsort_object1.phpt index 7971a1e7e0..468b4f2916 100644 --- a/ext/standard/tests/array/arsort_object1.phpt +++ b/ext/standard/tests/array/arsort_object1.phpt @@ -2,12 +2,6 @@ Test arsort() function : object functionality - sort objects --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing integer/string object arrays with following flag values * 1. Default flag value diff --git a/ext/standard/tests/array/arsort_object2.phpt b/ext/standard/tests/array/arsort_object2.phpt index 901b599c6a..e9252c7351 100644 --- a/ext/standard/tests/array/arsort_object2.phpt +++ b/ext/standard/tests/array/arsort_object2.phpt @@ -2,12 +2,6 @@ Test arsort() function : object functionality - sorting objects with diff. accessibility of member vars --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing integer/string object arrays with following flag values * 1. Default flag value diff --git a/ext/standard/tests/array/arsort_variation10.phpt b/ext/standard/tests/array/arsort_variation10.phpt index 058b331010..30127b84e0 100644 --- a/ext/standard/tests/array/arsort_variation10.phpt +++ b/ext/standard/tests/array/arsort_variation10.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort octal values --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing different octal array for $array argument with following flag values * 1.flag value as default diff --git a/ext/standard/tests/array/arsort_variation11.phpt b/ext/standard/tests/array/arsort_variation11.phpt Binary files differindex aa6f33ae6b..cbdcfc41ba 100644 --- a/ext/standard/tests/array/arsort_variation11.phpt +++ b/ext/standard/tests/array/arsort_variation11.phpt diff --git a/ext/standard/tests/array/arsort_variation3.phpt b/ext/standard/tests/array/arsort_variation3.phpt index 9981f7a984..e54d9c3b03 100644 --- a/ext/standard/tests/array/arsort_variation3.phpt +++ b/ext/standard/tests/array/arsort_variation3.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort integer/float values --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing arsort() by providing different integer/float value arrays for $array argument with following values * 1. flag value as default diff --git a/ext/standard/tests/array/arsort_variation4.phpt b/ext/standard/tests/array/arsort_variation4.phpt index 3852989bb5..76da7550a6 100644 --- a/ext/standard/tests/array/arsort_variation4.phpt +++ b/ext/standard/tests/array/arsort_variation4.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort reference variables --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing arsort() by providing reference variable array with following flag values * flag value as default diff --git a/ext/standard/tests/array/arsort_variation5.phpt b/ext/standard/tests/array/arsort_variation5.phpt index 42062e937d..eb3f2f9567 100644 --- a/ext/standard/tests/array/arsort_variation5.phpt +++ b/ext/standard/tests/array/arsort_variation5.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort strings --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing different string arrays for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/arsort_variation6.phpt b/ext/standard/tests/array/arsort_variation6.phpt index 10825d1f08..1cf1bb5ff1 100644 --- a/ext/standard/tests/array/arsort_variation6.phpt +++ b/ext/standard/tests/array/arsort_variation6.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort hexadecimal values --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing different hexa-decimal array for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/arsort_variation7.phpt b/ext/standard/tests/array/arsort_variation7.phpt index 929b441d15..ecd2afc482 100644 --- a/ext/standard/tests/array/arsort_variation7.phpt +++ b/ext/standard/tests/array/arsort_variation7.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort bool values --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: This function arsorts an array. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing bool value array for $array argument with following flag values. * flag value as default diff --git a/ext/standard/tests/array/arsort_variation8.phpt b/ext/standard/tests/array/arsort_variation8.phpt index cddcb3c335..267f8ddc2e 100644 --- a/ext/standard/tests/array/arsort_variation8.phpt +++ b/ext/standard/tests/array/arsort_variation8.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing arsort() by providing arrays contains sub arrays for $array argument with flowing flag values * flag value as default diff --git a/ext/standard/tests/array/arsort_variation9.phpt b/ext/standard/tests/array/arsort_variation9.phpt index 07c7f1be51..b52ff7bca6 100644 --- a/ext/standard/tests/array/arsort_variation9.phpt +++ b/ext/standard/tests/array/arsort_variation9.phpt @@ -2,12 +2,6 @@ Test arsort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool arsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from highest to lowest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing arsort() by providing arrays with key values for $array argument with following flag values. * 1.flag value as default diff --git a/ext/standard/tests/array/asort_basic.phpt b/ext/standard/tests/array/asort_basic.phpt index 8b4a7c2081..13f03a92ef 100644 --- a/ext/standard/tests/array/asort_basic.phpt +++ b/ext/standard/tests/array/asort_basic.phpt @@ -2,12 +2,6 @@ Test asort() function : basic functionality --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing asort() by providing integer/string arrays to check the basic functionality * with following flag values. diff --git a/ext/standard/tests/array/asort_object1.phpt b/ext/standard/tests/array/asort_object1.phpt index e2fa42993e..080e3f9203 100644 --- a/ext/standard/tests/array/asort_object1.phpt +++ b/ext/standard/tests/array/asort_object1.phpt @@ -2,12 +2,6 @@ Test asort() function : object functionality - sort objects --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing integer/string object arrays with following flag values * 1. Default flag value diff --git a/ext/standard/tests/array/asort_object2.phpt b/ext/standard/tests/array/asort_object2.phpt index 1de4f35fae..b98b27040b 100644 --- a/ext/standard/tests/array/asort_object2.phpt +++ b/ext/standard/tests/array/asort_object2.phpt @@ -2,12 +2,6 @@ Test asort() function : object functionality - sorting objects with diff. accessibility of member vars --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing integer/string object arrays with following flag values * 1. Default flag value diff --git a/ext/standard/tests/array/asort_variation10.phpt b/ext/standard/tests/array/asort_variation10.phpt index 0ead69d27e..5c8d9041e7 100644 --- a/ext/standard/tests/array/asort_variation10.phpt +++ b/ext/standard/tests/array/asort_variation10.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort octal values --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing different octal array for $array argument with following flag values * 1.flag value as default diff --git a/ext/standard/tests/array/asort_variation11.phpt b/ext/standard/tests/array/asort_variation11.phpt Binary files differindex c32c96cbf6..492491b03d 100644 --- a/ext/standard/tests/array/asort_variation11.phpt +++ b/ext/standard/tests/array/asort_variation11.phpt diff --git a/ext/standard/tests/array/asort_variation3.phpt b/ext/standard/tests/array/asort_variation3.phpt index a1435ecd9c..7736c72752 100644 --- a/ext/standard/tests/array/asort_variation3.phpt +++ b/ext/standard/tests/array/asort_variation3.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort integer/float values --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing asort() by providing different integer/float value arrays for $array argument with following values * 1. flag value as default diff --git a/ext/standard/tests/array/asort_variation4.phpt b/ext/standard/tests/array/asort_variation4.phpt index 09933dba15..30d980b323 100644 --- a/ext/standard/tests/array/asort_variation4.phpt +++ b/ext/standard/tests/array/asort_variation4.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort reference variables --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing asort() by providing reference variable array with following flag values * flag value as default diff --git a/ext/standard/tests/array/asort_variation5.phpt b/ext/standard/tests/array/asort_variation5.phpt index 7ae231b361..f39c4829b1 100644 --- a/ext/standard/tests/array/asort_variation5.phpt +++ b/ext/standard/tests/array/asort_variation5.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort strings --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing different string arrays for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/asort_variation6.phpt b/ext/standard/tests/array/asort_variation6.phpt index aa5b4edd3d..7782f95d6f 100644 --- a/ext/standard/tests/array/asort_variation6.phpt +++ b/ext/standard/tests/array/asort_variation6.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort hexadecimal values --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $asort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing different hexa-decimal array for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/asort_variation7.phpt b/ext/standard/tests/array/asort_variation7.phpt index 97718ed43e..64363d25bc 100644 --- a/ext/standard/tests/array/asort_variation7.phpt +++ b/ext/standard/tests/array/asort_variation7.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort bool values --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: This function asorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing bool value array for $array argument with following flag values. * flag value as default diff --git a/ext/standard/tests/array/asort_variation8.phpt b/ext/standard/tests/array/asort_variation8.phpt index ec02224617..038c92df5c 100644 --- a/ext/standard/tests/array/asort_variation8.phpt +++ b/ext/standard/tests/array/asort_variation8.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing asort() by providing arrays contains sub arrays for $array argument with flowing flag values * flag value as default diff --git a/ext/standard/tests/array/asort_variation9.phpt b/ext/standard/tests/array/asort_variation9.phpt index f371a07daf..cf68d66054 100644 --- a/ext/standard/tests/array/asort_variation9.phpt +++ b/ext/standard/tests/array/asort_variation9.phpt @@ -2,12 +2,6 @@ Test asort() function : usage variations - sorting arrays with/without keys, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool asort ( array &$array [, int $sort_flags] ) - * Description: Sort an array and maintain index association. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing asort() by providing arrays with key values for $array argument with following flag values. * 1.flag value as default diff --git a/ext/standard/tests/array/compact_basic.phpt b/ext/standard/tests/array/compact_basic.phpt index adeae03a7b..5187cb77eb 100644 --- a/ext/standard/tests/array/compact_basic.phpt +++ b/ext/standard/tests/array/compact_basic.phpt @@ -2,12 +2,6 @@ Test compact() function : basic functionality --FILE-- <?php -/* Prototype : proto array compact(mixed var_names [, mixed ...]) - * Description: Creates a hash containing variables and their values - * Source code: ext/standard/array.c - * Alias to functions: - */ - /* * Test basic functionality */ diff --git a/ext/standard/tests/array/compact_variation1.phpt b/ext/standard/tests/array/compact_variation1.phpt index ede36efd7e..afc290ed62 100644 --- a/ext/standard/tests/array/compact_variation1.phpt +++ b/ext/standard/tests/array/compact_variation1.phpt @@ -2,11 +2,6 @@ Test compact() function : usage variations - arrays containing references. --FILE-- <?php -/* Prototype : proto array compact(mixed var_names [, mixed ...]) -* Description: Creates a hash containing variables and their values -* Source code: ext/standard/array.c -* Alias to functions: -*/ /* * compact variations - arrays with references */ diff --git a/ext/standard/tests/array/compact_variation2.phpt b/ext/standard/tests/array/compact_variation2.phpt index 7ee9c7d0d2..a540dd662c 100644 --- a/ext/standard/tests/array/compact_variation2.phpt +++ b/ext/standard/tests/array/compact_variation2.phpt @@ -2,11 +2,6 @@ Test compact() function: ensure compact() doesn't pick up variables declared outside of current scope. --FILE-- <?php -/* Prototype : proto array compact(mixed var_names [, mixed ...]) -* Description: Creates a hash containing variables and their values -* Source code: ext/standard/array.c -* Alias to functions: -*/ echo "*** Testing compact() : usage variations - variables outside of current scope ***\n"; $a = 'main.a'; diff --git a/ext/standard/tests/array/count_basic.phpt b/ext/standard/tests/array/count_basic.phpt index 3b22c582db..6d778b4bee 100644 --- a/ext/standard/tests/array/count_basic.phpt +++ b/ext/standard/tests/array/count_basic.phpt @@ -2,11 +2,6 @@ Test count() function : basic functionality --FILE-- <?php -/* Prototype : int count(mixed $var [, int $mode]) - * Description: Count the number of elements in a variable (usually an array) - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of count() using an array as $var argument * and different values as $mode argument. diff --git a/ext/standard/tests/array/count_recursive.phpt b/ext/standard/tests/array/count_recursive.phpt index a7d4afb53b..bae0fc9423 100644 --- a/ext/standard/tests/array/count_recursive.phpt +++ b/ext/standard/tests/array/count_recursive.phpt @@ -2,10 +2,6 @@ Test count() function --FILE-- <?php -/* Prototype: int count ( mixed $var [, int $mode] ); - Description: Count elements in an array, or properties in an object -*/ - echo "*** Testing basic functionality of count() function ***\n"; print "-- Testing NULL --\n"; $arr = NULL; diff --git a/ext/standard/tests/array/count_variation3.phpt b/ext/standard/tests/array/count_variation3.phpt index 3455585eab..6b02ef17b3 100644 --- a/ext/standard/tests/array/count_variation3.phpt +++ b/ext/standard/tests/array/count_variation3.phpt @@ -2,11 +2,6 @@ Test count() function : usage variations - Infinitely recursive array --FILE-- <?php -/* Prototype : int count(mixed $var [, int $mode]) - * Description: Count the number of elements in a variable (usually an array) - * Source code: ext/standard/array.c - */ - /* * Pass count() an infinitely recursive array as $var argument * This will stop the script before it reaches the end. diff --git a/ext/standard/tests/array/current_basic.phpt b/ext/standard/tests/array/current_basic.phpt index fc28b7c342..48d4e5a016 100644 --- a/ext/standard/tests/array/current_basic.phpt +++ b/ext/standard/tests/array/current_basic.phpt @@ -2,11 +2,6 @@ Test current() function : basic functionality --FILE-- <?php -/* Prototype : mixed current(array $array_arg) - * Description: Return the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of current() */ diff --git a/ext/standard/tests/array/current_variation2.phpt b/ext/standard/tests/array/current_variation2.phpt index 8a6b56d99a..2d9c1803cd 100644 --- a/ext/standard/tests/array/current_variation2.phpt +++ b/ext/standard/tests/array/current_variation2.phpt @@ -2,12 +2,6 @@ Test current() function : usage variations - arrays containing different data types --FILE-- <?php -/* Prototype : mixed current(array $array_arg) - * Description: Return the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - * Alias to functions: pos - */ - /* * Pass arrays of different data types as $array_arg to current() to test behaviour */ diff --git a/ext/standard/tests/array/current_variation3.phpt b/ext/standard/tests/array/current_variation3.phpt index b0684cd7b7..cba2fa2a30 100644 --- a/ext/standard/tests/array/current_variation3.phpt +++ b/ext/standard/tests/array/current_variation3.phpt @@ -2,12 +2,6 @@ Test current() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : mixed current(array $array_arg) - * Description: Return the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - * Alias to functions: pos - */ - /* * Test how the internal pointer is affected when two variables are referenced to each other */ diff --git a/ext/standard/tests/array/current_variation4.phpt b/ext/standard/tests/array/current_variation4.phpt index a8471e9d7f..8f24296fa5 100644 --- a/ext/standard/tests/array/current_variation4.phpt +++ b/ext/standard/tests/array/current_variation4.phpt @@ -2,12 +2,6 @@ Test current() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : mixed current(array $array_arg) - * Description: Return the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - * Alias to functions: pos - */ - /* * Test how current() behaves with muti-dimensional and recursive arrays */ diff --git a/ext/standard/tests/array/current_variation5.phpt b/ext/standard/tests/array/current_variation5.phpt index 7458de07f7..4270618db3 100644 --- a/ext/standard/tests/array/current_variation5.phpt +++ b/ext/standard/tests/array/current_variation5.phpt @@ -2,12 +2,6 @@ Test current() function : usage variations - reference & normal parameters --FILE-- <?php -/* Prototype : mixed current(array $array_arg) - * Description: Return the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - * Alias to functions: pos - */ - echo "*** Testing current() : usage variations ***\n"; echo "\n-- Function: reference parameter --\n"; diff --git a/ext/standard/tests/array/end.phpt b/ext/standard/tests/array/end.phpt index a7474a7e73..da2303ed4a 100644 --- a/ext/standard/tests/array/end.phpt +++ b/ext/standard/tests/array/end.phpt @@ -8,10 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: mixed end ( array &$array ); - Description: Advances internal pointer of array to last element, and returns its value. -*/ - $arrays = array ( array( 0 ), range(1, 100 ), diff --git a/ext/standard/tests/array/end_64bit.phpt b/ext/standard/tests/array/end_64bit.phpt index 26c74120a8..d4bc3c143e 100644 --- a/ext/standard/tests/array/end_64bit.phpt +++ b/ext/standard/tests/array/end_64bit.phpt @@ -8,10 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); precision=14 --FILE-- <?php -/* Prototype: mixed end ( array &$array ); - Description: Advances internal pointer of array to last element, and returns its value. -*/ - $arrays = array ( array( 0 ), range(1, 100 ), diff --git a/ext/standard/tests/array/end_basic.phpt b/ext/standard/tests/array/end_basic.phpt index b337ece75c..04c49e1cd2 100644 --- a/ext/standard/tests/array/end_basic.phpt +++ b/ext/standard/tests/array/end_basic.phpt @@ -2,11 +2,6 @@ Test end() function : basic functionality --FILE-- <?php -/* Prototype : mixed end(array $array_arg) - * Description: Advances array argument's internal pointer to the last element and return it - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of end() */ diff --git a/ext/standard/tests/array/end_variation2.phpt b/ext/standard/tests/array/end_variation2.phpt index 354e3d5369..3bf399a4f2 100644 --- a/ext/standard/tests/array/end_variation2.phpt +++ b/ext/standard/tests/array/end_variation2.phpt @@ -2,11 +2,6 @@ Test end() function : usage variations - Multi-dimensional arrays --FILE-- <?php -/* Prototype : mixed end(array $array_arg) - * Description: Advances array argument's internal pointer to the last element and return it - * Source code: ext/standard/array.c - */ - /* * Test end() when passed: * 1. a two-dimensional array diff --git a/ext/standard/tests/array/end_variation3.phpt b/ext/standard/tests/array/end_variation3.phpt index 8e9284b816..8d2b78ab47 100644 --- a/ext/standard/tests/array/end_variation3.phpt +++ b/ext/standard/tests/array/end_variation3.phpt @@ -2,11 +2,6 @@ Test end() function : usage variations - Referenced variables --FILE-- <?php -/* Prototype : mixed end(array $array_arg) - * Description: Advances array argument's internal pointer to the last element and return it - * Source code: ext/standard/array.c - */ - /* * Test how the internal pointer is affected when two variables are referenced to each other */ diff --git a/ext/standard/tests/array/in_array_variation1.phpt b/ext/standard/tests/array/in_array_variation1.phpt index bddffa6058..c80ea13496 100644 --- a/ext/standard/tests/array/in_array_variation1.phpt +++ b/ext/standard/tests/array/in_array_variation1.phpt @@ -2,13 +2,6 @@ Test in_array() function : usage variations - different needdle values --FILE-- <?php -/* - * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns TRUE - * if it is found in the array, FALSE otherwise. - * Source Code: ext/standard/array.c -*/ - /* Test in_array() with different possible needle values */ echo "*** Testing in_array() with different needle values ***\n"; diff --git a/ext/standard/tests/array/in_array_variation2.phpt b/ext/standard/tests/array/in_array_variation2.phpt index 0815e3ee94..af4191577a 100644 --- a/ext/standard/tests/array/in_array_variation2.phpt +++ b/ext/standard/tests/array/in_array_variation2.phpt @@ -2,13 +2,6 @@ Test in_array() function : usage variations - different haystack values --FILE-- <?php -/* - * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns TRUE - * if it is found in the array, FALSE otherwise. - * Source Code: ext/standard/array.c -*/ - /* Test in_array() with different possible haystack values */ echo "*** Testing in_array() with different haystack values ***\n"; diff --git a/ext/standard/tests/array/in_array_variation3.phpt b/ext/standard/tests/array/in_array_variation3.phpt index e495b11b71..95617e945f 100644 --- a/ext/standard/tests/array/in_array_variation3.phpt +++ b/ext/standard/tests/array/in_array_variation3.phpt @@ -2,13 +2,6 @@ Test in_array() function : usage variations - haystack as sub-array/object --FILE-- <?php -/* - * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns TRUE - * if it is found in the array, FALSE otherwise. - * Source Code: ext/standard/array.c -*/ - /* Test in_array() with haystack as sub-array and object */ /* checking for sub-arrays with in_array() */ diff --git a/ext/standard/tests/array/in_array_variation4.phpt b/ext/standard/tests/array/in_array_variation4.phpt index 4cfc405922..8a587f847f 100644 --- a/ext/standard/tests/array/in_array_variation4.phpt +++ b/ext/standard/tests/array/in_array_variation4.phpt @@ -2,13 +2,6 @@ Test in_array() function : usage variations - haystack as resource/multi dimensional array --FILE-- <?php -/* - * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] ) - * Description: Searches haystack for needle and returns TRUE - * if it is found in the array, FALSE otherwise. - * Source Code: ext/standard/array.c -*/ - /* Test in_array() with haystack as resource and multidimensional arrays */ /* checking for Resources */ diff --git a/ext/standard/tests/array/key_basic.phpt b/ext/standard/tests/array/key_basic.phpt index 6e0d2f9d50..f6b9300bce 100644 --- a/ext/standard/tests/array/key_basic.phpt +++ b/ext/standard/tests/array/key_basic.phpt @@ -2,11 +2,6 @@ Test key() function : basic functionality --FILE-- <?php -/* Prototype : mixed key(array $array_arg) - * Description: Return the key of the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of key() */ diff --git a/ext/standard/tests/array/key_variation2.phpt b/ext/standard/tests/array/key_variation2.phpt index 3a6022e08a..1107999c10 100644 --- a/ext/standard/tests/array/key_variation2.phpt +++ b/ext/standard/tests/array/key_variation2.phpt @@ -2,11 +2,6 @@ Test key() function : usage variations --FILE-- <?php -/* Prototype : mixed key(array $array_arg) - * Description: Return the key of the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - */ - /* * Pass arrays where keys are different data types as $array_arg to key() to test behaviour */ diff --git a/ext/standard/tests/array/key_variation3.phpt b/ext/standard/tests/array/key_variation3.phpt index 9ad9ff8a7d..dfebd4bdd6 100644 --- a/ext/standard/tests/array/key_variation3.phpt +++ b/ext/standard/tests/array/key_variation3.phpt @@ -2,11 +2,6 @@ Test key() function : usage variations --FILE-- <?php -/* Prototype : mixed key(array $array_arg) - * Description: Return the key of the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - */ - /* * Test how the internal pointer is affected when two variables are referenced to each other */ diff --git a/ext/standard/tests/array/key_variation4.phpt b/ext/standard/tests/array/key_variation4.phpt index b89ca829b4..a71e6732f9 100644 --- a/ext/standard/tests/array/key_variation4.phpt +++ b/ext/standard/tests/array/key_variation4.phpt @@ -2,11 +2,6 @@ Test key() function : usage variations --FILE-- <?php -/* Prototype : mixed key(array $array_arg) - * Description: Return the key of the element currently pointed to by the internal array pointer - * Source code: ext/standard/array.c - */ - /* * Test how key() behaves with muti-dimensional and recursive arrays */ diff --git a/ext/standard/tests/array/krsort_basic.phpt b/ext/standard/tests/array/krsort_basic.phpt index 393b7f06e4..6137e1b243 100644 --- a/ext/standard/tests/array/krsort_basic.phpt +++ b/ext/standard/tests/array/krsort_basic.phpt @@ -2,11 +2,6 @@ Test krsort() function : basic functionality --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * Testing krsort() by providing array of integer/string values to check the basic functionality * with following flag values : diff --git a/ext/standard/tests/array/krsort_object.phpt b/ext/standard/tests/array/krsort_object.phpt index 482dacc50a..1ecab77b08 100644 --- a/ext/standard/tests/array/krsort_object.phpt +++ b/ext/standard/tests/array/krsort_object.phpt @@ -2,10 +2,6 @@ Test krsort() function : object functionality - sort objects --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ /* * testing krsort() by providing array of integer/string objects with following flag values: * 1.Default flag value diff --git a/ext/standard/tests/array/krsort_variation10.phpt b/ext/standard/tests/array/krsort_variation10.phpt index aa614a5b50..104ed0326b 100644 --- a/ext/standard/tests/array/krsort_variation10.phpt +++ b/ext/standard/tests/array/krsort_variation10.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort heredoc strings --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing array of heredoc strings for $array argument with * following flag values: diff --git a/ext/standard/tests/array/krsort_variation11.phpt b/ext/standard/tests/array/krsort_variation11.phpt index 271559c3e5..9c56e515b9 100644 --- a/ext/standard/tests/array/krsort_variation11.phpt +++ b/ext/standard/tests/array/krsort_variation11.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort bool values --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing array of boolean values for $array argument with following flag values: * 1.flag value as default diff --git a/ext/standard/tests/array/krsort_variation3.phpt b/ext/standard/tests/array/krsort_variation3.phpt index c94dc4981e..ffc6cc356e 100644 --- a/ext/standard/tests/array/krsort_variation3.phpt +++ b/ext/standard/tests/array/krsort_variation3.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort integer/float values --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * Testing krsort() by providing array of integer/float/mixed values for $array argument * with following flag values: diff --git a/ext/standard/tests/array/krsort_variation4.phpt b/ext/standard/tests/array/krsort_variation4.phpt index f17be973e4..1f28d02131 100644 --- a/ext/standard/tests/array/krsort_variation4.phpt +++ b/ext/standard/tests/array/krsort_variation4.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort octal values --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing array of octal values for $array argument * with following flag values: diff --git a/ext/standard/tests/array/krsort_variation5.phpt b/ext/standard/tests/array/krsort_variation5.phpt index e8f5404f9f..7475805f8d 100644 --- a/ext/standard/tests/array/krsort_variation5.phpt +++ b/ext/standard/tests/array/krsort_variation5.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort strings --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing array of string values for $array argument with * following flag values: diff --git a/ext/standard/tests/array/krsort_variation6.phpt b/ext/standard/tests/array/krsort_variation6.phpt index 8807653cef..c737cb4b3c 100644 --- a/ext/standard/tests/array/krsort_variation6.phpt +++ b/ext/standard/tests/array/krsort_variation6.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort hexadecimal values --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing array of hexa-decimal values for $array argument * with following flag values: diff --git a/ext/standard/tests/array/krsort_variation7.phpt b/ext/standard/tests/array/krsort_variation7.phpt index 0315e9d10f..9d25d93a73 100644 --- a/ext/standard/tests/array/krsort_variation7.phpt +++ b/ext/standard/tests/array/krsort_variation7.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort array with diff. sub arrays --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing krsort() by providing arrays contains sub arrays for $array argument * with flowing flag values diff --git a/ext/standard/tests/array/krsort_variation8.phpt b/ext/standard/tests/array/krsort_variation8.phpt Binary files differindex 7f9aa17bf3..1483e6fd1b 100644 --- a/ext/standard/tests/array/krsort_variation8.phpt +++ b/ext/standard/tests/array/krsort_variation8.phpt diff --git a/ext/standard/tests/array/krsort_variation9.phpt b/ext/standard/tests/array/krsort_variation9.phpt index d961ff1837..4364911b62 100644 --- a/ext/standard/tests/array/krsort_variation9.phpt +++ b/ext/standard/tests/array/krsort_variation9.phpt @@ -2,11 +2,6 @@ Test krsort() function : usage variations - sort array with/without key values --FILE-- <?php -/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key in reverse order, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * Testing krsort() by providing arrays with/without key values for $array argument * with following flag values: diff --git a/ext/standard/tests/array/ksort_basic.phpt b/ext/standard/tests/array/ksort_basic.phpt index 1a62f3ac2c..2e515a0c7d 100644 --- a/ext/standard/tests/array/ksort_basic.phpt +++ b/ext/standard/tests/array/ksort_basic.phpt @@ -2,11 +2,6 @@ Test ksort() function : basic functionality --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * Testing ksort() by providing array of integer/string values to check the basic functionality with following flag values : * 1.flag value as default diff --git a/ext/standard/tests/array/ksort_object.phpt b/ext/standard/tests/array/ksort_object.phpt index 03c97e253b..cd51f81cd5 100644 --- a/ext/standard/tests/array/ksort_object.phpt +++ b/ext/standard/tests/array/ksort_object.phpt @@ -2,10 +2,6 @@ Test ksort() function : object functionality - sort objects --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ /* * testing ksort() by providing array ofinteger/string objects with following flag values: * 1.SORT_NUMERIC - compare items numerically diff --git a/ext/standard/tests/array/ksort_variation10.phpt b/ext/standard/tests/array/ksort_variation10.phpt index 8a3e522c8a..6d151b920a 100644 --- a/ext/standard/tests/array/ksort_variation10.phpt +++ b/ext/standard/tests/array/ksort_variation10.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort octal values --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing array of octal values for $array argument with following flag values: * 1.flag value as default diff --git a/ext/standard/tests/array/ksort_variation11.phpt b/ext/standard/tests/array/ksort_variation11.phpt index 1fabd01e5c..59b18aa62c 100644 --- a/ext/standard/tests/array/ksort_variation11.phpt +++ b/ext/standard/tests/array/ksort_variation11.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort heredoc strings --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing array of heredoc strings for $array argument with * following flag values: diff --git a/ext/standard/tests/array/ksort_variation3.phpt b/ext/standard/tests/array/ksort_variation3.phpt index 5d2d14ff58..db3d558be1 100644 --- a/ext/standard/tests/array/ksort_variation3.phpt +++ b/ext/standard/tests/array/ksort_variation3.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort integer/float values --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * Testing ksort() by providing array of integer/float/mixed values for $array argument * with following flag values: diff --git a/ext/standard/tests/array/ksort_variation4.phpt b/ext/standard/tests/array/ksort_variation4.phpt index 8404f030e9..0f18e385dd 100644 --- a/ext/standard/tests/array/ksort_variation4.phpt +++ b/ext/standard/tests/array/ksort_variation4.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort bool values --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing array of boolean values for $array argument with following flag values: * 1.flag value as default diff --git a/ext/standard/tests/array/ksort_variation5.phpt b/ext/standard/tests/array/ksort_variation5.phpt index c5f950edd4..0538043744 100644 --- a/ext/standard/tests/array/ksort_variation5.phpt +++ b/ext/standard/tests/array/ksort_variation5.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort strings --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing array of string values for $array argument with * following flag values: diff --git a/ext/standard/tests/array/ksort_variation6.phpt b/ext/standard/tests/array/ksort_variation6.phpt index 40cd27d7b8..b9c35b54f2 100644 --- a/ext/standard/tests/array/ksort_variation6.phpt +++ b/ext/standard/tests/array/ksort_variation6.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort hexadecimal values --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing array of hexa-decimal values for $array argument with following flag values: * 1.flag value as default diff --git a/ext/standard/tests/array/ksort_variation7.phpt b/ext/standard/tests/array/ksort_variation7.phpt index 0e92ed40ef..7ca42069da 100644 --- a/ext/standard/tests/array/ksort_variation7.phpt +++ b/ext/standard/tests/array/ksort_variation7.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sort array with diff. sub arrays --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation - * Source code: ext/standard/array.c -*/ - /* * testing ksort() by providing arrays containing sub arrays for $array argument * with flowing flag values: diff --git a/ext/standard/tests/array/ksort_variation8.phpt b/ext/standard/tests/array/ksort_variation8.phpt Binary files differindex 9222e64e19..7b7e1c003e 100644 --- a/ext/standard/tests/array/ksort_variation8.phpt +++ b/ext/standard/tests/array/ksort_variation8.phpt diff --git a/ext/standard/tests/array/ksort_variation9.phpt b/ext/standard/tests/array/ksort_variation9.phpt index 20a85f2f77..9322af70f5 100644 --- a/ext/standard/tests/array/ksort_variation9.phpt +++ b/ext/standard/tests/array/ksort_variation9.phpt @@ -2,11 +2,6 @@ Test ksort() function : usage variations - sorting arrays with/without keys --FILE-- <?php -/* Prototype : bool ksort ( array &$array [, int $sort_flags] ) - * Description: Sort an array by key, maintaining key to data correlation. - * Source code: ext/standard/array.c -*/ - /* * Testing ksort() by providing arrays with/without key values for $array argument with following flag values: * 1.flag value as default diff --git a/ext/standard/tests/array/max_basic.phpt b/ext/standard/tests/array/max_basic.phpt index 16c8ac9330..4880e97dcb 100644 --- a/ext/standard/tests/array/max_basic.phpt +++ b/ext/standard/tests/array/max_basic.phpt @@ -3,7 +3,6 @@ Test return type and value for expected input max() --FILE-- <?php /* - * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/max_variation1.phpt b/ext/standard/tests/array/max_variation1.phpt index 6182b824b2..a87033ce72 100644 --- a/ext/standard/tests/array/max_variation1.phpt +++ b/ext/standard/tests/array/max_variation1.phpt @@ -3,7 +3,6 @@ Test variations in usage of max() --FILE-- <?php /* - * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/max_variation2.phpt b/ext/standard/tests/array/max_variation2.phpt index 15425e47a1..8577a095b0 100644 --- a/ext/standard/tests/array/max_variation2.phpt +++ b/ext/standard/tests/array/max_variation2.phpt @@ -3,7 +3,6 @@ Test variations in usage of max() --FILE-- <?php /* - * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/min_basic.phpt b/ext/standard/tests/array/min_basic.phpt index 8b6b9c4bb3..6706dd9083 100644 --- a/ext/standard/tests/array/min_basic.phpt +++ b/ext/standard/tests/array/min_basic.phpt @@ -3,7 +3,6 @@ Test return type and value for expected input min() --FILE-- <?php /* - * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/min_variation1.phpt b/ext/standard/tests/array/min_variation1.phpt index de8f772b42..d09b21967b 100644 --- a/ext/standard/tests/array/min_variation1.phpt +++ b/ext/standard/tests/array/min_variation1.phpt @@ -3,7 +3,6 @@ Test variations in usage of min() --FILE-- <?php /* - * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/min_variation2.phpt b/ext/standard/tests/array/min_variation2.phpt index 3c2dc5338f..44acde7267 100644 --- a/ext/standard/tests/array/min_variation2.phpt +++ b/ext/standard/tests/array/min_variation2.phpt @@ -3,7 +3,6 @@ Test variations in usage of min() --FILE-- <?php /* - * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]]) * Function is implemented in ext/standard/array.c */ diff --git a/ext/standard/tests/array/natcasesort_basic.phpt b/ext/standard/tests/array/natcasesort_basic.phpt index 539fa424fb..8891d0bbbb 100644 --- a/ext/standard/tests/array/natcasesort_basic.phpt +++ b/ext/standard/tests/array/natcasesort_basic.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : basic functionality --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of natcasesort() */ diff --git a/ext/standard/tests/array/natcasesort_object1.phpt b/ext/standard/tests/array/natcasesort_object1.phpt index fc116718f4..8d94201b12 100644 --- a/ext/standard/tests/array/natcasesort_object1.phpt +++ b/ext/standard/tests/array/natcasesort_object1.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : object functionality - array of objects --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass natcasesort() an array of objects to test how it re-orders them */ diff --git a/ext/standard/tests/array/natcasesort_object2.phpt b/ext/standard/tests/array/natcasesort_object2.phpt index b82d0a0b7a..5f3afe1e1b 100644 --- a/ext/standard/tests/array/natcasesort_object2.phpt +++ b/ext/standard/tests/array/natcasesort_object2.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : object functionality - mixed visibility within objects --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass natcasesort() an array of objects which have properties of different * visibilities to test how it re-orders the array. diff --git a/ext/standard/tests/array/natcasesort_variation10.phpt b/ext/standard/tests/array/natcasesort_variation10.phpt index 3cfb36e2a4..89d54ac8ba 100644 --- a/ext/standard/tests/array/natcasesort_variation10.phpt +++ b/ext/standard/tests/array/natcasesort_variation10.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - position of internal array pointer --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Check position of internal array pointer after calling natcasesort() */ diff --git a/ext/standard/tests/array/natcasesort_variation11.phpt b/ext/standard/tests/array/natcasesort_variation11.phpt index 27e41865f1..c47cda6ab3 100644 --- a/ext/standard/tests/array/natcasesort_variation11.phpt +++ b/ext/standard/tests/array/natcasesort_variation11.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - Different array keys --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass arrays where the keys are different data types to test behaviour of natcasesort() */ diff --git a/ext/standard/tests/array/natcasesort_variation2.phpt b/ext/standard/tests/array/natcasesort_variation2.phpt index c9dbec1e1f..d0ef2dbd2c 100644 --- a/ext/standard/tests/array/natcasesort_variation2.phpt +++ b/ext/standard/tests/array/natcasesort_variation2.phpt @@ -3,11 +3,6 @@ Test natcasesort() function : usage variations - Pass arrays of different data t --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass arrays of different data types to natcasesort() to test how they are sorted */ diff --git a/ext/standard/tests/array/natcasesort_variation3.phpt b/ext/standard/tests/array/natcasesort_variation3.phpt index b2523dc426..3cb873286a 100644 --- a/ext/standard/tests/array/natcasesort_variation3.phpt +++ b/ext/standard/tests/array/natcasesort_variation3.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass arrays of numeric data to test how natcasesort re-orders the array */ diff --git a/ext/standard/tests/array/natcasesort_variation4.phpt b/ext/standard/tests/array/natcasesort_variation4.phpt index 452e2e48b2..4e3477bbea 100644 --- a/ext/standard/tests/array/natcasesort_variation4.phpt +++ b/ext/standard/tests/array/natcasesort_variation4.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - different string types --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass arrays of string data to see how natcasesort() re-orders the array */ diff --git a/ext/standard/tests/array/natcasesort_variation5.phpt b/ext/standard/tests/array/natcasesort_variation5.phpt index f2cbd17191..03025f2c65 100644 --- a/ext/standard/tests/array/natcasesort_variation5.phpt +++ b/ext/standard/tests/array/natcasesort_variation5.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - different hex values --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass an array of different hex values to test how natcasesort() re-orders it */ diff --git a/ext/standard/tests/array/natcasesort_variation6.phpt b/ext/standard/tests/array/natcasesort_variation6.phpt index 85d4cd64e5..8e19eb661b 100644 --- a/ext/standard/tests/array/natcasesort_variation6.phpt +++ b/ext/standard/tests/array/natcasesort_variation6.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass an array of referenced variables to test how natcasesort() re-orders it */ diff --git a/ext/standard/tests/array/natcasesort_variation7.phpt b/ext/standard/tests/array/natcasesort_variation7.phpt index fb731b101c..70ee9e92f8 100644 --- a/ext/standard/tests/array/natcasesort_variation7.phpt +++ b/ext/standard/tests/array/natcasesort_variation7.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - recursive arrays --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass natcasesort() an infinitely recursive array to test how it is re-ordered */ diff --git a/ext/standard/tests/array/natcasesort_variation8.phpt b/ext/standard/tests/array/natcasesort_variation8.phpt index b0f7cbba50..d040f228ad 100644 --- a/ext/standard/tests/array/natcasesort_variation8.phpt +++ b/ext/standard/tests/array/natcasesort_variation8.phpt @@ -2,11 +2,6 @@ Test natcasesort() function : usage variations - octal values --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Pass an array of octal values to test how natcasesort() re-orders it */ diff --git a/ext/standard/tests/array/natcasesort_variation9.phpt b/ext/standard/tests/array/natcasesort_variation9.phpt Binary files differindex 04b36f3695..f7a1d7581f 100644 --- a/ext/standard/tests/array/natcasesort_variation9.phpt +++ b/ext/standard/tests/array/natcasesort_variation9.phpt diff --git a/ext/standard/tests/array/natsort_basic.phpt b/ext/standard/tests/array/natsort_basic.phpt index 84d408ed3f..555abe1ab6 100644 --- a/ext/standard/tests/array/natsort_basic.phpt +++ b/ext/standard/tests/array/natsort_basic.phpt @@ -3,7 +3,6 @@ Test natsort(): basic functionality --FILE-- <?php /* -* proto bool natsort ( array &$array ) * Function is implemented in ext/standard/array.c */ $array1 = $array2 = array("img12.png", "img10.png", "img2.png", "img1.png"); diff --git a/ext/standard/tests/array/next_basic.phpt b/ext/standard/tests/array/next_basic.phpt index 092eec555a..d006d7d537 100644 --- a/ext/standard/tests/array/next_basic.phpt +++ b/ext/standard/tests/array/next_basic.phpt @@ -2,11 +2,6 @@ Test next() function : basic functionality --FILE-- <?php -/* Prototype : mixed next(array $array_arg) - * Description: Move array argument's internal pointer to the next element and return it - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of next() */ diff --git a/ext/standard/tests/array/next_variation2.phpt b/ext/standard/tests/array/next_variation2.phpt index 892e120b5e..6293652a6c 100644 --- a/ext/standard/tests/array/next_variation2.phpt +++ b/ext/standard/tests/array/next_variation2.phpt @@ -2,11 +2,6 @@ Test next() function : usage variation - Mulit-dimensional arrays --FILE-- <?php -/* Prototype : mixed next(array $array_arg) - * Description: Move array argument's internal pointer to the next element and return it - * Source code: ext/standard/array.c - */ - /* * Test next() when passed: * 1. a two-dimensional array diff --git a/ext/standard/tests/array/prev_basic.phpt b/ext/standard/tests/array/prev_basic.phpt index 92d1536c87..ffbafd4c16 100644 --- a/ext/standard/tests/array/prev_basic.phpt +++ b/ext/standard/tests/array/prev_basic.phpt @@ -2,11 +2,6 @@ Test prev() function : basic functionality --FILE-- <?php -/* Prototype : mixed prev(array $array_arg) - * Description: Move array argument's internal pointer to the previous element and return it - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of prev() */ diff --git a/ext/standard/tests/array/prev_error2.phpt b/ext/standard/tests/array/prev_error2.phpt index 45d2930ad7..084148c64e 100644 --- a/ext/standard/tests/array/prev_error2.phpt +++ b/ext/standard/tests/array/prev_error2.phpt @@ -2,11 +2,6 @@ prev - ensure warning is received when passing an indirect temporary. --FILE-- <?php -/* Prototype : mixed prev(array $array_arg) - * Description: Move array argument's internal pointer to the previous element and return it - * Source code: ext/standard/array.c - */ - /* * Pass temporary variables to prev() to test behaviour */ diff --git a/ext/standard/tests/array/prev_error3.phpt b/ext/standard/tests/array/prev_error3.phpt index 44c7b1e8ad..35f3567467 100644 --- a/ext/standard/tests/array/prev_error3.phpt +++ b/ext/standard/tests/array/prev_error3.phpt @@ -2,11 +2,6 @@ prev - ensure we cannot pass a temporary --FILE-- <?php -/* Prototype : mixed prev(array $array_arg) - * Description: Move array argument's internal pointer to the previous element and return it - * Source code: ext/standard/array.c - */ - /* * Pass temporary variables to prev() to test behaviour */ diff --git a/ext/standard/tests/array/prev_variation2.phpt b/ext/standard/tests/array/prev_variation2.phpt index 9c38e6ef37..dd7f9b63fc 100644 --- a/ext/standard/tests/array/prev_variation2.phpt +++ b/ext/standard/tests/array/prev_variation2.phpt @@ -2,11 +2,6 @@ Test prev() function : usage variation - Multi-dimensional arrays --FILE-- <?php -/* Prototype : mixed prev(array $array_arg) - * Description: Move array argument's internal pointer to the previous element and return it - * Source code: ext/standard/array.c - */ - /* * Test prev() when passed: * 1. a two-dimensional array diff --git a/ext/standard/tests/array/reset_basic.phpt b/ext/standard/tests/array/reset_basic.phpt index 195c431fd9..d533d28dfd 100644 --- a/ext/standard/tests/array/reset_basic.phpt +++ b/ext/standard/tests/array/reset_basic.phpt @@ -2,11 +2,6 @@ Test reset() function : basic functionality --FILE-- <?php -/* Prototype : mixed reset(array $array_arg) - * Description: Set array argument's internal pointer to the first element and return it - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of reset() */ diff --git a/ext/standard/tests/array/reset_variation2.phpt b/ext/standard/tests/array/reset_variation2.phpt index 2dbf152ce6..13d1347f79 100644 --- a/ext/standard/tests/array/reset_variation2.phpt +++ b/ext/standard/tests/array/reset_variation2.phpt @@ -2,11 +2,6 @@ Test reset() function : usage variations - unset first element --FILE-- <?php -/* Prototype : mixed reset(array $array_arg) - * Description: Set array argument's internal pointer to the first element and return it - * Source code: ext/standard/array.c - */ - /* * Unset first element of an array and test behaviour of reset() */ diff --git a/ext/standard/tests/array/reset_variation3.phpt b/ext/standard/tests/array/reset_variation3.phpt index fd0d86eda8..9bfc290b2c 100644 --- a/ext/standard/tests/array/reset_variation3.phpt +++ b/ext/standard/tests/array/reset_variation3.phpt @@ -2,11 +2,6 @@ Test reset() function : usage variations - Referenced variables --FILE-- <?php -/* Prototype : mixed reset(array $array_arg) - * Description: Set array argument's internal pointer to the first element and return it - * Source code: ext/standard/array.c - */ - /* * Reference two arrays to each other then call reset() to test position of * internal pointer in both arrays diff --git a/ext/standard/tests/array/rsort_basic.phpt b/ext/standard/tests/array/rsort_basic.phpt index 76123b7c02..a7ad5f3790 100644 --- a/ext/standard/tests/array/rsort_basic.phpt +++ b/ext/standard/tests/array/rsort_basic.phpt @@ -2,11 +2,6 @@ Test rsort() function : basic functionality --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of rsort() */ diff --git a/ext/standard/tests/array/rsort_object1.phpt b/ext/standard/tests/array/rsort_object1.phpt index df7ca491ff..0cfeb443f9 100644 --- a/ext/standard/tests/array/rsort_object1.phpt +++ b/ext/standard/tests/array/rsort_object1.phpt @@ -2,11 +2,6 @@ Test rsort() function : object functionality --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of rsort() with objects */ diff --git a/ext/standard/tests/array/rsort_object2.phpt b/ext/standard/tests/array/rsort_object2.phpt index 21789ba026..4b60e345cf 100644 --- a/ext/standard/tests/array/rsort_object2.phpt +++ b/ext/standard/tests/array/rsort_object2.phpt @@ -2,11 +2,6 @@ Test rsort() function : object functionality - different visibilities --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Test functionality of rsort() with objects where properties have different visibilities */ diff --git a/ext/standard/tests/array/rsort_variation10.phpt b/ext/standard/tests/array/rsort_variation10.phpt index 22fe18f4e0..6f9248c1c6 100644 --- a/ext/standard/tests/array/rsort_variation10.phpt +++ b/ext/standard/tests/array/rsort_variation10.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - Octal values --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass rsort() an array containing octal values to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation11.phpt b/ext/standard/tests/array/rsort_variation11.phpt Binary files differindex 5c851b4c4c..ce3b8c7056 100644 --- a/ext/standard/tests/array/rsort_variation11.phpt +++ b/ext/standard/tests/array/rsort_variation11.phpt diff --git a/ext/standard/tests/array/rsort_variation3.phpt b/ext/standard/tests/array/rsort_variation3.phpt index 545eacedc3..f2648f04b1 100644 --- a/ext/standard/tests/array/rsort_variation3.phpt +++ b/ext/standard/tests/array/rsort_variation3.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass arrays containing different numeric data to rsort() to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation4.phpt b/ext/standard/tests/array/rsort_variation4.phpt index 3687c05c7f..77a42552bc 100644 --- a/ext/standard/tests/array/rsort_variation4.phpt +++ b/ext/standard/tests/array/rsort_variation4.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Test behaviour of rsort() when: * 1. passed an array of referenced variables diff --git a/ext/standard/tests/array/rsort_variation5.phpt b/ext/standard/tests/array/rsort_variation5.phpt index 20d061f4c4..6b05443b52 100644 --- a/ext/standard/tests/array/rsort_variation5.phpt +++ b/ext/standard/tests/array/rsort_variation5.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - String values --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass arrays containing different string data to rsort() to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation6.phpt b/ext/standard/tests/array/rsort_variation6.phpt index 3789776c37..3394402e44 100644 --- a/ext/standard/tests/array/rsort_variation6.phpt +++ b/ext/standard/tests/array/rsort_variation6.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - Hexadecimal vales --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass rsort() an array of hexadecimal values to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation7.phpt b/ext/standard/tests/array/rsort_variation7.phpt index b54108d031..28b02a7456 100644 --- a/ext/standard/tests/array/rsort_variation7.phpt +++ b/ext/standard/tests/array/rsort_variation7.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - boolean values --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass rsort() arrays of boolean values to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation8.phpt b/ext/standard/tests/array/rsort_variation8.phpt index 8f1ee129c7..8d8aa15f1f 100644 --- a/ext/standard/tests/array/rsort_variation8.phpt +++ b/ext/standard/tests/array/rsort_variation8.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass rsort() multi-dimensional arrays to test behaviour */ diff --git a/ext/standard/tests/array/rsort_variation9.phpt b/ext/standard/tests/array/rsort_variation9.phpt index 93cdff2228..4d0f45a005 100644 --- a/ext/standard/tests/array/rsort_variation9.phpt +++ b/ext/standard/tests/array/rsort_variation9.phpt @@ -2,11 +2,6 @@ Test rsort() function : usage variations - mixed associative arrays --FILE-- <?php -/* Prototype : bool rsort(array &$array_arg [, int $sort_flags]) - * Description: Sort an array in reverse order - * Source code: ext/standard/array.c - */ - /* * Pass rsort() associative arrays to test key re-assignment */ diff --git a/ext/standard/tests/array/shuffle_basic1.phpt b/ext/standard/tests/array/shuffle_basic1.phpt index efcc21e9df..d2af45db93 100644 --- a/ext/standard/tests/array/shuffle_basic1.phpt +++ b/ext/standard/tests/array/shuffle_basic1.phpt @@ -2,11 +2,6 @@ Test shuffle() function : basic functionality - array with default keys --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle when an array with default keys * is passed to the 'array_arg' argument and check for the diff --git a/ext/standard/tests/array/shuffle_basic2.phpt b/ext/standard/tests/array/shuffle_basic2.phpt index 3405eee2d7..b6c86cb421 100644 --- a/ext/standard/tests/array/shuffle_basic2.phpt +++ b/ext/standard/tests/array/shuffle_basic2.phpt @@ -2,11 +2,6 @@ Test shuffle() function : basic functionality - with associative array --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle when an associative array is * passed to the 'array_arg' argument and check for the diff --git a/ext/standard/tests/array/shuffle_variation2.phpt b/ext/standard/tests/array/shuffle_variation2.phpt index 470713227d..ab90db3fdf 100644 --- a/ext/standard/tests/array/shuffle_variation2.phpt +++ b/ext/standard/tests/array/shuffle_variation2.phpt @@ -2,11 +2,6 @@ Test shuffle() function : usage variation - with MultiDimensional array --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle() function when multi-dimensional array is * passed to 'array_arg' argument diff --git a/ext/standard/tests/array/shuffle_variation3.phpt b/ext/standard/tests/array/shuffle_variation3.phpt index eb93106ab3..87abe3496e 100644 --- a/ext/standard/tests/array/shuffle_variation3.phpt +++ b/ext/standard/tests/array/shuffle_variation3.phpt @@ -2,11 +2,6 @@ Test shuffle() function : usage variation - arrays with diff types of values --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle() function when arrays having different * types of values, are passed to 'array_arg' argument diff --git a/ext/standard/tests/array/shuffle_variation4.phpt b/ext/standard/tests/array/shuffle_variation4.phpt index 3a29adf618..629c449b7f 100644 --- a/ext/standard/tests/array/shuffle_variation4.phpt +++ b/ext/standard/tests/array/shuffle_variation4.phpt @@ -2,11 +2,6 @@ Test shuffle() function : usage variation - associative arrays with diff types of values --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle() function when associative arrays * having different types of values, are passed to 'array_arg' argument diff --git a/ext/standard/tests/array/shuffle_variation5.phpt b/ext/standard/tests/array/shuffle_variation5.phpt index dd291f610b..7ad0c01678 100644 --- a/ext/standard/tests/array/shuffle_variation5.phpt +++ b/ext/standard/tests/array/shuffle_variation5.phpt @@ -2,11 +2,6 @@ Test shuffle() function : usage variation - arrays with diff heredoc strings --FILE-- <?php -/* Prototype : bool shuffle(array $array_arg) - * Description: Randomly shuffle the contents of an array - * Source code: ext/standard/array.c -*/ - /* * Test behaviour of shuffle() when an array of heredoc strings is passed to * 'array_arg' argument of the function diff --git a/ext/standard/tests/array/sizeof_basic1.phpt b/ext/standard/tests/array/sizeof_basic1.phpt index c292199cb9..68dcc52a23 100644 --- a/ext/standard/tests/array/sizeof_basic1.phpt +++ b/ext/standard/tests/array/sizeof_basic1.phpt @@ -2,13 +2,6 @@ Test sizeof() function : basic functionality - for scalar types --FILE-- <?php -/* Prototype : int sizeof(mixed $var[, int $mode] ) - * Description: Counts an elements in an array. If Standard PHP library is - * installed, it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - /* Testing the sizeof() for some of the scalar types(integer, float) values * in default, COUNT_NORMAL and COUNT_RECURSIVE modes. */ diff --git a/ext/standard/tests/array/sizeof_basic2.phpt b/ext/standard/tests/array/sizeof_basic2.phpt index a76e54d70a..e77a0d6a66 100644 --- a/ext/standard/tests/array/sizeof_basic2.phpt +++ b/ext/standard/tests/array/sizeof_basic2.phpt @@ -2,13 +2,6 @@ Test sizeof() function : basic functionality - for non-scalar type(array) --FILE-- <?php -/* Prototype : int sizeof(mixed $var[, int $mode] ) - * Description: Counts an elements in an array. If Standard PHP library is - * installed, it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - /* Testing the sizeof() for non-scalar type(array) value * in default, COUNT_NORMAL and COUNT_RECURSIVE modes. * Sizeof() has been tested for simple integer, string, diff --git a/ext/standard/tests/array/sizeof_object1.phpt b/ext/standard/tests/array/sizeof_object1.phpt index 43b49e5693..b034bb1021 100644 --- a/ext/standard/tests/array/sizeof_object1.phpt +++ b/ext/standard/tests/array/sizeof_object1.phpt @@ -2,13 +2,6 @@ Test sizeof() function : object functionality - object with Countable interface --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode]) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : object functionality ***\n"; echo "-- Testing sizeof() with an object which implements Countable interface --\n"; diff --git a/ext/standard/tests/array/sizeof_object2.phpt b/ext/standard/tests/array/sizeof_object2.phpt index c81018f635..513b239b12 100644 --- a/ext/standard/tests/array/sizeof_object2.phpt +++ b/ext/standard/tests/array/sizeof_object2.phpt @@ -2,13 +2,6 @@ Test sizeof() function : object functionality - objects without Countable interface --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode] ) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : object functionality ***\n"; echo "--- Testing sizeof() with objects which doesn't implement Countable interface ---\n"; diff --git a/ext/standard/tests/array/sizeof_variation1.phpt b/ext/standard/tests/array/sizeof_variation1.phpt index e98c334267..5f3988b8bd 100644 --- a/ext/standard/tests/array/sizeof_variation1.phpt +++ b/ext/standard/tests/array/sizeof_variation1.phpt @@ -2,13 +2,6 @@ Test sizeof() function : usage variations - for all scalar types and resource variable --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode]) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : usage variations ***\n"; echo "--- Testing sizeof() for all scalar types in default,COUNT_NORMAL and COUNT_RECURSIVE mode ---\n"; diff --git a/ext/standard/tests/array/sizeof_variation2.phpt b/ext/standard/tests/array/sizeof_variation2.phpt index 1bc815d7c4..baa917a299 100644 --- a/ext/standard/tests/array/sizeof_variation2.phpt +++ b/ext/standard/tests/array/sizeof_variation2.phpt @@ -2,13 +2,6 @@ Test sizeof() function : usage variations - different array values for 'var' argument --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode]) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : usage variations ***\n"; // get a resource variable diff --git a/ext/standard/tests/array/sizeof_variation3.phpt b/ext/standard/tests/array/sizeof_variation3.phpt index cb77e07323..f5bc22c263 100644 --- a/ext/standard/tests/array/sizeof_variation3.phpt +++ b/ext/standard/tests/array/sizeof_variation3.phpt @@ -2,13 +2,6 @@ Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode]) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : usage variations ***\n"; echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --\n"; diff --git a/ext/standard/tests/array/sizeof_variation4.phpt b/ext/standard/tests/array/sizeof_variation4.phpt index bae4a470f2..e0c4b13eaa 100644 --- a/ext/standard/tests/array/sizeof_variation4.phpt +++ b/ext/standard/tests/array/sizeof_variation4.phpt @@ -2,13 +2,6 @@ Test sizeof() function : usage variations - all kinds of unset variables for 'var' argument --FILE-- <?php -/* Prototype : int sizeof($mixed var[, int $mode]) - * Description: Counts an elements in an array. If Standard PHP library is installed, - * it will return the properties of an object. - * Source code: ext/standard/basic_functions.c - * Alias to functions: count() - */ - echo "*** Testing sizeof() : usage variations ***\n"; echo "--- Testing sizeof() for all kinds of unset variables in default, Normal and Recursive Modes ---\n"; diff --git a/ext/standard/tests/array/sort_basic.phpt b/ext/standard/tests/array/sort_basic.phpt index 451fd5788f..8f50c6e1be 100644 --- a/ext/standard/tests/array/sort_basic.phpt +++ b/ext/standard/tests/array/sort_basic.phpt @@ -2,12 +2,6 @@ Test sort() function : basic functionality --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing sort() by providing arrays with default keys and assoc arrays * to check the basic functionality with following flag values. diff --git a/ext/standard/tests/array/sort_object1.phpt b/ext/standard/tests/array/sort_object1.phpt index 79458e0b1c..07243be2c6 100644 --- a/ext/standard/tests/array/sort_object1.phpt +++ b/ext/standard/tests/array/sort_object1.phpt @@ -2,11 +2,6 @@ Test sort() function : object functionality - sorting objects, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ /* * testing sort() by providing integer/string object arrays with flag values are default, SORT_REGULAR */ diff --git a/ext/standard/tests/array/sort_object2.phpt b/ext/standard/tests/array/sort_object2.phpt index 9816ae3012..7c9bb9867c 100644 --- a/ext/standard/tests/array/sort_object2.phpt +++ b/ext/standard/tests/array/sort_object2.phpt @@ -2,12 +2,6 @@ Test sort() function : object functionality - sorting objects with diff. accessibility of member vars --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing integer/string object arrays with flag values are default, SORT_REGULAR */ diff --git a/ext/standard/tests/array/sort_variation10.phpt b/ext/standard/tests/array/sort_variation10.phpt index 4dc510064e..36dfcb85ae 100644 --- a/ext/standard/tests/array/sort_variation10.phpt +++ b/ext/standard/tests/array/sort_variation10.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort octal values --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing different octal array for $array argument * with following flag values diff --git a/ext/standard/tests/array/sort_variation11.phpt b/ext/standard/tests/array/sort_variation11.phpt Binary files differindex 50d40fca63..5209d21a67 100644 --- a/ext/standard/tests/array/sort_variation11.phpt +++ b/ext/standard/tests/array/sort_variation11.phpt diff --git a/ext/standard/tests/array/sort_variation3.phpt b/ext/standard/tests/array/sort_variation3.phpt index 7ee0d8ea84..194d2b9fcd 100644 --- a/ext/standard/tests/array/sort_variation3.phpt +++ b/ext/standard/tests/array/sort_variation3.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort integer/float values --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing sort() by providing different integer/float value arrays for $array argument * with following flag values diff --git a/ext/standard/tests/array/sort_variation4.phpt b/ext/standard/tests/array/sort_variation4.phpt index 4a5d42ed9d..34cc2f772f 100644 --- a/ext/standard/tests/array/sort_variation4.phpt +++ b/ext/standard/tests/array/sort_variation4.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort reference values --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing sort() by providing reference variable array with following flag values * flag value as default diff --git a/ext/standard/tests/array/sort_variation5.phpt b/ext/standard/tests/array/sort_variation5.phpt index e5fc94c387..6c49342df2 100644 --- a/ext/standard/tests/array/sort_variation5.phpt +++ b/ext/standard/tests/array/sort_variation5.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort strings --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing different string arrays for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/sort_variation6.phpt b/ext/standard/tests/array/sort_variation6.phpt index 5fa933eb21..fcde3b3d05 100644 --- a/ext/standard/tests/array/sort_variation6.phpt +++ b/ext/standard/tests/array/sort_variation6.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort hexadecimal values --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing different hexa-decimal array for $array argument with following flag values * flag value as default diff --git a/ext/standard/tests/array/sort_variation7.phpt b/ext/standard/tests/array/sort_variation7.phpt index 7c2a4afe3e..75d2dd16fb 100644 --- a/ext/standard/tests/array/sort_variation7.phpt +++ b/ext/standard/tests/array/sort_variation7.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort boolean values --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing bool value array for $array argument with following flag values. * flag value as default diff --git a/ext/standard/tests/array/sort_variation8.phpt b/ext/standard/tests/array/sort_variation8.phpt index e4682e1702..562766e77f 100644 --- a/ext/standard/tests/array/sort_variation8.phpt +++ b/ext/standard/tests/array/sort_variation8.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort array with diff. sub arrays, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * testing sort() by providing arrays contains sub arrays for $array argument with flowing flag values * flag value as default diff --git a/ext/standard/tests/array/sort_variation9.phpt b/ext/standard/tests/array/sort_variation9.phpt index c5488be175..8c4be0997c 100644 --- a/ext/standard/tests/array/sort_variation9.phpt +++ b/ext/standard/tests/array/sort_variation9.phpt @@ -2,12 +2,6 @@ Test sort() function : usage variations - sort diff. associative arrays, 'sort_flags' as default/SORT_REGULAR --FILE-- <?php -/* Prototype : bool sort ( array &$array [, int $sort_flags] ) - * Description: This function sorts an array. - Elements will be arranged from lowest to highest when this function has completed. - * Source code: ext/standard/array.c -*/ - /* * Testing sort() by providing arrays with key values for $array argument * with following flag values. diff --git a/ext/standard/tests/array/uasort_basic1.phpt b/ext/standard/tests/array/uasort_basic1.phpt index 160af2c328..9ffc906002 100644 --- a/ext/standard/tests/array/uasort_basic1.phpt +++ b/ext/standard/tests/array/uasort_basic1.phpt @@ -2,21 +2,9 @@ Test uasort() function : basic functionality --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - echo "*** Testing uasort() : basic functionality ***\n"; // comparison function -/* Prototype : int cmp(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_basic2.phpt b/ext/standard/tests/array/uasort_basic2.phpt index af9c624d74..d4c24a9897 100644 --- a/ext/standard/tests/array/uasort_basic2.phpt +++ b/ext/standard/tests/array/uasort_basic2.phpt @@ -2,21 +2,9 @@ Test uasort() function : basic functionality - duplicate values --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - echo "*** Testing uasort() : basic functionality with duplicate values ***\n"; // comparison function -/* Prototype : int cmp(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_object1.phpt b/ext/standard/tests/array/uasort_object1.phpt index c357e07490..41420ba0a8 100644 --- a/ext/standard/tests/array/uasort_object1.phpt +++ b/ext/standard/tests/array/uasort_object1.phpt @@ -2,11 +2,6 @@ Test uasort() function : object functionality --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * Testing uasort() function with the array of objects * array of objects which has only one member variable & more than one member variables @@ -15,13 +10,6 @@ Test uasort() function : object functionality echo "*** Testing uasort() : object functionality ***\n"; // comparison function -/* Prototype : int cmp(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value3 - * Description : compares value1 and value2 - */ function simple_cmp($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_object2.phpt b/ext/standard/tests/array/uasort_object2.phpt index 26fa6f11b4..82a9cb908b 100644 --- a/ext/standard/tests/array/uasort_object2.phpt +++ b/ext/standard/tests/array/uasort_object2.phpt @@ -2,10 +2,6 @@ Test uasort() function : object functionality - sort diff. objects --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -* /* * This testcase tests uasort() functionality with different objects @@ -19,13 +15,6 @@ Test uasort() function : object functionality - sort diff. objects echo "*** Testing uasort() : object functionality ***\n"; // comparison function -/* Prototype : int cmp_function(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp_function($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation10.phpt b/ext/standard/tests/array/uasort_variation10.phpt index 7b6188b420..9b5a0ffc46 100644 --- a/ext/standard/tests/array/uasort_variation10.phpt +++ b/ext/standard/tests/array/uasort_variation10.phpt @@ -2,23 +2,11 @@ Test uasort() function : usage variations - sort array with reference variables --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * Testing uasort() with 'array_arg' containing different reference variables */ // comparison function -/* Prototype : int cmp_function(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp_function($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation11.phpt b/ext/standard/tests/array/uasort_variation11.phpt index c8d3a81d83..ceab2ac037 100644 --- a/ext/standard/tests/array/uasort_variation11.phpt +++ b/ext/standard/tests/array/uasort_variation11.phpt @@ -2,11 +2,6 @@ Test uasort() function : usage variations - different associative arrays --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* Testing uasort() with different associative arrays having keys as * string, integer, default & duplicate keys */ @@ -14,13 +9,6 @@ Test uasort() function : usage variations - different associative arrays echo "*** Testing uasort() : sorting different associative arrays ***\n"; // comparison function -/* Prototype : int cmp(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation3.phpt b/ext/standard/tests/array/uasort_variation3.phpt Binary files differindex 5db2163e24..15f1884a7b 100644 --- a/ext/standard/tests/array/uasort_variation3.phpt +++ b/ext/standard/tests/array/uasort_variation3.phpt diff --git a/ext/standard/tests/array/uasort_variation4.phpt b/ext/standard/tests/array/uasort_variation4.phpt index 75772442a8..e139742262 100644 --- a/ext/standard/tests/array/uasort_variation4.phpt +++ b/ext/standard/tests/array/uasort_variation4.phpt @@ -2,24 +2,12 @@ Test uasort() function : usage variations - sort different numeric values --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * sorting different types of numeric arrays containing data of following type: * integer, octal, hexadecimal & float */ // comparison function -/* Prototype : int cmp_function(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp_function($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation5.phpt b/ext/standard/tests/array/uasort_variation5.phpt index b398d62709..4160f4a2bd 100644 --- a/ext/standard/tests/array/uasort_variation5.phpt +++ b/ext/standard/tests/array/uasort_variation5.phpt @@ -2,24 +2,12 @@ Test uasort() function : usage variations - sort diff. strings --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * sorting different strings: * single quoted, double quoted and heredoc strings */ // comparison function -/* Prototype : int cmp_function(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp_function($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation6.phpt b/ext/standard/tests/array/uasort_variation6.phpt index 26eb1e1dab..8b6b0d6d19 100644 --- a/ext/standard/tests/array/uasort_variation6.phpt +++ b/ext/standard/tests/array/uasort_variation6.phpt @@ -2,23 +2,11 @@ Test uasort() function : usage variations - sort array having subarrays --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * Testing uasort() with 'array_arg' having different subarrays as array elements */ // comparison function -/* Prototype : int cmp_function(mixed $value1, mixed $value2) - * Parameters : $value1 and $value2 - values to be compared - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp_function($value1, $value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uasort_variation7.phpt b/ext/standard/tests/array/uasort_variation7.phpt index 72520b2eb8..fd92a9f856 100644 --- a/ext/standard/tests/array/uasort_variation7.phpt +++ b/ext/standard/tests/array/uasort_variation7.phpt @@ -2,11 +2,6 @@ Test uasort() function : usage variations - anonymous function as 'cmp_function' --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * Passing different anonymous functions as 'cmp_function' * arguments passed by value diff --git a/ext/standard/tests/array/uasort_variation8.phpt b/ext/standard/tests/array/uasort_variation8.phpt index b6abdeaef3..9ff3c114c4 100644 --- a/ext/standard/tests/array/uasort_variation8.phpt +++ b/ext/standard/tests/array/uasort_variation8.phpt @@ -2,11 +2,6 @@ Test uasort() function : usage variations - built-in function as 'cmp_function' --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* * Passing different built-in library functions in place of 'cmp_function' * valid comparison functions: strcmp() & strcasecmp() diff --git a/ext/standard/tests/array/uasort_variation9.phpt b/ext/standard/tests/array/uasort_variation9.phpt index 38aa32b2e5..05e98032c8 100644 --- a/ext/standard/tests/array/uasort_variation9.phpt +++ b/ext/standard/tests/array/uasort_variation9.phpt @@ -2,24 +2,12 @@ Test uasort() function : usage variations - 'cmp_function' with reference argument --FILE-- <?php -/* Prototype : bool uasort(array $array_arg, string $cmp_function) - * Description: Sort an array with a user-defined comparison function and maintain index association - * Source code: ext/standard/array.c -*/ - /* Testing uasort() functionality with comparison function having arguments as reference */ echo "*** Testing uasort() : 'cmp_function' with reference arguments ***\n"; // comparison function -/* Prototype : int cmp(mixed &$value1, mixed &$value2) - * Parameters : $value1 and $value2 - values received by reference - * Return value : 0 - if both values are same - * 1 - if value1 is greater than value2 - * -1 - if value1 is less than value2 - * Description : compares value1 and value2 - */ function cmp(&$value1, &$value2) { if($value1 == $value2) { diff --git a/ext/standard/tests/array/uksort_basic.phpt b/ext/standard/tests/array/uksort_basic.phpt index ea6406a87b..eeae6ba3b6 100644 --- a/ext/standard/tests/array/uksort_basic.phpt +++ b/ext/standard/tests/array/uksort_basic.phpt @@ -3,7 +3,6 @@ Test uksort(): basic functionality --FILE-- <?php /* -* proto bool uksort ( array &$array, callback $cmp_function ) * Function is implemented in ext/standard/array.c */ function cmp($a, $b) { diff --git a/ext/standard/tests/array/usort_basic.phpt b/ext/standard/tests/array/usort_basic.phpt index 36add207cf..9c5d98c924 100644 --- a/ext/standard/tests/array/usort_basic.phpt +++ b/ext/standard/tests/array/usort_basic.phpt @@ -2,11 +2,6 @@ Test usort() function : basic functionality --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Test basic functionality of usort() with indexed and associative arrays */ diff --git a/ext/standard/tests/array/usort_object1.phpt b/ext/standard/tests/array/usort_object1.phpt index b1002a53e4..689643e866 100644 --- a/ext/standard/tests/array/usort_object1.phpt +++ b/ext/standard/tests/array/usort_object1.phpt @@ -2,11 +2,6 @@ Test usort() function : object functionality - different number of properties --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an array of objects which have a different number of properties * to test behaviour of usort() diff --git a/ext/standard/tests/array/usort_object2.phpt b/ext/standard/tests/array/usort_object2.phpt index 915c3755bc..cdb91d4027 100644 --- a/ext/standard/tests/array/usort_object2.phpt +++ b/ext/standard/tests/array/usort_object2.phpt @@ -2,11 +2,6 @@ Test usort() function : object functionality - Different types of classes --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an array of objects which are either: * 1. Empty diff --git a/ext/standard/tests/array/usort_variation10.phpt b/ext/standard/tests/array/usort_variation10.phpt index 6985c0ac55..a1c1e3382c 100644 --- a/ext/standard/tests/array/usort_variation10.phpt +++ b/ext/standard/tests/array/usort_variation10.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - duplicate keys and values --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an array with duplicate keys and values to usort() to test behaviour */ diff --git a/ext/standard/tests/array/usort_variation3.phpt b/ext/standard/tests/array/usort_variation3.phpt index 0d83d5e2d6..dc37ac21f2 100644 --- a/ext/standard/tests/array/usort_variation3.phpt +++ b/ext/standard/tests/array/usort_variation3.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - diff. array values --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an array with different data types as keys to usort() to test how it is re-ordered */ diff --git a/ext/standard/tests/array/usort_variation4.phpt b/ext/standard/tests/array/usort_variation4.phpt index e4365207a3..a17a841ccb 100644 --- a/ext/standard/tests/array/usort_variation4.phpt +++ b/ext/standard/tests/array/usort_variation4.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - numeric data --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass arrays of numeric data to usort() to test how it is re-ordered */ diff --git a/ext/standard/tests/array/usort_variation5.phpt b/ext/standard/tests/array/usort_variation5.phpt index 2757054ead..4bad83005b 100644 --- a/ext/standard/tests/array/usort_variation5.phpt +++ b/ext/standard/tests/array/usort_variation5.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - string data --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass arrays of string data to usort() to test how it is re-ordered */ diff --git a/ext/standard/tests/array/usort_variation6.phpt b/ext/standard/tests/array/usort_variation6.phpt index 1916ded151..f66ef39378 100644 --- a/ext/standard/tests/array/usort_variation6.phpt +++ b/ext/standard/tests/array/usort_variation6.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - multi-dimensional arrays --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass a multi-dimensional array as $array_arg argument to usort() * to test how array is re-ordered diff --git a/ext/standard/tests/array/usort_variation7.phpt b/ext/standard/tests/array/usort_variation7.phpt index bf554bce1d..aa814245de 100644 --- a/ext/standard/tests/array/usort_variation7.phpt +++ b/ext/standard/tests/array/usort_variation7.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - Anonymous comparison function --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an anonymous comparison function as $cmp_function argument to test behaviour() */ diff --git a/ext/standard/tests/array/usort_variation8.phpt b/ext/standard/tests/array/usort_variation8.phpt index 4a750ccefa..2775e09727 100644 --- a/ext/standard/tests/array/usort_variation8.phpt +++ b/ext/standard/tests/array/usort_variation8.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - use built in functions as $cmp_function arg --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Test usort() when comparison function is: * 1. a built in comparison function diff --git a/ext/standard/tests/array/usort_variation9.phpt b/ext/standard/tests/array/usort_variation9.phpt index 6c7f511b1f..d1595a0cac 100644 --- a/ext/standard/tests/array/usort_variation9.phpt +++ b/ext/standard/tests/array/usort_variation9.phpt @@ -2,11 +2,6 @@ Test usort() function : usage variations - referenced variables --FILE-- <?php -/* Prototype : bool usort(array $array_arg, string $cmp_function) - * Description: Sort an array by values using a user-defined comparison function - * Source code: ext/standard/array.c - */ - /* * Pass an array of referenced variables as $array_arg to test behaviour */ diff --git a/ext/standard/tests/class_object/class_exists_basic_001.phpt b/ext/standard/tests/class_object/class_exists_basic_001.phpt index 9192ea80b7..adafd3c7ec 100644 --- a/ext/standard/tests/class_object/class_exists_basic_001.phpt +++ b/ext/standard/tests/class_object/class_exists_basic_001.phpt @@ -2,12 +2,6 @@ Test class_exists() function : basic functionality --FILE-- <?php -/* Prototype : proto bool class_exists(string classname [, bool autoload]) - * Description: Checks if the class exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing class_exists() : basic functionality ***\n"; spl_autoload_register(function ($className) { diff --git a/ext/standard/tests/class_object/class_exists_variation_003.phpt b/ext/standard/tests/class_object/class_exists_variation_003.phpt index 098c563c97..564d4add2f 100644 --- a/ext/standard/tests/class_object/class_exists_variation_003.phpt +++ b/ext/standard/tests/class_object/class_exists_variation_003.phpt @@ -2,12 +2,6 @@ Test class_exists() function : usage variations - case sensitivity --FILE-- <?php -/* Prototype : proto bool class_exists(string classname [, bool autoload]) - * Description: Checks if the class exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - class caseSensitivityTest {} var_dump(class_exists('casesensitivitytest')); diff --git a/ext/standard/tests/class_object/get_class_methods_basic_001.phpt b/ext/standard/tests/class_object/get_class_methods_basic_001.phpt index 4c091da565..bfe78801ea 100644 --- a/ext/standard/tests/class_object/get_class_methods_basic_001.phpt +++ b/ext/standard/tests/class_object/get_class_methods_basic_001.phpt @@ -2,12 +2,6 @@ Test get_class_methods() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_class_methods(mixed class) - * Description: Returns an array of method names for class or class instance. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - /* * Test basic behaviour with existing class and non-existent class. */ diff --git a/ext/standard/tests/class_object/get_class_methods_basic_002.phpt b/ext/standard/tests/class_object/get_class_methods_basic_002.phpt index 59d8606d8d..379c326589 100644 --- a/ext/standard/tests/class_object/get_class_methods_basic_002.phpt +++ b/ext/standard/tests/class_object/get_class_methods_basic_002.phpt @@ -2,12 +2,6 @@ Test get_class_methods() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_class_methods(mixed class) - * Description: Returns an array of method names for class or class instance. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - /* * Test behaviour with various visibility levels. */ diff --git a/ext/standard/tests/class_object/get_class_methods_basic_003.phpt b/ext/standard/tests/class_object/get_class_methods_basic_003.phpt index e15d962b16..0b2b2fe1a2 100644 --- a/ext/standard/tests/class_object/get_class_methods_basic_003.phpt +++ b/ext/standard/tests/class_object/get_class_methods_basic_003.phpt @@ -2,12 +2,6 @@ Test get_class_methods() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_class_methods(mixed class) - * Description: Returns an array of method names for class or class instance. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - /* * Test behaviour with interfaces. */ diff --git a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt index 5c2df9785b..523faf25e7 100644 --- a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt +++ b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt @@ -2,13 +2,6 @@ Test get_class_methods() function : usage variations - unexpected types --FILE-- <?php -/* Prototype : proto array get_class_methods(mixed class) - * Description: Returns an array of method names for class or class instance. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - function test_error_handler($err_no, $err_msg, $filename, $linenum) { echo "Error: $err_no - $err_msg\n"; } diff --git a/ext/standard/tests/class_object/get_class_methods_variation_002.phpt b/ext/standard/tests/class_object/get_class_methods_variation_002.phpt index 449df8845c..a4ca690f04 100644 --- a/ext/standard/tests/class_object/get_class_methods_variation_002.phpt +++ b/ext/standard/tests/class_object/get_class_methods_variation_002.phpt @@ -2,12 +2,6 @@ Test get_class_methods() function : usage variations - case sensitivity --FILE-- <?php -/* Prototype : proto array get_class_methods(mixed class) - * Description: Returns an array of method names for class or class instance. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing get_class_methods() : usage variations ***\n"; class caseSensitivityTest { diff --git a/ext/standard/tests/class_object/get_class_variation_001.phpt b/ext/standard/tests/class_object/get_class_variation_001.phpt index a4f20cd807..67c468cace 100644 --- a/ext/standard/tests/class_object/get_class_variation_001.phpt +++ b/ext/standard/tests/class_object/get_class_variation_001.phpt @@ -2,12 +2,6 @@ Test get_class() function : usage variations - passing unexpected types. --FILE-- <?php -/* Prototype : proto string get_class([object object]) - * Description: Retrieves the class name - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing get_class() : usage variations ***\n"; // Note: basic use cases in Zend/tests/009.phpt diff --git a/ext/standard/tests/class_object/get_class_variation_002.phpt b/ext/standard/tests/class_object/get_class_variation_002.phpt index 89edadccc6..d5d08dde30 100644 --- a/ext/standard/tests/class_object/get_class_variation_002.phpt +++ b/ext/standard/tests/class_object/get_class_variation_002.phpt @@ -2,12 +2,6 @@ Test get_class() function : usage variations - ensure class name case is preserved. --FILE-- <?php -/* Prototype : proto string get_class([object object]) - * Description: Retrieves the class name - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - class caseSensitivityTest {} var_dump(get_class(new casesensitivitytest)); diff --git a/ext/standard/tests/class_object/get_class_vars_variation2.phpt b/ext/standard/tests/class_object/get_class_vars_variation2.phpt index 9745c33b0e..9098aa7311 100644 --- a/ext/standard/tests/class_object/get_class_vars_variation2.phpt +++ b/ext/standard/tests/class_object/get_class_vars_variation2.phpt @@ -2,12 +2,6 @@ Test get_class_vars() function : testing visibility --FILE-- <?php -/* Prototype : array get_class_vars(string class_name) - * Description: Returns an array of default properties of the class. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - class Ancestor { function test() { var_dump(get_class_vars("Tester")); diff --git a/ext/standard/tests/class_object/get_declared_classes_basic_001.phpt b/ext/standard/tests/class_object/get_declared_classes_basic_001.phpt index 519f8beae0..48c85c5cd3 100644 --- a/ext/standard/tests/class_object/get_declared_classes_basic_001.phpt +++ b/ext/standard/tests/class_object/get_declared_classes_basic_001.phpt @@ -2,13 +2,6 @@ Test get_declared_classes() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_declared_classes() - * Description: Returns an array of all declared classes. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_classes() : basic functionality ***\n"; // Zero arguments diff --git a/ext/standard/tests/class_object/get_declared_classes_variation1.phpt b/ext/standard/tests/class_object/get_declared_classes_variation1.phpt index 669378740a..60e775c7e2 100644 --- a/ext/standard/tests/class_object/get_declared_classes_variation1.phpt +++ b/ext/standard/tests/class_object/get_declared_classes_variation1.phpt @@ -2,13 +2,6 @@ Test get_declared_classes() function : testing autoloaded classes --FILE-- <?php -/* Prototype : proto array get_declared_classes() - * Description: Returns an array of all declared classes. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_classes() : testing autoloaded classes ***\n"; spl_autoload_register(function ($class_name) { diff --git a/ext/standard/tests/class_object/get_declared_interfaces_basic_001.phpt b/ext/standard/tests/class_object/get_declared_interfaces_basic_001.phpt index d328a02a03..072879a215 100644 --- a/ext/standard/tests/class_object/get_declared_interfaces_basic_001.phpt +++ b/ext/standard/tests/class_object/get_declared_interfaces_basic_001.phpt @@ -2,13 +2,6 @@ Test get_declared_interfaces() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_declared_interfaces() - * Description: Returns an array of all declared interfaces. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_interfaces() : basic functionality ***\n"; // Zero arguments diff --git a/ext/standard/tests/class_object/get_declared_interfaces_variation1.phpt b/ext/standard/tests/class_object/get_declared_interfaces_variation1.phpt index a6978c6d30..06a0e161e9 100644 --- a/ext/standard/tests/class_object/get_declared_interfaces_variation1.phpt +++ b/ext/standard/tests/class_object/get_declared_interfaces_variation1.phpt @@ -2,13 +2,6 @@ Test get_declared_interfaces() function : autoloading of interfaces --FILE-- <?php -/* Prototype : proto array get_declared_interfaces() - * Description: Returns an array of all declared interfaces. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_interfaces() : autoloading of interfaces ***\n"; spl_autoload_register(function ($class_name) { diff --git a/ext/standard/tests/class_object/get_declared_traits_basic_001.phpt b/ext/standard/tests/class_object/get_declared_traits_basic_001.phpt index 2ca0ce00ca..5ad66cf111 100644 --- a/ext/standard/tests/class_object/get_declared_traits_basic_001.phpt +++ b/ext/standard/tests/class_object/get_declared_traits_basic_001.phpt @@ -2,13 +2,6 @@ Test get_declared_traits() function : basic functionality --FILE-- <?php -/* Prototype : proto array get_declared_traits() - * Description: Returns an array of all declared traits. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_traits() : basic functionality ***\n"; trait MyTrait {} diff --git a/ext/standard/tests/class_object/get_declared_traits_variation1.phpt b/ext/standard/tests/class_object/get_declared_traits_variation1.phpt index 9faef55241..26d2f22a17 100644 --- a/ext/standard/tests/class_object/get_declared_traits_variation1.phpt +++ b/ext/standard/tests/class_object/get_declared_traits_variation1.phpt @@ -2,13 +2,6 @@ Test get_declared_traits() function : testing autoloaded traits --FILE-- <?php -/* Prototype : proto array get_declared_traits() - * Description: Returns an array of all declared traits. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - - echo "*** Testing get_declared_traits() : testing autoloaded traits ***\n"; spl_autoload_register(function ($trait_name) { diff --git a/ext/standard/tests/class_object/get_object_vars_basic_001.phpt b/ext/standard/tests/class_object/get_object_vars_basic_001.phpt index 1133202cbf..babd381a08 100644 --- a/ext/standard/tests/class_object/get_object_vars_basic_001.phpt +++ b/ext/standard/tests/class_object/get_object_vars_basic_001.phpt @@ -2,12 +2,6 @@ get_object_vars(): visibility from static methods (target object passed as arg) --FILE-- <?php -/* Prototype : proto array get_object_vars(object obj) - * Description: Returns an array of object properties - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - Class A { private $hiddenPriv = 'A::hiddenPriv'; diff --git a/ext/standard/tests/class_object/get_object_vars_basic_002.phpt b/ext/standard/tests/class_object/get_object_vars_basic_002.phpt index ff0664ea46..313a53ac88 100644 --- a/ext/standard/tests/class_object/get_object_vars_basic_002.phpt +++ b/ext/standard/tests/class_object/get_object_vars_basic_002.phpt @@ -2,12 +2,6 @@ get_object_vars(): visibility from non static methods (target object passed as arg) --FILE-- <?php -/* Prototype : proto array get_object_vars(object obj) - * Description: Returns an array of object properties - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - Class A { private $hiddenPriv = 'A::hiddenPriv'; diff --git a/ext/standard/tests/class_object/get_object_vars_variation_001.phpt b/ext/standard/tests/class_object/get_object_vars_variation_001.phpt index 0cc7d492c8..f89cc86d99 100644 --- a/ext/standard/tests/class_object/get_object_vars_variation_001.phpt +++ b/ext/standard/tests/class_object/get_object_vars_variation_001.phpt @@ -2,12 +2,6 @@ get_object_vars() - ensure statics are not shown --FILE-- <?php -/* Prototype : proto array get_object_vars(object obj) - * Description: Returns an array of object properties - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - Class A { public static $var = 'hello'; } diff --git a/ext/standard/tests/class_object/get_object_vars_variation_002.phpt b/ext/standard/tests/class_object/get_object_vars_variation_002.phpt index f2a05a5836..bfa2363f86 100644 --- a/ext/standard/tests/class_object/get_object_vars_variation_002.phpt +++ b/ext/standard/tests/class_object/get_object_vars_variation_002.phpt @@ -2,12 +2,6 @@ get_object_vars() - ensure references are preserved --FILE-- <?php -/* Prototype : proto array get_object_vars(object obj) - * Description: Returns an array of object properties - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - $obj = new stdClass; var_dump(get_object_vars($obj)); diff --git a/ext/standard/tests/class_object/get_parent_class_variation_001.phpt b/ext/standard/tests/class_object/get_parent_class_variation_001.phpt index 68dec50ac4..766efb8505 100644 --- a/ext/standard/tests/class_object/get_parent_class_variation_001.phpt +++ b/ext/standard/tests/class_object/get_parent_class_variation_001.phpt @@ -2,12 +2,6 @@ Test get_parent_class() function : variation - case sensitivity --FILE-- <?php -/* Prototype : proto string get_parent_class([mixed object]) - * Description: Retrieves the parent class name for object or class or current scope. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - // Note: basic use cases in Zend/tests/010.phpt echo "*** Testing get_parent_class() : variation ***\n"; diff --git a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt index c2b9694746..8d3e64e925 100644 --- a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt +++ b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt @@ -2,12 +2,6 @@ Test get_parent_class() function : usage variations - unexpected argument type. --FILE-- <?php -/* Prototype : proto string get_parent_class([mixed object]) - * Description: Retrieves the parent class name for object or class or current scope. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - spl_autoload_register(function ($className) { echo "In autoload($className)\n"; }); diff --git a/ext/standard/tests/class_object/interface_exists_variation3.phpt b/ext/standard/tests/class_object/interface_exists_variation3.phpt index ce66ca1b41..956b4bd1e1 100644 --- a/ext/standard/tests/class_object/interface_exists_variation3.phpt +++ b/ext/standard/tests/class_object/interface_exists_variation3.phpt @@ -2,12 +2,6 @@ Test interface_exists() function : autoloaded interface --FILE-- <?php -/* Prototype : bool interface_exists(string classname [, bool autoload]) - * Description: Checks if the class exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing interface_exists() : autoloaded interface ***\n"; spl_autoload_register(function ($class_name) { diff --git a/ext/standard/tests/class_object/interface_exists_variation4.phpt b/ext/standard/tests/class_object/interface_exists_variation4.phpt index 17ba97d85a..7ab6b4ab87 100644 --- a/ext/standard/tests/class_object/interface_exists_variation4.phpt +++ b/ext/standard/tests/class_object/interface_exists_variation4.phpt @@ -2,12 +2,6 @@ Test interface_exists() function : test autoload default value --FILE-- <?php -/* Prototype : bool interface_exists(string classname [, bool autoload]) - * Description: Checks if the class exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing interface_exists() : test autoload default value ***\n"; spl_autoload_register(function ($class_name) { diff --git a/ext/standard/tests/class_object/is_a_variation_001.phpt b/ext/standard/tests/class_object/is_a_variation_001.phpt index 406d09c1f2..4f77b9735a 100644 --- a/ext/standard/tests/class_object/is_a_variation_001.phpt +++ b/ext/standard/tests/class_object/is_a_variation_001.phpt @@ -2,11 +2,6 @@ Test is_a() function : usage variations - wrong type for arg 1 --FILE-- <?php -/* Prototype : proto bool is_a(object object, string class_name) - * Description: Returns true if the object is of this class or has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ // Note: basic use cases in Zend/tests/is_a.phpt echo "*** Testing is_a() : usage variations ***\n"; diff --git a/ext/standard/tests/class_object/is_a_variation_003.phpt b/ext/standard/tests/class_object/is_a_variation_003.phpt index 0813f28308..621cef1070 100644 --- a/ext/standard/tests/class_object/is_a_variation_003.phpt +++ b/ext/standard/tests/class_object/is_a_variation_003.phpt @@ -2,12 +2,6 @@ Test is_a() function : usage variations - case sensitivity --FILE-- <?php -/* Prototype : proto bool is_a(object object, string class_name) - * Description: Returns true if the object is of this class or has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing is_a() : usage variations ***\n"; class caseSensitivityTest {} diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt index 40af5d4468..f03841dbac 100644 --- a/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt +++ b/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt @@ -2,11 +2,6 @@ Test is_subclass_of() function : usage variations - unexpected type for arg 1 --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ // Note: basic use cases in Zend/tests/is_a.phpt spl_autoload_register(function ($className) { echo "In autoload($className)\n"; diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_003.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_003.phpt index 9f080ad699..e757084edb 100644 --- a/ext/standard/tests/class_object/is_subclass_of_variation_003.phpt +++ b/ext/standard/tests/class_object/is_subclass_of_variation_003.phpt @@ -2,12 +2,6 @@ Test is_subclass_of() function : usage variations - case sensitivity --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing is_subclass_of() : usage variations ***\n"; echo "*** Testing is_a() : usage variations ***\n"; diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt index eeec54af0d..d045a4c1a9 100644 --- a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt +++ b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt @@ -2,11 +2,6 @@ Test is_subclass_of() function : usage variations - unexpected type for arg 1 with valid class in arg 2. --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ // Note: basic use cases in Zend/tests/is_a.phpt spl_autoload_register(function ($className) { echo "In autoload($className)\n"; diff --git a/ext/standard/tests/class_object/method_exists_basic_001.phpt b/ext/standard/tests/class_object/method_exists_basic_001.phpt index 5d1e2c89df..32333ea5d5 100644 --- a/ext/standard/tests/class_object/method_exists_basic_001.phpt +++ b/ext/standard/tests/class_object/method_exists_basic_001.phpt @@ -2,12 +2,6 @@ method_exists() on userspace classes; static & non-static methods with various visibilities. --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - Class B { public function inherit_pub() {} protected function inherit_prot() {} diff --git a/ext/standard/tests/class_object/method_exists_basic_002.phpt b/ext/standard/tests/class_object/method_exists_basic_002.phpt index 36b4a6e692..70f85f8069 100644 --- a/ext/standard/tests/class_object/method_exists_basic_002.phpt +++ b/ext/standard/tests/class_object/method_exists_basic_002.phpt @@ -2,12 +2,6 @@ method_exists() on internal classes --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo " ---(Internal classes, using string class name)---\n"; echo "Does exception::getmessage exist? "; var_dump(method_exists("exception", "getmessage")); diff --git a/ext/standard/tests/class_object/method_exists_basic_003.phpt b/ext/standard/tests/class_object/method_exists_basic_003.phpt index 42225a8ebd..fb70b44b57 100644 --- a/ext/standard/tests/class_object/method_exists_basic_003.phpt +++ b/ext/standard/tests/class_object/method_exists_basic_003.phpt @@ -2,12 +2,6 @@ method_exists() on non-existent class, with __autoload(). --FILE-- <?php -/* Prototype : proto bool is_subclass_of(object object, string class_name) - * Description: Returns true if the object has this class as one of its parents - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - spl_autoload_register(function ($name) { echo "In autoload($name)\n"; }); diff --git a/ext/standard/tests/class_object/method_exists_variation_001.phpt b/ext/standard/tests/class_object/method_exists_variation_001.phpt index b408b8eb0d..5e6d34f550 100644 --- a/ext/standard/tests/class_object/method_exists_variation_001.phpt +++ b/ext/standard/tests/class_object/method_exists_variation_001.phpt @@ -2,12 +2,6 @@ Test method_exists() function : usage variations - unexpected type for arg 1 --FILE-- <?php -/* Prototype : proto bool method_exists(object object, string method) - * Description: Checks if the class method exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - spl_autoload_register(function ($className) { echo "In autoload($className)\n"; }); diff --git a/ext/standard/tests/class_object/method_exists_variation_003.phpt b/ext/standard/tests/class_object/method_exists_variation_003.phpt index 72b63f1e33..cf57e283dd 100644 --- a/ext/standard/tests/class_object/method_exists_variation_003.phpt +++ b/ext/standard/tests/class_object/method_exists_variation_003.phpt @@ -2,12 +2,6 @@ Test method_exists() function : variation - Case sensitivity --FILE-- <?php -/* Prototype : proto bool method_exists(object object, string method) - * Description: Checks if the class method exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing method_exists() : variation ***\n"; Class caseSensitivityTest { diff --git a/ext/standard/tests/class_object/property_exists_error.phpt b/ext/standard/tests/class_object/property_exists_error.phpt index dac3b0f9b1..3d8927882c 100644 --- a/ext/standard/tests/class_object/property_exists_error.phpt +++ b/ext/standard/tests/class_object/property_exists_error.phpt @@ -2,12 +2,6 @@ Test property_exists() function : error conditions --FILE-- <?php -/* Prototype : bool property_exists(mixed object_or_class, string property_name) - * Description: Checks if the object or class has a property - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing property_exists() : error conditions ***\n"; echo "\n-- Testing property_exists() function with incorrect arguments --\n"; diff --git a/ext/standard/tests/class_object/property_exists_variation1.phpt b/ext/standard/tests/class_object/property_exists_variation1.phpt index f32790a029..31ee90670b 100644 --- a/ext/standard/tests/class_object/property_exists_variation1.phpt +++ b/ext/standard/tests/class_object/property_exists_variation1.phpt @@ -2,12 +2,6 @@ Test property_exists() function : class auto loading --FILE-- <?php -/* Prototype : bool property_exists(mixed object_or_class, string property_name) - * Description: Checks if the object or class has a property - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing property_exists() : class auto loading ***\n"; spl_autoload_register(function ($class_name) { diff --git a/ext/standard/tests/class_object/trait_class_exists_variation_003.phpt b/ext/standard/tests/class_object/trait_class_exists_variation_003.phpt index c971af9a26..d689925093 100644 --- a/ext/standard/tests/class_object/trait_class_exists_variation_003.phpt +++ b/ext/standard/tests/class_object/trait_class_exists_variation_003.phpt @@ -2,12 +2,6 @@ Test trait_exists() function : usage variations - case sensitivity --FILE-- <?php -/* Prototype : proto bool trait_exists(string traitname [, bool autoload]) - * Description: Checks if the trait exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - trait caseSensitivityTest {} var_dump(trait_exists('casesensitivitytest')); diff --git a/ext/standard/tests/class_object/trait_exists_basic_001.phpt b/ext/standard/tests/class_object/trait_exists_basic_001.phpt index 55b92da0d2..654924dd3a 100644 --- a/ext/standard/tests/class_object/trait_exists_basic_001.phpt +++ b/ext/standard/tests/class_object/trait_exists_basic_001.phpt @@ -2,12 +2,6 @@ Test trait_exists() function : basic functionality --FILE-- <?php -/* Prototype : proto bool trait_exists(string traitname [, bool autoload]) - * Description: Checks if the trait exists - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "*** Testing trait_exists() : basic functionality ***\n"; spl_autoload_register(function ($traitName) { diff --git a/ext/standard/tests/dir/chdir_basic-win32-mb.phpt b/ext/standard/tests/dir/chdir_basic-win32-mb.phpt index 680ff8bd3d..1a6b5dbb79 100644 --- a/ext/standard/tests/dir/chdir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/chdir_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of chdir() with absolute and relative paths */ diff --git a/ext/standard/tests/dir/chdir_basic.phpt b/ext/standard/tests/dir/chdir_basic.phpt index 6a216f0362..fc81eaf9ff 100644 --- a/ext/standard/tests/dir/chdir_basic.phpt +++ b/ext/standard/tests/dir/chdir_basic.phpt @@ -2,11 +2,6 @@ Test chdir() function : basic functionality --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of chdir() with absolute and relative paths */ diff --git a/ext/standard/tests/dir/chdir_error2-win32-mb.phpt b/ext/standard/tests/dir/chdir_error2-win32-mb.phpt index 403dcef574..d2cab9574d 100644 --- a/ext/standard/tests/dir/chdir_error2-win32-mb.phpt +++ b/ext/standard/tests/dir/chdir_error2-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Pass a directory that does not exist as $directory to chdir() to test behaviour */ diff --git a/ext/standard/tests/dir/chdir_error2.phpt b/ext/standard/tests/dir/chdir_error2.phpt index 414ae1427c..afae17bc41 100644 --- a/ext/standard/tests/dir/chdir_error2.phpt +++ b/ext/standard/tests/dir/chdir_error2.phpt @@ -2,11 +2,6 @@ Test chdir() function : error conditions - Non-existent directory --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Pass a directory that does not exist as $directory to chdir() to test behaviour */ diff --git a/ext/standard/tests/dir/chdir_variation2-win32-mb.phpt b/ext/standard/tests/dir/chdir_variation2-win32-mb.phpt index 9e1b2e9aa0..9a9161923b 100644 --- a/ext/standard/tests/dir/chdir_variation2-win32-mb.phpt +++ b/ext/standard/tests/dir/chdir_variation2-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Test chdir() with variations of relative paths */ diff --git a/ext/standard/tests/dir/chdir_variation2.phpt b/ext/standard/tests/dir/chdir_variation2.phpt index acab454ef6..69ecdba952 100644 --- a/ext/standard/tests/dir/chdir_variation2.phpt +++ b/ext/standard/tests/dir/chdir_variation2.phpt @@ -2,11 +2,6 @@ Test chdir() function : usage variations - relative paths --FILE-- <?php -/* Prototype : bool chdir(string $directory) - * Description: Change the current directory - * Source code: ext/standard/dir.c - */ - /* * Test chdir() with variations of relative paths */ diff --git a/ext/standard/tests/dir/closedir_basic-win32-mb.phpt b/ext/standard/tests/dir/closedir_basic-win32-mb.phpt index 7db6b7740a..05cb1889c9 100644 --- a/ext/standard/tests/dir/closedir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/closedir_basic-win32-mb.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : void closedir([resource $dir_handle]) - * Description: Close directory connection identified by the dir_handle - * Source code: ext/standard/dir.c - * Alias to functions: close - */ - /* * Test basic functionality of closedir() */ diff --git a/ext/standard/tests/dir/closedir_basic.phpt b/ext/standard/tests/dir/closedir_basic.phpt index 5ec72cd8a5..aa4be6fbaf 100644 --- a/ext/standard/tests/dir/closedir_basic.phpt +++ b/ext/standard/tests/dir/closedir_basic.phpt @@ -2,12 +2,6 @@ Test closedir() function : basic functionality --FILE-- <?php -/* Prototype : void closedir([resource $dir_handle]) - * Description: Close directory connection identified by the dir_handle - * Source code: ext/standard/dir.c - * Alias to functions: close - */ - /* * Test basic functionality of closedir() */ diff --git a/ext/standard/tests/dir/closedir_variation2-win32-mb.phpt b/ext/standard/tests/dir/closedir_variation2-win32-mb.phpt index a4013676ff..9999cb8b10 100644 --- a/ext/standard/tests/dir/closedir_variation2-win32-mb.phpt +++ b/ext/standard/tests/dir/closedir_variation2-win32-mb.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : void closedir([resource $dir_handle]) - * Description: Close directory connection identified by the dir_handle - * Source code: ext/standard/dir.c - * Alias to functions: close - */ - /* * close the directory handle twice using closedir() to test behaviour */ diff --git a/ext/standard/tests/dir/closedir_variation2.phpt b/ext/standard/tests/dir/closedir_variation2.phpt index ee6e876ae8..e4b782c255 100644 --- a/ext/standard/tests/dir/closedir_variation2.phpt +++ b/ext/standard/tests/dir/closedir_variation2.phpt @@ -2,12 +2,6 @@ Test closedir() function : usage variations - close directory handle twice --FILE-- <?php -/* Prototype : void closedir([resource $dir_handle]) - * Description: Close directory connection identified by the dir_handle - * Source code: ext/standard/dir.c - * Alias to functions: close - */ - /* * close the directory handle twice using closedir() to test behaviour */ diff --git a/ext/standard/tests/dir/closedir_variation3.phpt b/ext/standard/tests/dir/closedir_variation3.phpt index 0f50c1db03..053c8a947e 100644 --- a/ext/standard/tests/dir/closedir_variation3.phpt +++ b/ext/standard/tests/dir/closedir_variation3.phpt @@ -2,12 +2,6 @@ Test closedir() function : usage variations - close a file pointer --FILE-- <?php -/* Prototype : void closedir([resource $dir_handle]) - * Description: Close directory connection identified by the dir_handle - * Source code: ext/standard/dir.c - * Alias to functions: close - */ - /* * Create a file pointer using fopen() then try to close it using closedir() */ diff --git a/ext/standard/tests/dir/dir_basic-win32-mb.phpt b/ext/standard/tests/dir/dir_basic-win32-mb.phpt index 2106bc37d6..74e2cda6f0 100644 --- a/ext/standard/tests/dir/dir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/dir_basic-win32-mb.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - echo "*** Testing dir() : basic functionality ***\n"; // include the file.inc for Function: function create_files() diff --git a/ext/standard/tests/dir/dir_basic.phpt b/ext/standard/tests/dir/dir_basic.phpt index 15f8061b7b..d474122ba2 100644 --- a/ext/standard/tests/dir/dir_basic.phpt +++ b/ext/standard/tests/dir/dir_basic.phpt @@ -2,12 +2,6 @@ Test dir() function : basic functionality --FILE-- <?php -/* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - echo "*** Testing dir() : basic functionality ***\n"; // include the file.inc for Function: function create_files() diff --git a/ext/standard/tests/dir/dir_variation3.phpt b/ext/standard/tests/dir/dir_variation3.phpt index 8873c715cb..585e5deabe 100644 --- a/ext/standard/tests/dir/dir_variation3.phpt +++ b/ext/standard/tests/dir/dir_variation3.phpt @@ -10,12 +10,6 @@ require __DIR__ . '/../skipif_root.inc'; --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Providing various permissions to the directory to be opened and checking * to see if dir() function opens the directory successfully. */ diff --git a/ext/standard/tests/dir/dir_variation4-win32-mb.phpt b/ext/standard/tests/dir/dir_variation4-win32-mb.phpt index cdb9711f23..10860ac0b0 100644 --- a/ext/standard/tests/dir/dir_variation4-win32-mb.phpt +++ b/ext/standard/tests/dir/dir_variation4-win32-mb.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Testing the behavior of dir() function by trying to open a * directory which is already open. */ diff --git a/ext/standard/tests/dir/dir_variation4.phpt b/ext/standard/tests/dir/dir_variation4.phpt index c0c8dda2b7..898bfb6b0a 100644 --- a/ext/standard/tests/dir/dir_variation4.phpt +++ b/ext/standard/tests/dir/dir_variation4.phpt @@ -3,12 +3,6 @@ Test dir() function : usage variations - operate on previously opened directory --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Testing the behavior of dir() function by trying to open a * directory which is already open. */ diff --git a/ext/standard/tests/dir/dir_variation5.phpt b/ext/standard/tests/dir/dir_variation5.phpt index 7492ee55fe..41a29760eb 100644 --- a/ext/standard/tests/dir/dir_variation5.phpt +++ b/ext/standard/tests/dir/dir_variation5.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Passing a file as argument to dir() function instead of a directory * and checking if proper warning message is generated. */ diff --git a/ext/standard/tests/dir/dir_variation6.phpt b/ext/standard/tests/dir/dir_variation6.phpt index ca0a47e818..0f9c14b91d 100644 --- a/ext/standard/tests/dir/dir_variation6.phpt +++ b/ext/standard/tests/dir/dir_variation6.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Passing a non-existent directory as argument to dir() function * and checking to see if proper warning message is output. */ diff --git a/ext/standard/tests/dir/dir_variation7.phpt b/ext/standard/tests/dir/dir_variation7.phpt index 5083c66d7a..2b245fd612 100644 --- a/ext/standard/tests/dir/dir_variation7.phpt +++ b/ext/standard/tests/dir/dir_variation7.phpt @@ -10,12 +10,6 @@ require __DIR__ . '/../skipif_root.inc'; --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * remove the execute permission from the parent dir and test dir() on child dir * 1) remove write & execute permission from the 1st parent and test dir() * 2) remove execute permission from 2nd parent and test dir() diff --git a/ext/standard/tests/dir/dir_variation8.phpt b/ext/standard/tests/dir/dir_variation8.phpt index 3b5aecb8a3..38d60a0390 100644 --- a/ext/standard/tests/dir/dir_variation8.phpt +++ b/ext/standard/tests/dir/dir_variation8.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Create more than one temporary directory & subdirectory and check if dir() function can open * those directories when wildcard characters are used to refer to them. */ diff --git a/ext/standard/tests/dir/dir_variation9.phpt b/ext/standard/tests/dir/dir_variation9.phpt index 5b398c383c..88ea69cb3d 100644 --- a/ext/standard/tests/dir/dir_variation9.phpt +++ b/ext/standard/tests/dir/dir_variation9.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { --FILE-- <?php /* - * Prototype : object dir(string $directory[, resource $context]) - * Description: Directory class with properties, handle and class and methods read, rewind and close - * Source code: ext/standard/dir.c - */ - -/* * Checking the behavior of dir() function by passing directories which * have valid and invalid relative path. */ diff --git a/ext/standard/tests/dir/getcwd_basic-win32-mb.phpt b/ext/standard/tests/dir/getcwd_basic-win32-mb.phpt index accb70243d..2c483dd6b0 100644 --- a/ext/standard/tests/dir/getcwd_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/getcwd_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed getcwd(void) - * Description: Gets the current directory - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of getcwd() */ diff --git a/ext/standard/tests/dir/getcwd_basic.phpt b/ext/standard/tests/dir/getcwd_basic.phpt index 0067312041..acadb07ce9 100644 --- a/ext/standard/tests/dir/getcwd_basic.phpt +++ b/ext/standard/tests/dir/getcwd_basic.phpt @@ -2,11 +2,6 @@ Test getcwd() function : basic functionality --FILE-- <?php -/* Prototype : mixed getcwd(void) - * Description: Gets the current directory - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of getcwd() */ diff --git a/ext/standard/tests/dir/opendir_basic-win32-mb.phpt b/ext/standard/tests/dir/opendir_basic-win32-mb.phpt index 340561b218..3889f4f1ff 100644 --- a/ext/standard/tests/dir/opendir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/opendir_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of opendir() with absolute and relative paths as $path argument */ diff --git a/ext/standard/tests/dir/opendir_basic.phpt b/ext/standard/tests/dir/opendir_basic.phpt index 6947e77952..f7b96e9778 100644 --- a/ext/standard/tests/dir/opendir_basic.phpt +++ b/ext/standard/tests/dir/opendir_basic.phpt @@ -2,11 +2,6 @@ Test opendir() function : basic functionality --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of opendir() with absolute and relative paths as $path argument */ diff --git a/ext/standard/tests/dir/opendir_error2.phpt b/ext/standard/tests/dir/opendir_error2.phpt index 5d7128921b..32371f9178 100644 --- a/ext/standard/tests/dir/opendir_error2.phpt +++ b/ext/standard/tests/dir/opendir_error2.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass a non-existent directory as $path argument to opendir() to test behaviour */ diff --git a/ext/standard/tests/dir/opendir_variation3-win32-mb.phpt b/ext/standard/tests/dir/opendir_variation3-win32-mb.phpt index 82f2a330d0..cdd2205e35 100644 --- a/ext/standard/tests/dir/opendir_variation3-win32-mb.phpt +++ b/ext/standard/tests/dir/opendir_variation3-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Call opendir() twice with the same directory as $path argument */ diff --git a/ext/standard/tests/dir/opendir_variation3.phpt b/ext/standard/tests/dir/opendir_variation3.phpt index 2169684fba..6df622eade 100644 --- a/ext/standard/tests/dir/opendir_variation3.phpt +++ b/ext/standard/tests/dir/opendir_variation3.phpt @@ -2,11 +2,6 @@ Test opendir() function : usage variations - open a directory twice --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Call opendir() twice with the same directory as $path argument */ diff --git a/ext/standard/tests/dir/opendir_variation4-win32-mb.phpt b/ext/standard/tests/dir/opendir_variation4-win32-mb.phpt index 00d09985de..41808c5764 100644 --- a/ext/standard/tests/dir/opendir_variation4-win32-mb.phpt +++ b/ext/standard/tests/dir/opendir_variation4-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Test opendir() with different relative paths as $path argument */ diff --git a/ext/standard/tests/dir/opendir_variation4.phpt b/ext/standard/tests/dir/opendir_variation4.phpt index c206ac4d1e..8913815b26 100644 --- a/ext/standard/tests/dir/opendir_variation4.phpt +++ b/ext/standard/tests/dir/opendir_variation4.phpt @@ -2,11 +2,6 @@ Test opendir() function : usage variations - different relative paths --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Test opendir() with different relative paths as $path argument */ diff --git a/ext/standard/tests/dir/opendir_variation5.phpt b/ext/standard/tests/dir/opendir_variation5.phpt index 15e6e16c8f..59c8f072fa 100644 --- a/ext/standard/tests/dir/opendir_variation5.phpt +++ b/ext/standard/tests/dir/opendir_variation5.phpt @@ -9,11 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * remove the execute permission from the parent dir and test opendir() on child dir * 1) remove write & execute permission from the 1st parent and test opendir() diff --git a/ext/standard/tests/dir/opendir_variation6-win32.phpt b/ext/standard/tests/dir/opendir_variation6-win32.phpt index 60957b5f9c..e2f42359d1 100644 --- a/ext/standard/tests/dir/opendir_variation6-win32.phpt +++ b/ext/standard/tests/dir/opendir_variation6-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass paths containing wildcards to test if opendir() recognises them */ diff --git a/ext/standard/tests/dir/opendir_variation6.phpt b/ext/standard/tests/dir/opendir_variation6.phpt index da91798dd3..7e3046f9af 100644 --- a/ext/standard/tests/dir/opendir_variation6.phpt +++ b/ext/standard/tests/dir/opendir_variation6.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass paths containing wildcards to test if opendir() recognises them */ diff --git a/ext/standard/tests/dir/opendir_variation7.phpt b/ext/standard/tests/dir/opendir_variation7.phpt index aa45f443f0..79d4c49310 100644 --- a/ext/standard/tests/dir/opendir_variation7.phpt +++ b/ext/standard/tests/dir/opendir_variation7.phpt @@ -9,11 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : mixed opendir(string $path[, resource $context]) - * Description: Open a directory and return a dir_handle - * Source code: ext/standard/dir.c - */ - /* * Open a directory using opendir() with different directory permissions */ diff --git a/ext/standard/tests/dir/readdir_basic-win32-mb.phpt b/ext/standard/tests/dir/readdir_basic-win32-mb.phpt index 7b371ec3ac..d7e0804d57 100644 --- a/ext/standard/tests/dir/readdir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/readdir_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.C - */ - /* * Test basic functionality of readdir() */ diff --git a/ext/standard/tests/dir/readdir_basic.phpt b/ext/standard/tests/dir/readdir_basic.phpt index 16437eb5a6..01ddd694ad 100644 --- a/ext/standard/tests/dir/readdir_basic.phpt +++ b/ext/standard/tests/dir/readdir_basic.phpt @@ -2,11 +2,6 @@ Test readdir() function : basic functionality --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.C - */ - /* * Test basic functionality of readdir() */ diff --git a/ext/standard/tests/dir/readdir_variation2-win32-mb.phpt b/ext/standard/tests/dir/readdir_variation2-win32-mb.phpt index 4e0a8d7158..408a089101 100644 --- a/ext/standard/tests/dir/readdir_variation2-win32-mb.phpt +++ b/ext/standard/tests/dir/readdir_variation2-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass readdir() a directory handle pointing to an empty directory to test behaviour */ diff --git a/ext/standard/tests/dir/readdir_variation2.phpt b/ext/standard/tests/dir/readdir_variation2.phpt index 979c4f4057..03854f3b62 100644 --- a/ext/standard/tests/dir/readdir_variation2.phpt +++ b/ext/standard/tests/dir/readdir_variation2.phpt @@ -2,11 +2,6 @@ Test readdir() function : usage variations - empty directories --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass readdir() a directory handle pointing to an empty directory to test behaviour */ diff --git a/ext/standard/tests/dir/readdir_variation3-win32-mb.phpt b/ext/standard/tests/dir/readdir_variation3-win32-mb.phpt index 594838fe11..bac3ec3ea7 100644 --- a/ext/standard/tests/dir/readdir_variation3-win32-mb.phpt +++ b/ext/standard/tests/dir/readdir_variation3-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass a directory handle pointing to a directory that has a sub-directory * to test behaviour of readdir() diff --git a/ext/standard/tests/dir/readdir_variation3.phpt b/ext/standard/tests/dir/readdir_variation3.phpt index 6cc6f9e0a4..f426967742 100644 --- a/ext/standard/tests/dir/readdir_variation3.phpt +++ b/ext/standard/tests/dir/readdir_variation3.phpt @@ -2,11 +2,6 @@ Test readdir() function : usage variations - sub-directories --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass a directory handle pointing to a directory that has a sub-directory * to test behaviour of readdir() diff --git a/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt b/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt index c2bf8b1616..27ef37cecc 100644 --- a/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt +++ b/ext/standard/tests/dir/readdir_variation4-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass a directory handle pointing to a directory that contains * files with different file names to test how readdir() reads them diff --git a/ext/standard/tests/dir/readdir_variation4.phpt b/ext/standard/tests/dir/readdir_variation4.phpt index 37e5b80ecb..a0e21c2be6 100644 --- a/ext/standard/tests/dir/readdir_variation4.phpt +++ b/ext/standard/tests/dir/readdir_variation4.phpt @@ -2,11 +2,6 @@ Test readdir() function : usage variations - different file names --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Pass a directory handle pointing to a directory that contains * files with different file names to test how readdir() reads them diff --git a/ext/standard/tests/dir/readdir_variation5.phpt b/ext/standard/tests/dir/readdir_variation5.phpt index d1cdc1bd58..7149071e0c 100644 --- a/ext/standard/tests/dir/readdir_variation5.phpt +++ b/ext/standard/tests/dir/readdir_variation5.phpt @@ -9,11 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Open a directory with different premissions then try to read it * to test behaviour of readdir() diff --git a/ext/standard/tests/dir/readdir_variation6-win32-mb.phpt b/ext/standard/tests/dir/readdir_variation6-win32-mb.phpt index 806fdec87e..91062e76bd 100644 --- a/ext/standard/tests/dir/readdir_variation6-win32-mb.phpt +++ b/ext/standard/tests/dir/readdir_variation6-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Open two directory handles on the same directory and pass both * to readdir() to test behaviour diff --git a/ext/standard/tests/dir/readdir_variation6.phpt b/ext/standard/tests/dir/readdir_variation6.phpt index 532a20fd21..b017789f31 100644 --- a/ext/standard/tests/dir/readdir_variation6.phpt +++ b/ext/standard/tests/dir/readdir_variation6.phpt @@ -2,11 +2,6 @@ Test readdir() function : usage variations - operate on previously opened directory --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Open two directory handles on the same directory and pass both * to readdir() to test behaviour diff --git a/ext/standard/tests/dir/readdir_variation7.phpt b/ext/standard/tests/dir/readdir_variation7.phpt index 79511ccf8b..b3e3d88ccd 100644 --- a/ext/standard/tests/dir/readdir_variation7.phpt +++ b/ext/standard/tests/dir/readdir_variation7.phpt @@ -2,11 +2,6 @@ Test readdir() function : usage variations - use file pointers --FILE-- <?php -/* Prototype : string readdir([resource $dir_handle]) - * Description: Read directory entry from dir_handle - * Source code: ext/standard/dir.c - */ - /* * Open a file pointer using fopen and pass to readdir() to test behaviour */ diff --git a/ext/standard/tests/dir/rewinddir_basic-win32-mb.phpt b/ext/standard/tests/dir/rewinddir_basic-win32-mb.phpt index fc5539666d..a20501d3ca 100644 --- a/ext/standard/tests/dir/rewinddir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/rewinddir_basic-win32-mb.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : void rewinddir([resource $dir_handle]) - * Description: Rewind dir_handle back to the start - * Source code: ext/standard/dir.c - * Alias to functions: rewind - */ - /* * Test basic functionality of rewinddir() */ diff --git a/ext/standard/tests/dir/rewinddir_basic.phpt b/ext/standard/tests/dir/rewinddir_basic.phpt index 714d75266c..faee6b9bd6 100644 --- a/ext/standard/tests/dir/rewinddir_basic.phpt +++ b/ext/standard/tests/dir/rewinddir_basic.phpt @@ -2,12 +2,6 @@ Test rewinddir() function : basic functionality --FILE-- <?php -/* Prototype : void rewinddir([resource $dir_handle]) - * Description: Rewind dir_handle back to the start - * Source code: ext/standard/dir.c - * Alias to functions: rewind - */ - /* * Test basic functionality of rewinddir() */ diff --git a/ext/standard/tests/dir/rewinddir_variation2-win32-mb.phpt b/ext/standard/tests/dir/rewinddir_variation2-win32-mb.phpt index 7d86575b6d..ab639c7f24 100644 --- a/ext/standard/tests/dir/rewinddir_variation2-win32-mb.phpt +++ b/ext/standard/tests/dir/rewinddir_variation2-win32-mb.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : void rewinddir([resource $dir_handle]) - * Description: Rewind dir_handle back to the start - * Source code: ext/standard/dir.c - * Alias to functions: rewind - */ - /* * Open and close a directory handle then call rewinddir() to test behaviour */ diff --git a/ext/standard/tests/dir/rewinddir_variation2.phpt b/ext/standard/tests/dir/rewinddir_variation2.phpt index 9294d68b46..654c68cecb 100644 --- a/ext/standard/tests/dir/rewinddir_variation2.phpt +++ b/ext/standard/tests/dir/rewinddir_variation2.phpt @@ -2,12 +2,6 @@ Test rewinddir() function : usage variations - operate on a closed directory --FILE-- <?php -/* Prototype : void rewinddir([resource $dir_handle]) - * Description: Rewind dir_handle back to the start - * Source code: ext/standard/dir.c - * Alias to functions: rewind - */ - /* * Open and close a directory handle then call rewinddir() to test behaviour */ diff --git a/ext/standard/tests/dir/rewinddir_variation3.phpt b/ext/standard/tests/dir/rewinddir_variation3.phpt index 7619f82ecf..21bddca103 100644 --- a/ext/standard/tests/dir/rewinddir_variation3.phpt +++ b/ext/standard/tests/dir/rewinddir_variation3.phpt @@ -2,12 +2,6 @@ Test rewinddir() function : usage variations - file pointers --FILE-- <?php -/* Prototype : void rewinddir([resource $dir_handle]) - * Description: Rewind dir_handle back to the start - * Source code: ext/standard/dir.c - * Alias to functions: rewind - */ - /* * Pass a file pointer to rewinddir() to test behaviour */ diff --git a/ext/standard/tests/dir/scandir_basic-win32-mb.phpt b/ext/standard/tests/dir/scandir_basic-win32-mb.phpt index 501a3c54c5..87e6e7e6da 100644 --- a/ext/standard/tests/dir/scandir_basic-win32-mb.phpt +++ b/ext/standard/tests/dir/scandir_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of scandir() */ diff --git a/ext/standard/tests/dir/scandir_basic.phpt b/ext/standard/tests/dir/scandir_basic.phpt index e31ef6ea41..d86aa29142 100644 --- a/ext/standard/tests/dir/scandir_basic.phpt +++ b/ext/standard/tests/dir/scandir_basic.phpt @@ -2,11 +2,6 @@ Test scandir() function : basic functionality --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Test basic functionality of scandir() */ diff --git a/ext/standard/tests/dir/scandir_error2.phpt b/ext/standard/tests/dir/scandir_error2.phpt index d8eefc3992..d17feb1136 100644 --- a/ext/standard/tests/dir/scandir_error2.phpt +++ b/ext/standard/tests/dir/scandir_error2.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass a directory that does not exist to scandir() to test error messages */ diff --git a/ext/standard/tests/dir/scandir_variation10-win32-mb.phpt b/ext/standard/tests/dir/scandir_variation10-win32-mb.phpt index 120e12e6e7..69f55bc53b 100644 --- a/ext/standard/tests/dir/scandir_variation10-win32-mb.phpt +++ b/ext/standard/tests/dir/scandir_variation10-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - printf("SCANDIR_SORT_ASCENDING: %d\n", SCANDIR_SORT_ASCENDING); printf("SCANDIR_SORT_DESCENDING: %d\n", SCANDIR_SORT_DESCENDING); printf("SCANDIR_SORT_NONE: %d\n", SCANDIR_SORT_NONE); diff --git a/ext/standard/tests/dir/scandir_variation10.phpt b/ext/standard/tests/dir/scandir_variation10.phpt index 1de1e9752c..35df3c3e75 100644 --- a/ext/standard/tests/dir/scandir_variation10.phpt +++ b/ext/standard/tests/dir/scandir_variation10.phpt @@ -2,11 +2,6 @@ Test scandir() function : usage variations - different sorting constants --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - printf("SCANDIR_SORT_ASCENDING: %d\n", SCANDIR_SORT_ASCENDING); printf("SCANDIR_SORT_DESCENDING: %d\n", SCANDIR_SORT_DESCENDING); printf("SCANDIR_SORT_NONE: %d\n", SCANDIR_SORT_NONE); diff --git a/ext/standard/tests/dir/scandir_variation4-win32-mb.phpt b/ext/standard/tests/dir/scandir_variation4-win32-mb.phpt index 88389c6f92..fe646956bf 100644 --- a/ext/standard/tests/dir/scandir_variation4-win32-mb.phpt +++ b/ext/standard/tests/dir/scandir_variation4-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Test scandir() with relative paths as $dir argument */ diff --git a/ext/standard/tests/dir/scandir_variation4.phpt b/ext/standard/tests/dir/scandir_variation4.phpt index afaa17dee7..6d4d5c5412 100644 --- a/ext/standard/tests/dir/scandir_variation4.phpt +++ b/ext/standard/tests/dir/scandir_variation4.phpt @@ -2,11 +2,6 @@ Test scandir() function : usage variations - different relative paths --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Test scandir() with relative paths as $dir argument */ diff --git a/ext/standard/tests/dir/scandir_variation5.phpt b/ext/standard/tests/dir/scandir_variation5.phpt index 459ce146ee..da20b5289e 100644 --- a/ext/standard/tests/dir/scandir_variation5.phpt +++ b/ext/standard/tests/dir/scandir_variation5.phpt @@ -9,11 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * remove the execute permission from the parent dir and test scandir() on child dir * 1. remove write & execute permission from the 1st parent and test scandir() diff --git a/ext/standard/tests/dir/scandir_variation6.phpt b/ext/standard/tests/dir/scandir_variation6.phpt index 8947293818..60f64b5b60 100644 --- a/ext/standard/tests/dir/scandir_variation6.phpt +++ b/ext/standard/tests/dir/scandir_variation6.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass a directory path using wildcards as $dir argument to test how scandir() behaves */ diff --git a/ext/standard/tests/dir/scandir_variation7.phpt b/ext/standard/tests/dir/scandir_variation7.phpt index eb4c7e9d21..8562576456 100644 --- a/ext/standard/tests/dir/scandir_variation7.phpt +++ b/ext/standard/tests/dir/scandir_variation7.phpt @@ -9,11 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Create directories with different permissions to test whether scandir() can access them */ diff --git a/ext/standard/tests/dir/scandir_variation8-win32-mb.phpt b/ext/standard/tests/dir/scandir_variation8-win32-mb.phpt index e353dc3725..1728fa618f 100644 --- a/ext/standard/tests/dir/scandir_variation8-win32-mb.phpt +++ b/ext/standard/tests/dir/scandir_variation8-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass a directory containing files with different types of names to test how scandir() * reads them diff --git a/ext/standard/tests/dir/scandir_variation8.phpt b/ext/standard/tests/dir/scandir_variation8.phpt index 1eec187f70..928346132e 100644 --- a/ext/standard/tests/dir/scandir_variation8.phpt +++ b/ext/standard/tests/dir/scandir_variation8.phpt @@ -2,11 +2,6 @@ Test scandir() function : usage variations - different file names --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass a directory containing files with different types of names to test how scandir() * reads them diff --git a/ext/standard/tests/dir/scandir_variation9-win32-mb.phpt b/ext/standard/tests/dir/scandir_variation9-win32-mb.phpt index c609975dda..44d8b6daa5 100644 --- a/ext/standard/tests/dir/scandir_variation9-win32-mb.phpt +++ b/ext/standard/tests/dir/scandir_variation9-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass different integers as $sorting_order argument to test how scandir() * re-orders the array diff --git a/ext/standard/tests/dir/scandir_variation9.phpt b/ext/standard/tests/dir/scandir_variation9.phpt index 7e623c0e6f..56e5575e55 100644 --- a/ext/standard/tests/dir/scandir_variation9.phpt +++ b/ext/standard/tests/dir/scandir_variation9.phpt @@ -2,11 +2,6 @@ Test scandir() function : usage variations - different ints as $sorting_order arg --FILE-- <?php -/* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) - * Description: List files & directories inside the specified path - * Source code: ext/standard/dir.c - */ - /* * Pass different integers as $sorting_order argument to test how scandir() * re-orders the array diff --git a/ext/standard/tests/directory/DirectoryClass_basic_001.phpt b/ext/standard/tests/directory/DirectoryClass_basic_001.phpt index d68f4d1bf5..355a49452d 100644 --- a/ext/standard/tests/directory/DirectoryClass_basic_001.phpt +++ b/ext/standard/tests/directory/DirectoryClass_basic_001.phpt @@ -3,7 +3,6 @@ Directory class behaviour. --FILE-- <?php /* - * Prototype: object dir(string directory[, resource context]) * Description: Directory class with properties, handle and class and methods read, rewind and close * Class is defined in ext/standard/dir.c */ diff --git a/ext/standard/tests/file/005_basic.phpt b/ext/standard/tests/file/005_basic.phpt index 242110cef3..3f68e0102e 100644 --- a/ext/standard/tests/file/005_basic.phpt +++ b/ext/standard/tests/file/005_basic.phpt @@ -2,23 +2,6 @@ Test fileatime(), filemtime(), filectime() & touch() functions : basic functionality --FILE-- <?php -/* - Prototype: int fileatime ( string $filename ); - Description: Returns the time the file was last accessed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: int filemtime ( string $filename ); - Description: Returns the time the file was last modified, or FALSE - in case of an error. - - Prototype: int filectime ( string $filename ); - Description: Returns the time the file was last changed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); - Description: Attempts to set the access and modification times of the file - named in the filename parameter to the value given in time. -*/ echo "*** Testing the basic functionality with file ***\n"; print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n"; diff --git a/ext/standard/tests/file/005_error.phpt b/ext/standard/tests/file/005_error.phpt index bc2bf3f978..b44d3a0623 100644 --- a/ext/standard/tests/file/005_error.phpt +++ b/ext/standard/tests/file/005_error.phpt @@ -2,23 +2,6 @@ Test fileatime(), filemtime(), filectime() & touch() functions : error conditions --FILE-- <?php -/* - Prototype: int fileatime ( string $filename ); - Description: Returns the time the file was last accessed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: int filemtime ( string $filename ); - Description: Returns the time the file was last modified, or FALSE - in case of an error. - - Prototype: int filectime ( string $filename ); - Description: Returns the time the file was last changed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); - Description: Attempts to set the access and modification times of the file - named in the filename parameter to the value given in time. -*/ echo "*** Testing error conditions ***\n"; diff --git a/ext/standard/tests/file/005_variation-win32.phpt b/ext/standard/tests/file/005_variation-win32.phpt index 42502b6509..ba58369a29 100644 --- a/ext/standard/tests/file/005_variation-win32.phpt +++ b/ext/standard/tests/file/005_variation-win32.phpt @@ -8,28 +8,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: int fileatime ( string $filename ); - Description: Returns the time the file was last accessed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: int filemtime ( string $filename ); - Description: Returns the time the file was last modified, or FALSE - in case of an error. - - Prototype: int filectime ( string $filename ); - Description: Returns the time the file was last changed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); - Description: Attempts to set the access and modification times of the file - named in the filename parameter to the value given in time. -*/ - -/* - Prototype: void stat_fn(string $filename); - Description: Prints access, modification and change times of a file -*/ + function stat_fn( $filename ) { echo "-- File access time is => "; print( @date( 'Y:M:D:H:i:s', fileatime($filename) ) )."\n"; diff --git a/ext/standard/tests/file/005_variation2-win32.phpt b/ext/standard/tests/file/005_variation2-win32.phpt index 63b3c1db67..407f51a4d1 100644 --- a/ext/standard/tests/file/005_variation2-win32.phpt +++ b/ext/standard/tests/file/005_variation2-win32.phpt @@ -10,28 +10,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: int fileatime ( string $filename ); - Description: Returns the time the file was last accessed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: int filemtime ( string $filename ); - Description: Returns the time the file was last modified, or FALSE - in case of an error. - - Prototype: int filectime ( string $filename ); - Description: Returns the time the file was last changed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); - Description: Attempts to set the access and modification times of the file - named in the filename parameter to the value given in time. -*/ - -/* - Prototype: void stat_fn(string $filename); - Description: Prints access, modification and change times of a file -*/ + function stat_fn( $filename ) { echo "\n-- File '$filename' --\n"; echo "-- File access time is => "; diff --git a/ext/standard/tests/file/005_variation2.phpt b/ext/standard/tests/file/005_variation2.phpt index f365174a84..5a878a687b 100644 --- a/ext/standard/tests/file/005_variation2.phpt +++ b/ext/standard/tests/file/005_variation2.phpt @@ -10,28 +10,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: int fileatime ( string $filename ); - Description: Returns the time the file was last accessed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - Prototype: int filemtime ( string $filename ); - Description: Returns the time the file was last modified, or FALSE - in case of an error. - - Prototype: int filectime ( string $filename ); - Description: Returns the time the file was last changed, or FALSE - in case of an error. The time is returned as a Unix timestamp. - - Prototype: bool touch ( string $filename [, int $time [, int $atime]] ); - Description: Attempts to set the access and modification times of the file - named in the filename parameter to the value given in time. -*/ - -/* - Prototype: void stat_fn(string $filename); - Description: Prints access, modification and change times of a file -*/ function stat_fn( $filename ) { echo "\n-- File '$filename' --\n"; echo "-- File access time is => "; diff --git a/ext/standard/tests/file/006_basic.phpt b/ext/standard/tests/file/006_basic.phpt index 43c9b86ab0..17092ce02e 100644 --- a/ext/standard/tests/file/006_basic.phpt +++ b/ext/standard/tests/file/006_basic.phpt @@ -9,14 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* - Prototype: int fileperms ( string $filename ); - Description: Returns the permissions on the file, or FALSE in case of an error - - Prototype: bool chmod ( string $filename, int $mode ); - Description: Attempts to change the mode of the file specified by - filename to that given in mode -*/ $path = __DIR__; echo "*** Testing fileperms(), chmod() with files and dirs ***\n"; diff --git a/ext/standard/tests/file/006_error.phpt b/ext/standard/tests/file/006_error.phpt index 9234922790..ce3fdf2854 100644 --- a/ext/standard/tests/file/006_error.phpt +++ b/ext/standard/tests/file/006_error.phpt @@ -9,15 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* - Prototype: int fileperms ( string $filename ) - Description: Returns the permissions on the file, or FALSE in case of an error - - Prototype: bool chmod ( string $filename, int $mode ) - Description: Attempts to change the mode of the file specified by - filename to that given in mode -*/ - echo "*** Testing error conditions for fileperms(), chmod() ***\n"; /* With standard files and dirs */ diff --git a/ext/standard/tests/file/006_variation1.phpt b/ext/standard/tests/file/006_variation1.phpt index 5a90ea6fb3..9d523b956b 100644 --- a/ext/standard/tests/file/006_variation1.phpt +++ b/ext/standard/tests/file/006_variation1.phpt @@ -9,15 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* - Prototype: int fileperms ( string $filename ); - Description: Returns the permissions on the file, or FALSE in case of an error - - Prototype: bool chmod ( string $filename, int $mode ); - Description: Attempts to change the mode of the file specified by - filename to that given in mode -*/ - echo "*** Testing fileperms() & chmod() : usage variations ***\n"; $file_name = __DIR__."/006_variation1.tmp"; diff --git a/ext/standard/tests/file/006_variation2.phpt b/ext/standard/tests/file/006_variation2.phpt index 1195d422a4..72efa07032 100644 --- a/ext/standard/tests/file/006_variation2.phpt +++ b/ext/standard/tests/file/006_variation2.phpt @@ -9,15 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* - Prototype: int fileperms ( string $filename ); - Description: Returns the permissions on the file, or FALSE in case of an error - - Prototype: bool chmod ( string $filename, int $mode ); - Description: Attempts to change the mode of the file specified by - filename to that given in mode -*/ - /* Testing with miscellaneous Permission */ echo "*** Testing fileperms() & chmod() : usage variations ***\n"; diff --git a/ext/standard/tests/file/007_basic.phpt b/ext/standard/tests/file/007_basic.phpt index fa25431580..3e30ebf689 100644 --- a/ext/standard/tests/file/007_basic.phpt +++ b/ext/standard/tests/file/007_basic.phpt @@ -2,18 +2,6 @@ Test fopen(), fclose() & feof() functions: basic functionality --FILE-- <?php -/* - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. - - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer - - Prototype: bool feof ( resource $handle ); - Description: Tests for end-of-file on a file pointer -*/ - echo "*** Testing basic operations of fopen() and fclose() functions ***\n"; $modes = array( "w", diff --git a/ext/standard/tests/file/007_variation1.phpt b/ext/standard/tests/file/007_variation1.phpt index 5de97e32cc..1ddc00d3eb 100644 --- a/ext/standard/tests/file/007_variation1.phpt +++ b/ext/standard/tests/file/007_variation1.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "r" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "r" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation10.phpt b/ext/standard/tests/file/007_variation10.phpt index 7f163265aa..2972bd2f84 100644 --- a/ext/standard/tests/file/007_variation10.phpt +++ b/ext/standard/tests/file/007_variation10.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "r+t" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "r+t" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation11-win32-mb.phpt b/ext/standard/tests/file/007_variation11-win32-mb.phpt index 785305c927..aea248c4eb 100644 --- a/ext/standard/tests/file/007_variation11-win32-mb.phpt +++ b/ext/standard/tests/file/007_variation11-win32-mb.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "wt" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation11-win32.phpt b/ext/standard/tests/file/007_variation11-win32.phpt index 619f51a208..da8c586f99 100644 --- a/ext/standard/tests/file/007_variation11-win32.phpt +++ b/ext/standard/tests/file/007_variation11-win32.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "wt" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation11.phpt b/ext/standard/tests/file/007_variation11.phpt index 817e92bdea..4e38b5e2a4 100644 --- a/ext/standard/tests/file/007_variation11.phpt +++ b/ext/standard/tests/file/007_variation11.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "wt" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation12-win32.phpt b/ext/standard/tests/file/007_variation12-win32.phpt index 08a3ff80d8..1aa2e94286 100644 --- a/ext/standard/tests/file/007_variation12-win32.phpt +++ b/ext/standard/tests/file/007_variation12-win32.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "w+t" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation12.phpt b/ext/standard/tests/file/007_variation12.phpt index f75ef8df96..e3d1526998 100644 --- a/ext/standard/tests/file/007_variation12.phpt +++ b/ext/standard/tests/file/007_variation12.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "w+t" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation13-win32.phpt b/ext/standard/tests/file/007_variation13-win32.phpt index dcb3c83670..b5d57995ec 100644 --- a/ext/standard/tests/file/007_variation13-win32.phpt +++ b/ext/standard/tests/file/007_variation13-win32.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "at" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation13.phpt b/ext/standard/tests/file/007_variation13.phpt index 09fbb237a3..3daeba3a12 100644 --- a/ext/standard/tests/file/007_variation13.phpt +++ b/ext/standard/tests/file/007_variation13.phpt @@ -7,17 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "at" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation14.phpt b/ext/standard/tests/file/007_variation14.phpt index 405a6a2dfe..b94df4b413 100644 --- a/ext/standard/tests/file/007_variation14.phpt +++ b/ext/standard/tests/file/007_variation14.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "a+t" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "a+t" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation15.phpt b/ext/standard/tests/file/007_variation15.phpt index fa6c1f9951..a1fa61a431 100644 --- a/ext/standard/tests/file/007_variation15.phpt +++ b/ext/standard/tests/file/007_variation15.phpt @@ -4,13 +4,11 @@ Test fopen and fclose() functions - usage variations - "xt" mode <?php /* fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); + Description: Opens file or URL. */ /* fclose() function: - Prototype: bool fclose ( resource $handle ); Description: Closes an open file pointer */ diff --git a/ext/standard/tests/file/007_variation16.phpt b/ext/standard/tests/file/007_variation16.phpt index 150067b391..a249addfd0 100644 --- a/ext/standard/tests/file/007_variation16.phpt +++ b/ext/standard/tests/file/007_variation16.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "x+t" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "x+t" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation17.phpt b/ext/standard/tests/file/007_variation17.phpt index d37d983b70..263a90e68c 100644 --- a/ext/standard/tests/file/007_variation17.phpt +++ b/ext/standard/tests/file/007_variation17.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "rb" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "rb" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation18.phpt b/ext/standard/tests/file/007_variation18.phpt index 0e510a421e..ee81dc152f 100644 --- a/ext/standard/tests/file/007_variation18.phpt +++ b/ext/standard/tests/file/007_variation18.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "r+b" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "r+b" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation19.phpt b/ext/standard/tests/file/007_variation19.phpt index 09e171bad1..fa57cdd3b3 100644 --- a/ext/standard/tests/file/007_variation19.phpt +++ b/ext/standard/tests/file/007_variation19.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "wb" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "wb" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation2.phpt b/ext/standard/tests/file/007_variation2.phpt index 87ee8a3dd6..69e2a0fd46 100644 --- a/ext/standard/tests/file/007_variation2.phpt +++ b/ext/standard/tests/file/007_variation2.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "r+" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "r+" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation20.phpt b/ext/standard/tests/file/007_variation20.phpt index d470063228..080c153523 100644 --- a/ext/standard/tests/file/007_variation20.phpt +++ b/ext/standard/tests/file/007_variation20.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "w+b" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "w+b" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation21.phpt b/ext/standard/tests/file/007_variation21.phpt index 3d0eaa5863..e8165a1115 100644 --- a/ext/standard/tests/file/007_variation21.phpt +++ b/ext/standard/tests/file/007_variation21.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "ab" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "ab" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation22.phpt b/ext/standard/tests/file/007_variation22.phpt index 8e14a84b5b..3c956fe372 100644 --- a/ext/standard/tests/file/007_variation22.phpt +++ b/ext/standard/tests/file/007_variation22.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "a+b" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "a+b" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation23.phpt b/ext/standard/tests/file/007_variation23.phpt index ef9d532585..2d1d198d67 100644 --- a/ext/standard/tests/file/007_variation23.phpt +++ b/ext/standard/tests/file/007_variation23.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "xb" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "xb" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation24.phpt b/ext/standard/tests/file/007_variation24.phpt index 61d83712cd..b090f93d49 100644 --- a/ext/standard/tests/file/007_variation24.phpt +++ b/ext/standard/tests/file/007_variation24.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "x+b" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "x+b" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation3.phpt b/ext/standard/tests/file/007_variation3.phpt index 8838a4d783..7406e3bef0 100644 --- a/ext/standard/tests/file/007_variation3.phpt +++ b/ext/standard/tests/file/007_variation3.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "w" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "w" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation4.phpt b/ext/standard/tests/file/007_variation4.phpt index 217dbc5ce5..7e522fd6d0 100644 --- a/ext/standard/tests/file/007_variation4.phpt +++ b/ext/standard/tests/file/007_variation4.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "w+" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "w+" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation5.phpt b/ext/standard/tests/file/007_variation5.phpt index 69b0ae6332..e872ae3f34 100644 --- a/ext/standard/tests/file/007_variation5.phpt +++ b/ext/standard/tests/file/007_variation5.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "a" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "a" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation6.phpt b/ext/standard/tests/file/007_variation6.phpt index a2ac5d8050..1482ad0337 100644 --- a/ext/standard/tests/file/007_variation6.phpt +++ b/ext/standard/tests/file/007_variation6.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "a+" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "a+" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation7.phpt b/ext/standard/tests/file/007_variation7.phpt index 6c8613c57d..c15966cae2 100644 --- a/ext/standard/tests/file/007_variation7.phpt +++ b/ext/standard/tests/file/007_variation7.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "x" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "x" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation8.phpt b/ext/standard/tests/file/007_variation8.phpt index bc26245b87..95d2855459 100644 --- a/ext/standard/tests/file/007_variation8.phpt +++ b/ext/standard/tests/file/007_variation8.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "x+" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "x+" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/007_variation9.phpt b/ext/standard/tests/file/007_variation9.phpt index a21a807d20..54bd82bab6 100644 --- a/ext/standard/tests/file/007_variation9.phpt +++ b/ext/standard/tests/file/007_variation9.phpt @@ -2,17 +2,6 @@ Test fopen and fclose() functions - usage variations - "rt" mode --FILE-- <?php -/* - fopen() function: - Prototype: resource fopen(string $filename, string $mode - [, bool $use_include_path [, resource $context]] ); - Description: Opens file or URL. -*/ -/* - fclose() function: - Prototype: bool fclose ( resource $handle ); - Description: Closes an open file pointer -*/ /* Test fopen() and fclose(): Opening the file in "rt" mode, checking for the file creation, write & read operations, diff --git a/ext/standard/tests/file/basename-win32.phpt b/ext/standard/tests/file/basename-win32.phpt index 703861dec7..a5f2cb9dad 100644 --- a/ext/standard/tests/file/basename-win32.phpt +++ b/ext/standard/tests/file/basename-win32.phpt @@ -11,7 +11,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php /* - * proto string basename(string path [, string suffix]) * Function is implemented in ext/standard/string.c */ $file_paths = array ( diff --git a/ext/standard/tests/file/basename.phpt b/ext/standard/tests/file/basename.phpt Binary files differindex 7a98e833a3..2b8507fa2d 100644 --- a/ext/standard/tests/file/basename.phpt +++ b/ext/standard/tests/file/basename.phpt diff --git a/ext/standard/tests/file/chmod_error.phpt b/ext/standard/tests/file/chmod_error.phpt index e45ee4ecba..7d8601ff3e 100644 --- a/ext/standard/tests/file/chmod_error.phpt +++ b/ext/standard/tests/file/chmod_error.phpt @@ -2,12 +2,6 @@ Test chmod() function : error conditions --FILE-- <?php -/* Prototype : bool chmod(string filename, int mode) - * Description: Change file mode - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing chmod() : error conditions ***\n"; // testing chmod with a non-existing file diff --git a/ext/standard/tests/file/copy_basic.phpt b/ext/standard/tests/file/copy_basic.phpt index 2bd3fc5176..a1eef1486d 100644 --- a/ext/standard/tests/file/copy_basic.phpt +++ b/ext/standard/tests/file/copy_basic.phpt @@ -2,11 +2,6 @@ Test copy() function: basic functionality --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - * Description: Makes a copy of the file source to dest. - * Returns TRUE on success or FALSE on failure. - */ - echo "*** Testing copy() function: to copy file from source to destination --\n"; var_dump( file_exists(__FILE__) ); diff --git a/ext/standard/tests/file/copy_error.phpt b/ext/standard/tests/file/copy_error.phpt index 761c4403f7..3814c3d5f2 100644 --- a/ext/standard/tests/file/copy_error.phpt +++ b/ext/standard/tests/file/copy_error.phpt @@ -2,11 +2,6 @@ Test copy() function: error conditions --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - * Description: Makes a copy of the file source to dest. - * Returns TRUE on success or FALSE on failure. - */ - echo "*** Testing copy() function: error conditions --\n"; /* Invalid args */ var_dump( copy("/no/file", "file") ); diff --git a/ext/standard/tests/file/copy_variation1.phpt b/ext/standard/tests/file/copy_variation1.phpt index 018ff47048..40028a6e85 100644 --- a/ext/standard/tests/file/copy_variation1.phpt +++ b/ext/standard/tests/file/copy_variation1.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - destination file names(numerics/strings) --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing numerics/strings and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation10.phpt b/ext/standard/tests/file/copy_variation10.phpt index 78c3426adc..09497c859c 100644 --- a/ext/standard/tests/file/copy_variation10.phpt +++ b/ext/standard/tests/file/copy_variation10.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - identical names --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Try copying source file to desntination file, where destination file name is identical to source name */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation11.phpt b/ext/standard/tests/file/copy_variation11.phpt index 312802f181..678d13d4c0 100644 --- a/ext/standard/tests/file/copy_variation11.phpt +++ b/ext/standard/tests/file/copy_variation11.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - existing dir as destination --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to copy the file to a destination, where destination is an existing dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation12-win32.phpt b/ext/standard/tests/file/copy_variation12-win32.phpt index 01bf14cc54..ecf857e629 100644 --- a/ext/standard/tests/file/copy_variation12-win32.phpt +++ b/ext/standard/tests/file/copy_variation12-win32.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to create a copy of an existing dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation12.phpt b/ext/standard/tests/file/copy_variation12.phpt index 945ec07083..dad928b4b5 100644 --- a/ext/standard/tests/file/copy_variation12.phpt +++ b/ext/standard/tests/file/copy_variation12.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to create a copy of an existing dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation13.phpt b/ext/standard/tests/file/copy_variation13.phpt index fcd3d6a2a6..f703b0f059 100644 --- a/ext/standard/tests/file/copy_variation13.phpt +++ b/ext/standard/tests/file/copy_variation13.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - src as dir and dest as an existing file(Bug #42243) --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to copy dir to an existing file */ echo "*** Test copy() function: Trying to copy dir to file ***\n"; diff --git a/ext/standard/tests/file/copy_variation14.phpt b/ext/standard/tests/file/copy_variation14.phpt index bee8c94b47..a79bbf69c5 100644 --- a/ext/standard/tests/file/copy_variation14.phpt +++ b/ext/standard/tests/file/copy_variation14.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - non existing src/dest --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to create a copy of non-existing source in an existing destination and an existing source in non-existing destination */ diff --git a/ext/standard/tests/file/copy_variation15.phpt b/ext/standard/tests/file/copy_variation15.phpt index 6b52eb7f9b..abe425a4e3 100644 --- a/ext/standard/tests/file/copy_variation15.phpt +++ b/ext/standard/tests/file/copy_variation15.phpt @@ -8,11 +8,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to create a copy of file in a dir which doesn't have write permissions */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation16-win32.phpt b/ext/standard/tests/file/copy_variation16-win32.phpt index ae79b79984..d2730ce332 100644 --- a/ext/standard/tests/file/copy_variation16-win32.phpt +++ b/ext/standard/tests/file/copy_variation16-win32.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Trying to create copy of source file into different destination dir paths given in various notations */ diff --git a/ext/standard/tests/file/copy_variation16.phpt b/ext/standard/tests/file/copy_variation16.phpt index cc01f1c534..45095f399e 100644 --- a/ext/standard/tests/file/copy_variation16.phpt +++ b/ext/standard/tests/file/copy_variation16.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Trying to create copy of source file into different destination dir paths given in various notations */ diff --git a/ext/standard/tests/file/copy_variation17.phpt b/ext/standard/tests/file/copy_variation17.phpt index 337e7ec46e..446d72d35d 100644 --- a/ext/standard/tests/file/copy_variation17.phpt +++ b/ext/standard/tests/file/copy_variation17.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - wildcard chars in source --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to copy the source file which is given with the combination of wild-card chars */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation18.phpt b/ext/standard/tests/file/copy_variation18.phpt index 81d5e3dab9..75938f0888 100644 --- a/ext/standard/tests/file/copy_variation18.phpt +++ b/ext/standard/tests/file/copy_variation18.phpt @@ -2,11 +2,6 @@ Test copy() function: usage variations - stat after copy --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): checking stat of file before and after after copy operation */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation2-win32-mb.phpt b/ext/standard/tests/file/copy_variation2-win32-mb.phpt index 530fb6089c..4251a24e54 100644 --- a/ext/standard/tests/file/copy_variation2-win32-mb.phpt +++ b/ext/standard/tests/file/copy_variation2-win32-mb.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing special characters and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation2-win32.phpt b/ext/standard/tests/file/copy_variation2-win32.phpt index 563475a3bb..c8f695efea 100644 --- a/ext/standard/tests/file/copy_variation2-win32.phpt +++ b/ext/standard/tests/file/copy_variation2-win32.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing special characters and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation2.phpt b/ext/standard/tests/file/copy_variation2.phpt index 2106cd5ed7..33770b6b31 100644 --- a/ext/standard/tests/file/copy_variation2.phpt +++ b/ext/standard/tests/file/copy_variation2.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing special characters and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation3-win32.phpt b/ext/standard/tests/file/copy_variation3-win32.phpt index a8a3aeb746..ed4cbfb89b 100644 --- a/ext/standard/tests/file/copy_variation3-win32.phpt +++ b/ext/standard/tests/file/copy_variation3-win32.phpt @@ -9,11 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing white spaces and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation3.phpt b/ext/standard/tests/file/copy_variation3.phpt index ca70ed24f4..7dc9c1b1b3 100644 --- a/ext/standard/tests/file/copy_variation3.phpt +++ b/ext/standard/tests/file/copy_variation3.phpt @@ -9,11 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") obscure_filename --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names containing white spaces and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation4.phpt b/ext/standard/tests/file/copy_variation4.phpt index 01385cb893..d467cb4ce9 100644 --- a/ext/standard/tests/file/copy_variation4.phpt +++ b/ext/standard/tests/file/copy_variation4.phpt @@ -10,11 +10,6 @@ if(substr(PHP_OS, 0, 3) == "AIX") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: In creation of destination file names with empty string, nulls & bools and checking the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation5-win32.phpt b/ext/standard/tests/file/copy_variation5-win32.phpt index 8ef72ef8ce..d3f75262a1 100644 --- a/ext/standard/tests/file/copy_variation5-win32.phpt +++ b/ext/standard/tests/file/copy_variation5-win32.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Checking case sensitivity in creation of destination file names and the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation5.phpt b/ext/standard/tests/file/copy_variation5.phpt index 404ff843fb..6da9f1f48c 100644 --- a/ext/standard/tests/file/copy_variation5.phpt +++ b/ext/standard/tests/file/copy_variation5.phpt @@ -7,11 +7,6 @@ if( (stristr(PHP_OS, "Darwin")) || (stristr(PHP_OS, "Win")) ) ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Checking case sensitivity in creation of destination file names and the existence and size of destination files */ diff --git a/ext/standard/tests/file/copy_variation6-win32.phpt b/ext/standard/tests/file/copy_variation6-win32.phpt index 4e94c148c5..c0b3ec9720 100644 --- a/ext/standard/tests/file/copy_variation6-win32.phpt +++ b/ext/standard/tests/file/copy_variation6-win32.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Trying to create copy of source file into different destination dir paths given in various notations */ diff --git a/ext/standard/tests/file/copy_variation6.phpt b/ext/standard/tests/file/copy_variation6.phpt index c505cb77ec..ae20f48733 100644 --- a/ext/standard/tests/file/copy_variation6.phpt +++ b/ext/standard/tests/file/copy_variation6.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Trying to create copy of source file into different destination dir paths given in various notations */ diff --git a/ext/standard/tests/file/copy_variation7.phpt b/ext/standard/tests/file/copy_variation7.phpt index 0ab30cdb7b..c5321aad4e 100644 --- a/ext/standard/tests/file/copy_variation7.phpt +++ b/ext/standard/tests/file/copy_variation7.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy() function: Trying to create copy of links */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/copy_variation8.phpt b/ext/standard/tests/file/copy_variation8.phpt index dc69a27b33..6d54595470 100644 --- a/ext/standard/tests/file/copy_variation8.phpt +++ b/ext/standard/tests/file/copy_variation8.phpt @@ -7,11 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Trying to copy the links across dir paths given in various notations and dirs having limited access */ diff --git a/ext/standard/tests/file/copy_variation9.phpt b/ext/standard/tests/file/copy_variation9.phpt index 2c1005ec64..ee82eda188 100644 --- a/ext/standard/tests/file/copy_variation9.phpt +++ b/ext/standard/tests/file/copy_variation9.phpt @@ -8,11 +8,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool copy ( string $source, string $dest ); - Description: Makes a copy of the file source to dest. - Returns TRUE on success or FALSE on failure. -*/ - /* Test copy(): Trying to copy source file to destination file with and without write permissions */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/dirname_basic-win32.phpt b/ext/standard/tests/file/dirname_basic-win32.phpt index 1ae436d1e1..6b1ed3095f 100644 --- a/ext/standard/tests/file/dirname_basic-win32.phpt +++ b/ext/standard/tests/file/dirname_basic-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : string dirname(string path) - * Description: Returns the directory name component of the path - * Source code: ext/standard/string.c - * Alias to functions: - */ - echo "*** Testing dirname() : basic functionality ***\n"; diff --git a/ext/standard/tests/file/dirname_basic.phpt b/ext/standard/tests/file/dirname_basic.phpt index 75355a7135..97fbe85a28 100644 --- a/ext/standard/tests/file/dirname_basic.phpt +++ b/ext/standard/tests/file/dirname_basic.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : string dirname(string path) - * Description: Returns the directory name component of the path - * Source code: ext/standard/string.c - * Alias to functions: - */ - echo "*** Testing dirname() : basic functionality ***\n"; diff --git a/ext/standard/tests/file/disk_free_space_basic.phpt b/ext/standard/tests/file/disk_free_space_basic.phpt index fcb2a93e41..29b2cefed9 100644 --- a/ext/standard/tests/file/disk_free_space_basic.phpt +++ b/ext/standard/tests/file/disk_free_space_basic.phpt @@ -8,13 +8,6 @@ if (getenv("TRAVIS") === "true") die("skip inaccurate on TravisCI"); memory_limit=32M --FILE-- <?php -/* - * Prototype: float disk_free_space( string directory ) - * Description: Given a string containing a directory, this function - * will return the number of bytes available on the corresponding - * filesystem or disk partition - */ - $file_path = __DIR__; echo "*** Testing with existing directory ***\n"; diff --git a/ext/standard/tests/file/disk_free_space_error-win32.phpt b/ext/standard/tests/file/disk_free_space_error-win32.phpt index e7439d3f34..64723f5bf7 100644 --- a/ext/standard/tests/file/disk_free_space_error-win32.phpt +++ b/ext/standard/tests/file/disk_free_space_error-win32.phpt @@ -7,13 +7,6 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) ?> --FILE-- <?php -/* - * Prototype: float disk_free_space( string directory ) - * Description: Given a string containing a directory, this function will - * return the number of bytes available on the corresponding - * filesystem or disk partition - */ - echo "*** Testing error conditions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/disk_free_space_error.phpt b/ext/standard/tests/file/disk_free_space_error.phpt index ea8d84aa36..62dd8c40ee 100644 --- a/ext/standard/tests/file/disk_free_space_error.phpt +++ b/ext/standard/tests/file/disk_free_space_error.phpt @@ -7,13 +7,6 @@ if(substr(PHP_OS, 0, 3) == 'WIN') ?> --FILE-- <?php -/* - * Prototype: float disk_free_space( string directory ) - * Description: Given a string containing a directory, this function will - * return the number of bytes available on the corresponding - * filesystem or disk partition - */ - echo "*** Testing error conditions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/disk_free_space_variation.phpt b/ext/standard/tests/file/disk_free_space_variation.phpt index e7aacfdeac..d5adb32213 100644 --- a/ext/standard/tests/file/disk_free_space_variation.phpt +++ b/ext/standard/tests/file/disk_free_space_variation.phpt @@ -2,13 +2,6 @@ Test disk_free_space and its alias diskfreespace() functions : Usage Variations --FILE-- <?php -/* - * Prototype: float disk_free_space( string directory ) - * Description: Given a string containing a directory, this function - * will return the number of bytes available on the corresponding - * filesystem or disk partition - */ - $file_path = __DIR__; echo "*** Testing with a directory ***\n"; diff --git a/ext/standard/tests/file/disk_total_space_basic.phpt b/ext/standard/tests/file/disk_total_space_basic.phpt index b32b60f6b6..0bb6159a40 100644 --- a/ext/standard/tests/file/disk_total_space_basic.phpt +++ b/ext/standard/tests/file/disk_total_space_basic.phpt @@ -4,13 +4,6 @@ Test disk_total_space() function : basic functionality disk_total_space --FILE-- <?php -/* - * Prototype: float disk_total_space( string $directory ); - * Description: given a string containing a directory, this function will - * return the total number of bytes on the corresponding filesyatem - * or disk partition. - */ - $file_path = __DIR__; echo "*** Testing with normal directory ***\n"; diff --git a/ext/standard/tests/file/disk_total_space_error-win32.phpt b/ext/standard/tests/file/disk_total_space_error-win32.phpt index 2e6192cf82..7621fe1523 100644 --- a/ext/standard/tests/file/disk_total_space_error-win32.phpt +++ b/ext/standard/tests/file/disk_total_space_error-win32.phpt @@ -9,13 +9,6 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) disk_total_space --FILE-- <?php -/* - * Prototype: float disk_total_space( string $directory ); - * Description: given a string containing a directory, this function - * will return the total number of bytes on the corresponding - * filesystem or disk partition - */ - echo "*** Testing error conditions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/disk_total_space_error.phpt b/ext/standard/tests/file/disk_total_space_error.phpt index 0fba673f28..e4bd31fa5d 100644 --- a/ext/standard/tests/file/disk_total_space_error.phpt +++ b/ext/standard/tests/file/disk_total_space_error.phpt @@ -9,13 +9,6 @@ if(substr(PHP_OS, 0, 3) == 'WIN') disk_total_space --FILE-- <?php -/* - * Prototype: float disk_total_space( string $directory ); - * Description: given a string containing a directory, this function - * will return the total number of bytes on the corresponding - * filesystem or disk partition - */ - echo "*** Testing error conditions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/disk_total_space_variation.phpt b/ext/standard/tests/file/disk_total_space_variation.phpt index 16275e7f39..da09238ecc 100644 --- a/ext/standard/tests/file/disk_total_space_variation.phpt +++ b/ext/standard/tests/file/disk_total_space_variation.phpt @@ -4,13 +4,6 @@ Testing disk_total_space() functions : Usage Variations. disk_total_space --FILE-- <?php -/* - * Prototype: float disk_total_space( string directory ) - * Description: given a string containing a directory, this function - * will return the total number of bytes on the corresponding - * filesystem or disk partition. - */ - $file_path = __DIR__; echo "*** Testing with a directory ***\n"; diff --git a/ext/standard/tests/file/feof_basic.phpt b/ext/standard/tests/file/feof_basic.phpt index 0711a3468d..a263bf1fbe 100644 --- a/ext/standard/tests/file/feof_basic.phpt +++ b/ext/standard/tests/file/feof_basic.phpt @@ -4,12 +4,6 @@ Test feof() function : basic functionality Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : proto bool feof(resource fp) - * Description: Test for end-of-file on a file pointer - * Source code: ext/standard/file.c - * Alias to functions: gzeof - */ - echo "*** Testing feof() : basic functionality ***\n"; $tmpFile1 = __FILE__.".tmp1"; $h = fopen($tmpFile1, 'wb'); diff --git a/ext/standard/tests/file/fflush_basic.phpt b/ext/standard/tests/file/fflush_basic.phpt index 854a23db45..3d1dd22f7b 100644 --- a/ext/standard/tests/file/fflush_basic.phpt +++ b/ext/standard/tests/file/fflush_basic.phpt @@ -2,9 +2,6 @@ Test fflush() function: basic functionality --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ echo "*** Testing fflush(): writing to a file and reading the contents ***\n"; $data = <<<EOD diff --git a/ext/standard/tests/file/fflush_variation1-win32-mb.phpt b/ext/standard/tests/file/fflush_variation1-win32-mb.phpt index 9c654a8688..964806bc68 100644 --- a/ext/standard/tests/file/fflush_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/fflush_variation1-win32-mb.phpt @@ -7,9 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle to the files opened in different modes */ diff --git a/ext/standard/tests/file/fflush_variation1-win32.phpt b/ext/standard/tests/file/fflush_variation1-win32.phpt index fd72d652b4..9761b97655 100644 --- a/ext/standard/tests/file/fflush_variation1-win32.phpt +++ b/ext/standard/tests/file/fflush_variation1-win32.phpt @@ -7,9 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle to the files opened in different modes */ diff --git a/ext/standard/tests/file/fflush_variation1.phpt b/ext/standard/tests/file/fflush_variation1.phpt index 8dd2db1d21..930aabff5c 100644 --- a/ext/standard/tests/file/fflush_variation1.phpt +++ b/ext/standard/tests/file/fflush_variation1.phpt @@ -7,9 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle of files opened in different modes */ diff --git a/ext/standard/tests/file/fflush_variation2.phpt b/ext/standard/tests/file/fflush_variation2.phpt index 7f6b914304..35eb8e80e1 100644 --- a/ext/standard/tests/file/fflush_variation2.phpt +++ b/ext/standard/tests/file/fflush_variation2.phpt @@ -7,9 +7,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN') ?> --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle to symbollic link */ diff --git a/ext/standard/tests/file/fflush_variation3.phpt b/ext/standard/tests/file/fflush_variation3.phpt index c74eeb8e25..479005a00c 100644 --- a/ext/standard/tests/file/fflush_variation3.phpt +++ b/ext/standard/tests/file/fflush_variation3.phpt @@ -7,9 +7,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN') ?> --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle to hard links as resource */ diff --git a/ext/standard/tests/file/fflush_variation4.phpt b/ext/standard/tests/file/fflush_variation4.phpt index 94c0f6a31e..e73735700d 100644 --- a/ext/standard/tests/file/fflush_variation4.phpt +++ b/ext/standard/tests/file/fflush_variation4.phpt @@ -2,9 +2,6 @@ Test fflush() function: usage variations - file opened in read-only mode --FILE-- <?php -/* Prototype: bool fflush ( resource $handle ); - Description: Flushes the output to a file -*/ /* test fflush() with handle to a file opened in read-only mode as resource */ diff --git a/ext/standard/tests/file/fgetc_basic.phpt b/ext/standard/tests/file/fgetc_basic.phpt index a69470b3d6..1f7ad2c03e 100644 --- a/ext/standard/tests/file/fgetc_basic.phpt +++ b/ext/standard/tests/file/fgetc_basic.phpt @@ -2,10 +2,6 @@ Test fgetc() function : basic functionality --FILE-- <?php -/* - Prototype: string fgetc ( resource $handle ); - Description: Gets character from file pointer -*/ // include the header for common test function include ("file.inc"); diff --git a/ext/standard/tests/file/fgetc_variation1.phpt b/ext/standard/tests/file/fgetc_variation1.phpt index 7c6a01ded9..a4d956aa5a 100644 --- a/ext/standard/tests/file/fgetc_variation1.phpt +++ b/ext/standard/tests/file/fgetc_variation1.phpt @@ -2,10 +2,6 @@ Test fgetc() function : usage variations - read when file pointer at EOF --FILE-- <?php -/* - Prototype: string fgetc ( resource $handle ); - Description: Gets character from file pointer -*/ // include the header for common test function include ("file.inc"); diff --git a/ext/standard/tests/file/fgetc_variation2.phpt b/ext/standard/tests/file/fgetc_variation2.phpt index d67e56e56a..4255899833 100644 --- a/ext/standard/tests/file/fgetc_variation2.phpt +++ b/ext/standard/tests/file/fgetc_variation2.phpt @@ -2,11 +2,6 @@ Test fgetc() function : usage variations - closed handle --FILE-- <?php -/* - Prototype: string fgetc ( resource $handle ); - Description: Gets character from file pointer -*/ - /* try reading a char using fgetc() using invalid handles - closed file handle - unset file handle diff --git a/ext/standard/tests/file/fgetc_variation3.phpt b/ext/standard/tests/file/fgetc_variation3.phpt index e8cd705abd..ba47e303f7 100644 --- a/ext/standard/tests/file/fgetc_variation3.phpt +++ b/ext/standard/tests/file/fgetc_variation3.phpt @@ -3,7 +3,6 @@ Test fgetc() function : usage variations - write only modes (Bug #42036) --FILE-- <?php /* - Prototype: string fgetc ( resource $handle ); Description: Gets character from file pointer */ diff --git a/ext/standard/tests/file/fgetc_variation4.phpt b/ext/standard/tests/file/fgetc_variation4.phpt index 99af3c80af..99eef57d06 100644 --- a/ext/standard/tests/file/fgetc_variation4.phpt +++ b/ext/standard/tests/file/fgetc_variation4.phpt @@ -2,11 +2,6 @@ Test fgetc() function : usage variations - different read modes --FILE-- <?php -/* - Prototype: string fgetc ( resource $handle ); - Description: Gets character from file pointer -*/ - /* read from fie using fgetc, file opened using different read read modes */ diff --git a/ext/standard/tests/file/fgetcsv_variation1.phpt b/ext/standard/tests/file/fgetcsv_variation1.phpt index e0569288fc..04936b8c81 100644 --- a/ext/standard/tests/file/fgetcsv_variation1.phpt +++ b/ext/standard/tests/file/fgetcsv_variation1.phpt @@ -3,7 +3,6 @@ Test fgetcsv() : usage variations - with all parameters specified --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); Description: Gets line from file pointer and parse for CSV fields */ diff --git a/ext/standard/tests/file/fgetcsv_variation10.phpt b/ext/standard/tests/file/fgetcsv_variation10.phpt index ee173b8cd6..7582892465 100644 --- a/ext/standard/tests/file/fgetcsv_variation10.phpt +++ b/ext/standard/tests/file/fgetcsv_variation10.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - file pointer pointing to EOF --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() by reading from a file when the file pointer is pointing to end of file */ echo "*** Testing fgetcsv() : with file pointer pointing to EOF ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation11.phpt b/ext/standard/tests/file/fgetcsv_variation11.phpt index 25815a0174..30b1feb3bf 100644 --- a/ext/standard/tests/file/fgetcsv_variation11.phpt +++ b/ext/standard/tests/file/fgetcsv_variation11.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with different enclosure but same delimiter --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() by reading from a file when different enclosure that is not present in the data being read and delimiter which is present in the data */ diff --git a/ext/standard/tests/file/fgetcsv_variation12.phpt b/ext/standard/tests/file/fgetcsv_variation12.phpt index 4989f5f8e7..f1dfc52a27 100644 --- a/ext/standard/tests/file/fgetcsv_variation12.phpt +++ b/ext/standard/tests/file/fgetcsv_variation12.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - two chars as enclosure & delimiter (various read and append modes) --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() by providing two characters for enclosure and delimiter parameters */ echo "*** Testing fgetcsv() : with two chars as enclosure & delimiter ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation13.phpt b/ext/standard/tests/file/fgetcsv_variation13.phpt index f1ca0a6ab0..bfc81bbb22 100644 --- a/ext/standard/tests/file/fgetcsv_variation13.phpt +++ b/ext/standard/tests/file/fgetcsv_variation13.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with line without any csv fields --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to read a line from a file which doesn't have any CSV field */ echo "*** Testing fgetcsv() : reading the line which is without csv fields ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation14.phpt b/ext/standard/tests/file/fgetcsv_variation14.phpt index a8486e56a8..a87be1e01f 100644 --- a/ext/standard/tests/file/fgetcsv_variation14.phpt +++ b/ext/standard/tests/file/fgetcsv_variation14.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - reading the blank line --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() by reading a file containing a blank line */ echo "*** Testing fgetcsv() : reading the blank line ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation15.phpt b/ext/standard/tests/file/fgetcsv_variation15.phpt index 6e1c71438b..7400d5bd1a 100644 --- a/ext/standard/tests/file/fgetcsv_variation15.phpt +++ b/ext/standard/tests/file/fgetcsv_variation15.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with default enclosure --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to read a file when provided with default enclosure character */ echo "*** Testing fgetcsv() : with default enclosure ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation16.phpt b/ext/standard/tests/file/fgetcsv_variation16.phpt index 3e83ca46bb..0c5981ff6c 100644 --- a/ext/standard/tests/file/fgetcsv_variation16.phpt +++ b/ext/standard/tests/file/fgetcsv_variation16.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with default enclosure & length as 0 --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to read a file when provided with default enclosure character and length value equal to zero */ diff --git a/ext/standard/tests/file/fgetcsv_variation17.phpt b/ext/standard/tests/file/fgetcsv_variation17.phpt index 1dffb6c2be..0010b87b6f 100644 --- a/ext/standard/tests/file/fgetcsv_variation17.phpt +++ b/ext/standard/tests/file/fgetcsv_variation17.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with default enclosure & length less than line size --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to read a file when provided with default enclosure character and length value less than the size of line being read */ diff --git a/ext/standard/tests/file/fgetcsv_variation18.phpt b/ext/standard/tests/file/fgetcsv_variation18.phpt index 022a46075d..b991afda4e 100644 --- a/ext/standard/tests/file/fgetcsv_variation18.phpt +++ b/ext/standard/tests/file/fgetcsv_variation18.phpt @@ -3,7 +3,6 @@ Test fgetcsv() : usage variations - with default enclosure and different delimit --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); Description: Gets line from file pointer and parse for CSV fields */ diff --git a/ext/standard/tests/file/fgetcsv_variation19.phpt b/ext/standard/tests/file/fgetcsv_variation19.phpt index 0f40f25266..dd5aa73567 100644 --- a/ext/standard/tests/file/fgetcsv_variation19.phpt +++ b/ext/standard/tests/file/fgetcsv_variation19.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with default enclosure & delimiter of two ch --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file when provided with default enclosure character and with delimiter of two characters */ diff --git a/ext/standard/tests/file/fgetcsv_variation2.phpt b/ext/standard/tests/file/fgetcsv_variation2.phpt index f235186d3a..2f88dcad60 100644 --- a/ext/standard/tests/file/fgetcsv_variation2.phpt +++ b/ext/standard/tests/file/fgetcsv_variation2.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - with length as 0 --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to rwad from a file with length argument equal to zero */ echo "*** Testing fgetcsv() : with length as 0 ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation20.phpt b/ext/standard/tests/file/fgetcsv_variation20.phpt index dce4c82c59..a3c04992db 100644 --- a/ext/standard/tests/file/fgetcsv_variation20.phpt +++ b/ext/standard/tests/file/fgetcsv_variation20.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with default enclosure, line without any csv --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a line without any csv fields from a file when provided with default enclosure value */ diff --git a/ext/standard/tests/file/fgetcsv_variation21.phpt b/ext/standard/tests/file/fgetcsv_variation21.phpt index 91503ff487..d47a143d4c 100644 --- a/ext/standard/tests/file/fgetcsv_variation21.phpt +++ b/ext/standard/tests/file/fgetcsv_variation21.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with default enclosure, blank line --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file containing blank line when provided with default enclosure argument */ diff --git a/ext/standard/tests/file/fgetcsv_variation22.phpt b/ext/standard/tests/file/fgetcsv_variation22.phpt index 14d808ab87..ba927e0190 100644 --- a/ext/standard/tests/file/fgetcsv_variation22.phpt +++ b/ext/standard/tests/file/fgetcsv_variation22.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with default enclosure, file pointer pointin --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file whose file pointer is pointing to end of file and fgetcsv() provided with default enclosure argument */ diff --git a/ext/standard/tests/file/fgetcsv_variation23.phpt b/ext/standard/tests/file/fgetcsv_variation23.phpt index cb74351fb9..e933ae5449 100644 --- a/ext/standard/tests/file/fgetcsv_variation23.phpt +++ b/ext/standard/tests/file/fgetcsv_variation23.phpt @@ -2,11 +2,6 @@ Test fgetcsv() : usage variations - empty file --FILE-- <?php -/* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - /* Testing fgetcsv() to read from an empty file */ echo "*** Testing fgetcsv() : reading from file which is having zero content ***\n"; diff --git a/ext/standard/tests/file/fgetcsv_variation24.phpt b/ext/standard/tests/file/fgetcsv_variation24.phpt index d1e8b7ca80..f99ccd62d8 100644 --- a/ext/standard/tests/file/fgetcsv_variation24.phpt +++ b/ext/standard/tests/file/fgetcsv_variation24.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - two chars as enclosure & delimiter (various --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read from a file opened in various write modes and enclosure argument with two characters */ diff --git a/ext/standard/tests/file/fgetcsv_variation29.phpt b/ext/standard/tests/file/fgetcsv_variation29.phpt index de9d4b0e5d..de39f3eb79 100644 --- a/ext/standard/tests/file/fgetcsv_variation29.phpt +++ b/ext/standard/tests/file/fgetcsv_variation29.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with only file handle as argument, file poin --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file whose file pointer is pointing to end of file and fgetcsv() provided with only file handle in its argument */ diff --git a/ext/standard/tests/file/fgetcsv_variation30.phpt b/ext/standard/tests/file/fgetcsv_variation30.phpt index 120267849e..7b3c13e108 100644 --- a/ext/standard/tests/file/fgetcsv_variation30.phpt +++ b/ext/standard/tests/file/fgetcsv_variation30.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with file handle and length, file pointer po --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file whose file pointer is pointing to end of file and fgetcsv() provided with file handle and length arguments */ diff --git a/ext/standard/tests/file/fgetcsv_variation31.phpt b/ext/standard/tests/file/fgetcsv_variation31.phpt index c487d2eb28..8edaa5787f 100644 --- a/ext/standard/tests/file/fgetcsv_variation31.phpt +++ b/ext/standard/tests/file/fgetcsv_variation31.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with length and enclosure, file pointer poin --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read a file whose file pointer is pointing to end of file and fgetcsv() provided with enclosure argument */ diff --git a/ext/standard/tests/file/fgetcsv_variation6.phpt b/ext/standard/tests/file/fgetcsv_variation6.phpt index 23bbfffcf8..bd1442155d 100644 --- a/ext/standard/tests/file/fgetcsv_variation6.phpt +++ b/ext/standard/tests/file/fgetcsv_variation6.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with length less than line size --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read from a file when provided with the length argument value less than the line size */ diff --git a/ext/standard/tests/file/fgetcsv_variation7.phpt b/ext/standard/tests/file/fgetcsv_variation7.phpt index b351757c91..0d5c6dc113 100644 --- a/ext/standard/tests/file/fgetcsv_variation7.phpt +++ b/ext/standard/tests/file/fgetcsv_variation7.phpt @@ -3,7 +3,6 @@ Test fgetcsv() : usage variations - with default arguments value --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); Description: Gets line from file pointer and parse for CSV fields */ diff --git a/ext/standard/tests/file/fgetcsv_variation8.phpt b/ext/standard/tests/file/fgetcsv_variation8.phpt index 073a44e4cc..7978e82e31 100644 --- a/ext/standard/tests/file/fgetcsv_variation8.phpt +++ b/ext/standard/tests/file/fgetcsv_variation8.phpt @@ -3,11 +3,6 @@ Test fgetcsv() : usage variations - with different delimiter and enclosure --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); - Description: Gets line from file pointer and parse for CSV fields -*/ - -/* Testing fgetcsv() to read from a file when provided with values of delimiter and enclosure that are not present in the line read by fgetcsv() */ diff --git a/ext/standard/tests/file/fgetcsv_variation9.phpt b/ext/standard/tests/file/fgetcsv_variation9.phpt index 859d0ef002..b1f14db1c8 100644 --- a/ext/standard/tests/file/fgetcsv_variation9.phpt +++ b/ext/standard/tests/file/fgetcsv_variation9.phpt @@ -3,7 +3,6 @@ Test fgetcsv() : usage variations - with different delimiter but same enclosure --FILE-- <?php /* - Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); Description: Gets line from file pointer and parse for CSV fields */ diff --git a/ext/standard/tests/file/fgets_basic.phpt b/ext/standard/tests/file/fgets_basic.phpt index 853be0a8de..4cf2f8250e 100644 --- a/ext/standard/tests/file/fgets_basic.phpt +++ b/ext/standard/tests/file/fgets_basic.phpt @@ -2,11 +2,6 @@ Test fgets() function : basic functionality --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_error.phpt b/ext/standard/tests/file/fgets_error.phpt index 0df1db9399..fefbd723bc 100644 --- a/ext/standard/tests/file/fgets_error.phpt +++ b/ext/standard/tests/file/fgets_error.phpt @@ -2,11 +2,6 @@ Test fgets() function : error conditions --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets line from file pointer -*/ - echo "*** Testing error conditions ***\n"; $fp = fopen(__FILE__, "r"); diff --git a/ext/standard/tests/file/fgets_variation1.phpt b/ext/standard/tests/file/fgets_variation1.phpt index 1556540a2e..0c07c7a76c 100644 --- a/ext/standard/tests/file/fgets_variation1.phpt +++ b/ext/standard/tests/file/fgets_variation1.phpt @@ -2,10 +2,6 @@ Test fgets() function : usage variations - write only modes (Bug #42036) --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ /* try fgets on files which are opened in non readable modes w, wb, wt, a, ab, at, diff --git a/ext/standard/tests/file/fgets_variation2.phpt b/ext/standard/tests/file/fgets_variation2.phpt index 2626139dcb..28cba347d5 100644 --- a/ext/standard/tests/file/fgets_variation2.phpt +++ b/ext/standard/tests/file/fgets_variation2.phpt @@ -2,11 +2,6 @@ Test fgets() function : usage variations - closed handle --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - /* try reading a line using fgets() using invalid handles - closed file handle - unset file handle diff --git a/ext/standard/tests/file/fgets_variation3.phpt b/ext/standard/tests/file/fgets_variation3.phpt index cb10dfbc4d..b7061732c0 100644 --- a/ext/standard/tests/file/fgets_variation3.phpt +++ b/ext/standard/tests/file/fgets_variation3.phpt @@ -2,11 +2,6 @@ Test fgets() function : usage variations - read with/without length --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation4-win32-mb.phpt b/ext/standard/tests/file/fgets_variation4-win32-mb.phpt index df3bfa2087..e572c3a25f 100644 --- a/ext/standard/tests/file/fgets_variation4-win32-mb.phpt +++ b/ext/standard/tests/file/fgets_variation4-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation4-win32.phpt b/ext/standard/tests/file/fgets_variation4-win32.phpt index a7a43fdbb4..a617759738 100644 --- a/ext/standard/tests/file/fgets_variation4-win32.phpt +++ b/ext/standard/tests/file/fgets_variation4-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation4.phpt b/ext/standard/tests/file/fgets_variation4.phpt index 3dfc4ba801..de3769c323 100644 --- a/ext/standard/tests/file/fgets_variation4.phpt +++ b/ext/standard/tests/file/fgets_variation4.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation5.phpt b/ext/standard/tests/file/fgets_variation5.phpt index ae1e781097..492b919bdc 100644 --- a/ext/standard/tests/file/fgets_variation5.phpt +++ b/ext/standard/tests/file/fgets_variation5.phpt @@ -2,11 +2,6 @@ Test fgets() function : usage variations - read beyond filesize --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation6-win32.phpt b/ext/standard/tests/file/fgets_variation6-win32.phpt index 11899df1f7..b9bef14549 100644 --- a/ext/standard/tests/file/fgets_variation6-win32.phpt +++ b/ext/standard/tests/file/fgets_variation6-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fgets_variation6.phpt b/ext/standard/tests/file/fgets_variation6.phpt index 95a2a73adf..764e3613af 100644 --- a/ext/standard/tests/file/fgets_variation6.phpt +++ b/ext/standard/tests/file/fgets_variation6.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fgets ( resource $handle [, int $length] ); - Description: Gets a line from file pointer -*/ - // include the file.inc for common test functions include ("file.inc"); diff --git a/ext/standard/tests/file/file_basic.phpt b/ext/standard/tests/file/file_basic.phpt index f1fb58f621..649c3e1e20 100644 --- a/ext/standard/tests/file/file_basic.phpt +++ b/ext/standard/tests/file/file_basic.phpt @@ -3,9 +3,7 @@ Test file() function : basic functionality --FILE-- <?php /* - * Prototype: array file ( string filename [,int use-include_path [,resource context]] ); * Description: Reads entire file into an array - * Returns the file in an array */ require(__DIR__ . '/file.inc'); $file_path = __DIR__; diff --git a/ext/standard/tests/file/file_error.phpt b/ext/standard/tests/file/file_error.phpt index f0e0c32ada..163943a3db 100644 --- a/ext/standard/tests/file/file_error.phpt +++ b/ext/standard/tests/file/file_error.phpt @@ -2,11 +2,6 @@ Test file() function : error conditions --FILE-- <?php -/* - Prototype: array file ( string filename [,int use-include_path [,resource context]] ); - Description: Reads entire file into an array - Returns the file in an array -*/ $file_path = __DIR__; echo "\n*** Testing error conditions ***\n"; $file_handle = fopen($file_path."/file.tmp", "w"); diff --git a/ext/standard/tests/file/file_exists_variation1.phpt b/ext/standard/tests/file/file_exists_variation1.phpt index c3d4184724..55c6c94981 100644 --- a/ext/standard/tests/file/file_exists_variation1.phpt +++ b/ext/standard/tests/file/file_exists_variation1.phpt @@ -4,12 +4,6 @@ Test file_exists() function : usage variations Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : proto bool file_exists(string filename) - * Description: Returns true if filename exists - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing file_exists() : usage variations ***\n"; var_dump(file_exists(NULL)); diff --git a/ext/standard/tests/file/file_get_contents_basic.phpt b/ext/standard/tests/file/file_get_contents_basic.phpt index 7fbca00249..5c060fdae1 100644 --- a/ext/standard/tests/file/file_get_contents_basic.phpt +++ b/ext/standard/tests/file/file_get_contents_basic.phpt @@ -5,11 +5,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype: string file_get_contents( string $filename[, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ - $file_path = __DIR__; include($file_path."/file.inc"); diff --git a/ext/standard/tests/file/file_get_contents_error.phpt b/ext/standard/tests/file/file_get_contents_error.phpt index 44fbf58002..66708c4f17 100644 --- a/ext/standard/tests/file/file_get_contents_error.phpt +++ b/ext/standard/tests/file/file_get_contents_error.phpt @@ -4,10 +4,6 @@ Test file_get_contents() function : error conditions Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype: string file_get_contents( string $filename{, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ echo "*** Testing error conditions ***\n"; diff --git a/ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt b/ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt index 85f44f2cb7..97482e9a59 100644 --- a/ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt +++ b/ext/standard/tests/file/file_get_contents_file_put_contents_basic.phpt @@ -3,15 +3,6 @@ Test file_put_contents() and file_get_contents() functions : basic functionality --FILE-- <?php -/* Prototype: string file_get_contents( string $filename[, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ - -/* Prototype: int file_put_contents( string $filename, mixed $data[, int $flags[, resource $context]] ) - * Description: Write a string to a file - */ - $file_path = __DIR__; include($file_path."/file.inc"); diff --git a/ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt b/ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt index 1cc9b17178..5b889a19c3 100644 --- a/ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt +++ b/ext/standard/tests/file/file_get_contents_file_put_contents_error.phpt @@ -2,14 +2,6 @@ Test file-get_contents() and file_put_contents() functions : error conditions --FILE-- <?php -/* Prototype: string file_get_contents( string $filename{, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ - -/* Prototype: int file_put_contents( string $filename, mixed $data[, int $flags[, resource $context]] ) - * Description: Write a string to a file - */ echo "*** Testing error conditions ***\n"; diff --git a/ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt b/ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt index 80ddf1f5db..4abe1dce13 100644 --- a/ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt +++ b/ext/standard/tests/file/file_get_contents_file_put_contents_variation1.phpt @@ -2,14 +2,7 @@ Test file_get_contents() and file_put_contents() functions : usage variations - all arguments --FILE-- <?php -/* Prototype: string file_get_contents( string $filename[, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ -/* Prototype: int file_put_contents( string $filename, mixed $data[,int $flags[, resource $context]] ) - * Description: Write a string to a file - */ /* Testing variation in all argument values */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt b/ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt index 0a35283aeb..c452dec13c 100644 --- a/ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt +++ b/ext/standard/tests/file/file_get_contents_file_put_contents_variation2.phpt @@ -2,14 +2,6 @@ Test file_get_contents() and file_put_contents() functions : usage variations - use_include_path --FILE-- <?php -/* Prototype: string file_get_contents( string $filename[, bool $use_include_path[, - * resource $context[, int $offset[, int $maxlen]]]] ) - * Description: Reads entire file into a string - */ - -/* Prototype: int file_put_contents( string $filename, mixed $data[,int $flags[, resource $context]] ) - * Description: Write a string to a file - */ /* Testing variation using use_include_path argument */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/file_get_contents_variation1.phpt b/ext/standard/tests/file/file_get_contents_variation1.phpt index 36bed7cb10..e770626054 100644 --- a/ext/standard/tests/file/file_get_contents_variation1.phpt +++ b/ext/standard/tests/file/file_get_contents_variation1.phpt @@ -4,12 +4,6 @@ Test file_get_contents() function : variation - include path testing Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; require_once('fopen_include_path.inc'); diff --git a/ext/standard/tests/file/file_get_contents_variation2.phpt b/ext/standard/tests/file/file_get_contents_variation2.phpt index b39c148b89..db3fd365c2 100644 --- a/ext/standard/tests/file/file_get_contents_variation2.phpt +++ b/ext/standard/tests/file/file_get_contents_variation2.phpt @@ -4,12 +4,6 @@ Test file_get_contents() function : variation - include path testing Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; diff --git a/ext/standard/tests/file/file_get_contents_variation7-win32-mb.phpt b/ext/standard/tests/file/file_get_contents_variation7-win32-mb.phpt index 48711ddf43..c1a0b1960a 100644 --- a/ext/standard/tests/file/file_get_contents_variation7-win32-mb.phpt +++ b/ext/standard/tests/file/file_get_contents_variation7-win32-mb.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; $mainDir = "fileGetContentsVar7私はガラスを食べられます.dir"; $subDir = "fileGetContentsVar7Sub私はガラスを食べられます"; diff --git a/ext/standard/tests/file/file_get_contents_variation7-win32.phpt b/ext/standard/tests/file/file_get_contents_variation7-win32.phpt index d4e877d9ab..a18af0ff11 100644 --- a/ext/standard/tests/file/file_get_contents_variation7-win32.phpt +++ b/ext/standard/tests/file/file_get_contents_variation7-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; $mainDir = "fileGetContentsVar7.dir"; $subDir = "fileGetContentsVar7Sub"; diff --git a/ext/standard/tests/file/file_get_contents_variation7.phpt b/ext/standard/tests/file/file_get_contents_variation7.phpt index 627ef8f849..6af0aaba71 100644 --- a/ext/standard/tests/file/file_get_contents_variation7.phpt +++ b/ext/standard/tests/file/file_get_contents_variation7.phpt @@ -4,12 +4,6 @@ Test file_get_contents() function : variation - various absolute and relative pa Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; $mainDir = "fileGetContentsVar7.dir"; $subDir = "fileGetContentsVar7Sub"; diff --git a/ext/standard/tests/file/file_get_contents_variation8-win32.phpt b/ext/standard/tests/file/file_get_contents_variation8-win32.phpt index 12814304d0..d2e39b56bd 100644 --- a/ext/standard/tests/file/file_get_contents_variation8-win32.phpt +++ b/ext/standard/tests/file/file_get_contents_variation8-win32.phpt @@ -12,12 +12,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { obscure_filename --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; /* An array of filenames */ diff --git a/ext/standard/tests/file/file_get_contents_variation8.phpt b/ext/standard/tests/file/file_get_contents_variation8.phpt index 058f3bf7e0..fb867e28f7 100644 --- a/ext/standard/tests/file/file_get_contents_variation8.phpt +++ b/ext/standard/tests/file/file_get_contents_variation8.phpt @@ -12,12 +12,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { obscure_filename --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; /* An array of filenames */ $names_arr = array( diff --git a/ext/standard/tests/file/file_get_contents_variation9.phpt b/ext/standard/tests/file/file_get_contents_variation9.phpt index c5bd75f331..67ec4b3d2a 100644 --- a/ext/standard/tests/file/file_get_contents_variation9.phpt +++ b/ext/standard/tests/file/file_get_contents_variation9.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) - * Description: Read the entire file into a string - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_get_contents() : variation ***\n"; $filename = __DIR__.'/fileGetContentsVar9.tmp'; $softlink = __DIR__.'/fileGetContentsVar9.SoftLink'; diff --git a/ext/standard/tests/file/file_put_contents_variation1.phpt b/ext/standard/tests/file/file_put_contents_variation1.phpt index 8302454d72..c67b2e234b 100644 --- a/ext/standard/tests/file/file_put_contents_variation1.phpt +++ b/ext/standard/tests/file/file_put_contents_variation1.phpt @@ -4,12 +4,6 @@ Test file_put_contents() function : variation - test append flag Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : variation ***\n"; $filename = "FilePutContentsVar1.tmp"; diff --git a/ext/standard/tests/file/file_put_contents_variation2.phpt b/ext/standard/tests/file/file_put_contents_variation2.phpt index 098ed37589..a0c73eca40 100644 --- a/ext/standard/tests/file/file_put_contents_variation2.phpt +++ b/ext/standard/tests/file/file_put_contents_variation2.phpt @@ -4,12 +4,6 @@ Test file_put_contents() function : usage variation - different data types to wr Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; // Define error handler diff --git a/ext/standard/tests/file/file_put_contents_variation4.phpt b/ext/standard/tests/file/file_put_contents_variation4.phpt index 722ecd4dd1..4244062b32 100644 --- a/ext/standard/tests/file/file_put_contents_variation4.phpt +++ b/ext/standard/tests/file/file_put_contents_variation4.phpt @@ -4,13 +4,6 @@ Test file_put_contents() function : variation - include path testing Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - - require_once('fopen_include_path.inc'); $thisTestDir = basename(__FILE__, ".php") . ".dir"; diff --git a/ext/standard/tests/file/file_put_contents_variation6.phpt b/ext/standard/tests/file/file_put_contents_variation6.phpt index 389df4db27..fbe4cdfa61 100644 --- a/ext/standard/tests/file/file_put_contents_variation6.phpt +++ b/ext/standard/tests/file/file_put_contents_variation6.phpt @@ -4,12 +4,6 @@ Test file_put_contents() function : variation - include path testing Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : variation ***\n"; require_once('fopen_include_path.inc'); diff --git a/ext/standard/tests/file/file_put_contents_variation7-win32.phpt b/ext/standard/tests/file/file_put_contents_variation7-win32.phpt index 6a3d41797a..38e322398d 100644 --- a/ext/standard/tests/file/file_put_contents_variation7-win32.phpt +++ b/ext/standard/tests/file/file_put_contents_variation7-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; $mainDir = "filePutContentsVar7.dir"; diff --git a/ext/standard/tests/file/file_put_contents_variation7.phpt b/ext/standard/tests/file/file_put_contents_variation7.phpt index 1c55b1bb58..6e380dc4f6 100644 --- a/ext/standard/tests/file/file_put_contents_variation7.phpt +++ b/ext/standard/tests/file/file_put_contents_variation7.phpt @@ -4,12 +4,6 @@ Test file_put_contents() function : usage variation - various absolute and relat Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; $mainDir = "filePutContentsVar7.dir"; diff --git a/ext/standard/tests/file/file_put_contents_variation8-win32.phpt b/ext/standard/tests/file/file_put_contents_variation8-win32.phpt index 438fcb6903..5246a5af23 100644 --- a/ext/standard/tests/file/file_put_contents_variation8-win32.phpt +++ b/ext/standard/tests/file/file_put_contents_variation8-win32.phpt @@ -11,12 +11,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; /* An array of filenames */ diff --git a/ext/standard/tests/file/file_put_contents_variation8.phpt b/ext/standard/tests/file/file_put_contents_variation8.phpt index 1a55621c3f..63ac4b56fd 100644 --- a/ext/standard/tests/file/file_put_contents_variation8.phpt +++ b/ext/standard/tests/file/file_put_contents_variation8.phpt @@ -11,12 +11,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") obscure_filename --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; $dir = __DIR__ . '/file_put_contents_variation8'; diff --git a/ext/standard/tests/file/file_put_contents_variation9.phpt b/ext/standard/tests/file/file_put_contents_variation9.phpt index 554ce344e7..03b72d178f 100644 --- a/ext/standard/tests/file/file_put_contents_variation9.phpt +++ b/ext/standard/tests/file/file_put_contents_variation9.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) - * Description: Write/Create a file with contents data and return the number of bytes written - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file_put_contents() : usage variation ***\n"; $filename = __DIR__.'/filePutContentsVar9.tmp'; diff --git a/ext/standard/tests/file/file_variation.phpt b/ext/standard/tests/file/file_variation.phpt index c430845335..2c46f039c2 100644 --- a/ext/standard/tests/file/file_variation.phpt +++ b/ext/standard/tests/file/file_variation.phpt @@ -2,11 +2,6 @@ Test file() function : usage variations --FILE-- <?php -/* - * Prototype: array file ( string filename [,int use-include_path [,resource context]] ); - * Description: Reads entire file into an array - Returns the file in an array - */ require(__DIR__ . '/file.inc'); $data_array = array( "Garbage data", "Gar\nba\nge d\nata", "Gar\n\nbage \n\n data" ); diff --git a/ext/standard/tests/file/file_variation8-win32.phpt b/ext/standard/tests/file/file_variation8-win32.phpt index 1bd68f5ed5..511bc0eb7c 100644 --- a/ext/standard/tests/file/file_variation8-win32.phpt +++ b/ext/standard/tests/file/file_variation8-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : array file(string filename [, int flags[, resource context]]) - * Description: Read entire file into an array - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file() : variation ***\n"; $mainDir = "fileVar8.dir"; $subDir = "fileVar8Sub"; diff --git a/ext/standard/tests/file/file_variation8.phpt b/ext/standard/tests/file/file_variation8.phpt index 18908df15d..f42925043d 100644 --- a/ext/standard/tests/file/file_variation8.phpt +++ b/ext/standard/tests/file/file_variation8.phpt @@ -4,12 +4,6 @@ Test file function : variation - various absolute and relative paths Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array file(string filename [, int flags[, resource context]]) - * Description: Read entire file into an array - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file() : variation ***\n"; $mainDir = "fileVar8.dir"; $subDir = "fileVar8Sub"; diff --git a/ext/standard/tests/file/file_variation9.phpt b/ext/standard/tests/file/file_variation9.phpt index 39f58aa788..326a56ca27 100644 --- a/ext/standard/tests/file/file_variation9.phpt +++ b/ext/standard/tests/file/file_variation9.phpt @@ -4,12 +4,6 @@ Test file function : variation - test various endings of a file Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array file(string filename [, int flags[, resource context]]) - * Description: Read entire file into an array - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing file() : variation ***\n"; $testfile = __DIR__."/fileVar9.txt"; diff --git a/ext/standard/tests/file/filegroup_basic.phpt b/ext/standard/tests/file/filegroup_basic.phpt index ff546501ed..6d8c82ffd6 100644 --- a/ext/standard/tests/file/filegroup_basic.phpt +++ b/ext/standard/tests/file/filegroup_basic.phpt @@ -8,9 +8,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int filegroup ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ echo "*** Testing filegroup(): basic functionality ***\n"; diff --git a/ext/standard/tests/file/filegroup_error.phpt b/ext/standard/tests/file/filegroup_error.phpt index e602f3441f..f65336be6f 100644 --- a/ext/standard/tests/file/filegroup_error.phpt +++ b/ext/standard/tests/file/filegroup_error.phpt @@ -2,9 +2,6 @@ Test filegroup() function: error conditions --FILE-- <?php -/* Prototype: int filegroup ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ echo "*** Testing filegroup(): error conditions ***\n"; diff --git a/ext/standard/tests/file/filegroup_variation1.phpt b/ext/standard/tests/file/filegroup_variation1.phpt index 06c39cfbda..206f6639c1 100644 --- a/ext/standard/tests/file/filegroup_variation1.phpt +++ b/ext/standard/tests/file/filegroup_variation1.phpt @@ -9,10 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* Prototype: int filegroup ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ - /* Creating soft and hard links to a file and applying filegroup() on links */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/filegroup_variation2.phpt b/ext/standard/tests/file/filegroup_variation2.phpt index 6c8b1826c3..85ee170660 100644 --- a/ext/standard/tests/file/filegroup_variation2.phpt +++ b/ext/standard/tests/file/filegroup_variation2.phpt @@ -6,10 +6,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> obscure_filename --FILE-- <?php -/* Prototype: int filegroup ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ - /* Testing filegroup() with invalid arguments -int, float, bool, NULL, resource */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/filegroup_variation3.phpt b/ext/standard/tests/file/filegroup_variation3.phpt index 51c0a33861..47f519275e 100644 --- a/ext/standard/tests/file/filegroup_variation3.phpt +++ b/ext/standard/tests/file/filegroup_variation3.phpt @@ -4,9 +4,6 @@ Test filegroup() function: usage variations - diff. path notations Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype: int filegroup ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ /* Passing file names with different notations, using slashes, wild-card chars */ diff --git a/ext/standard/tests/file/fileinode_basic.phpt b/ext/standard/tests/file/fileinode_basic.phpt index dfcabe16bb..285d708b44 100644 --- a/ext/standard/tests/file/fileinode_basic.phpt +++ b/ext/standard/tests/file/fileinode_basic.phpt @@ -2,11 +2,6 @@ Test fileinode() function: Basic functionality --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - echo "*** Testing fileinode() with file, directory ***\n"; /* Getting inode of created file */ diff --git a/ext/standard/tests/file/fileinode_error.phpt b/ext/standard/tests/file/fileinode_error.phpt index d080467f04..698dd08195 100644 --- a/ext/standard/tests/file/fileinode_error.phpt +++ b/ext/standard/tests/file/fileinode_error.phpt @@ -2,11 +2,6 @@ Test fileinode() function: Error conditions --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - echo "*** Testing error conditions of fileinode() ***"; /* Non-existing file or dir */ @@ -19,13 +14,13 @@ var_dump( fileinode(100) ); echo "\n*** Done ***"; --EXPECTF-- *** Testing error conditions of fileinode() *** -Warning: fileinode(): stat failed for /no/such/file/dir in %s on line 10 +Warning: fileinode(): stat failed for /no/such/file/dir in %s on line %d bool(false) -Warning: fileinode(): stat failed for string in %s on line 13 +Warning: fileinode(): stat failed for string in %s on line %d bool(false) -Warning: fileinode(): stat failed for 100 in %s on line 14 +Warning: fileinode(): stat failed for 100 in %s on line %d bool(false) *** Done *** diff --git a/ext/standard/tests/file/fileinode_variation.phpt b/ext/standard/tests/file/fileinode_variation.phpt index 881aa2ce59..025cc421e9 100644 --- a/ext/standard/tests/file/fileinode_variation.phpt +++ b/ext/standard/tests/file/fileinode_variation.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - echo "*** Testing fileinode() with files, links and directories ***\n"; $file_path = __DIR__; $file1 = $file_path."/fileinode1_variation.tmp"; diff --git a/ext/standard/tests/file/fileinode_variation1.phpt b/ext/standard/tests/file/fileinode_variation1.phpt index 49cc6a937d..dcf468e5f5 100644 --- a/ext/standard/tests/file/fileinode_variation1.phpt +++ b/ext/standard/tests/file/fileinode_variation1.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - /* Creating soft and hard links to a file and applying fileinode() on links */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fileinode_variation2.phpt b/ext/standard/tests/file/fileinode_variation2.phpt index 07b76bb62c..d8593733a8 100644 --- a/ext/standard/tests/file/fileinode_variation2.phpt +++ b/ext/standard/tests/file/fileinode_variation2.phpt @@ -6,11 +6,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> obscure_filename --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - /* Testing fileinode() with invalid arguments -int, float, bool, NULL, resource */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fileinode_variation3.phpt b/ext/standard/tests/file/fileinode_variation3.phpt index bb3dafd52d..cf85f6160b 100644 --- a/ext/standard/tests/file/fileinode_variation3.phpt +++ b/ext/standard/tests/file/fileinode_variation3.phpt @@ -4,11 +4,6 @@ Test fileinode() function: usage variations - diff. path notations Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* -Prototype: int fileinode ( string $filename ); -Description: Returns the inode number of the file, or FALSE in case of an error. -*/ - /* Passing file names with different notations, using slashes, wild-card chars */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fileowner_basic.phpt b/ext/standard/tests/file/fileowner_basic.phpt index 9bb0827ec8..faf6656a69 100644 --- a/ext/standard/tests/file/fileowner_basic.phpt +++ b/ext/standard/tests/file/fileowner_basic.phpt @@ -2,11 +2,6 @@ Test fileowner() function: basic functionality --FILE-- <?php -/* Prototype: int fileowner ( string $filename ) - * Description: Returns the user ID of the owner of the file, or - * FALSE in case of an error. - */ - echo "*** Testing fileowner(): basic functionality ***\n"; echo "-- Testing with the file or directory created by owner --\n"; diff --git a/ext/standard/tests/file/fileowner_error.phpt b/ext/standard/tests/file/fileowner_error.phpt index 807c09f0f0..c4013a915c 100644 --- a/ext/standard/tests/file/fileowner_error.phpt +++ b/ext/standard/tests/file/fileowner_error.phpt @@ -2,10 +2,6 @@ Test of fileowner() function: error conditions --FILE-- <?php -/* Prototype: int fileowner ( string $filename ) - * Description: Returns the user ID of the owner of the file, or - * FALSE in case of an error. - */ echo "*** Testing fileowner(): error conditions ***\n"; /* Non-existing file or dir */ diff --git a/ext/standard/tests/file/fileowner_variation1.phpt b/ext/standard/tests/file/fileowner_variation1.phpt index 03602092e3..d78c449786 100644 --- a/ext/standard/tests/file/fileowner_variation1.phpt +++ b/ext/standard/tests/file/fileowner_variation1.phpt @@ -9,10 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* Prototype: int fileowner ( string $filename ) - * Description: Returns the user ID of the owner of the file, or - * FALSE in case of an error. - */ /* Creating soft and hard links to a file and applying fileowner() on links */ diff --git a/ext/standard/tests/file/fileowner_variation2.phpt b/ext/standard/tests/file/fileowner_variation2.phpt index 8de42cb494..752fa1d6ef 100644 --- a/ext/standard/tests/file/fileowner_variation2.phpt +++ b/ext/standard/tests/file/fileowner_variation2.phpt @@ -6,10 +6,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> obscure_filename --FILE-- <?php -/* Prototype: int fileowner ( string $filename ) - * Description: Returns the user ID of the owner of the file, or - * FALSE in case of an error. - */ /* Testing fileowner() with invalid arguments -int, float, bool, NULL, resource */ diff --git a/ext/standard/tests/file/fileowner_variation3.phpt b/ext/standard/tests/file/fileowner_variation3.phpt index b7de38ec6f..df392f8f36 100644 --- a/ext/standard/tests/file/fileowner_variation3.phpt +++ b/ext/standard/tests/file/fileowner_variation3.phpt @@ -4,10 +4,6 @@ Test fileowner() function: usage variations - diff. path notations Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype: int fileowner ( string $filename ) - * Description: Returns the user ID of the owner of the file, or - * FALSE in case of an error. - */ /* Passing file names with different notations, using slashes, wild-card chars */ diff --git a/ext/standard/tests/file/fileperms_variation1.phpt b/ext/standard/tests/file/fileperms_variation1.phpt index b3ea2d5cf6..1bb692bdde 100644 --- a/ext/standard/tests/file/fileperms_variation1.phpt +++ b/ext/standard/tests/file/fileperms_variation1.phpt @@ -9,9 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* Prototype: int fileperms ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ /* Creating soft and hard links to a file and applying fileperms() on links */ diff --git a/ext/standard/tests/file/fileperms_variation2.phpt b/ext/standard/tests/file/fileperms_variation2.phpt index 4eee45d869..9c9d263ebe 100644 --- a/ext/standard/tests/file/fileperms_variation2.phpt +++ b/ext/standard/tests/file/fileperms_variation2.phpt @@ -6,10 +6,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> obscure_filename --FILE-- <?php -/* Prototype: int fileperms ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ - /* Testing fileperms() with invalid arguments -int, float, bool, NULL, resource */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fileperms_variation3.phpt b/ext/standard/tests/file/fileperms_variation3.phpt index 73c00130d1..9a4f40b269 100644 --- a/ext/standard/tests/file/fileperms_variation3.phpt +++ b/ext/standard/tests/file/fileperms_variation3.phpt @@ -4,10 +4,6 @@ Test fileperms() function: usage variations - diff. path notations Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype: int fileperms ( string $filename ) - * Description: Returns the group ID of the file, or FALSE in case of an error. - */ - /* Passing file names with different notations, using slashes, wild-card chars */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/filesize_basic.phpt b/ext/standard/tests/file/filesize_basic.phpt index 09c3352f62..e26592c99e 100644 --- a/ext/standard/tests/file/filesize_basic.phpt +++ b/ext/standard/tests/file/filesize_basic.phpt @@ -2,13 +2,6 @@ Test filesize() function: basic functionaity --FILE-- <?php -/* - * Prototype: int filesize ( string $filename ); - * Description: Returns the size of the file in bytes, or FALSE - * (and generates an error of level E_WARNING) in case of an error. - */ - - echo "*** Testing size of files and directories with filesize() ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/filesize_error.phpt b/ext/standard/tests/file/filesize_error.phpt index 5ad8ee99ca..5d5acae2af 100644 --- a/ext/standard/tests/file/filesize_error.phpt +++ b/ext/standard/tests/file/filesize_error.phpt @@ -2,12 +2,6 @@ Test filesize() function: error conditions --FILE-- <?php -/* - * Prototype : int filesize ( string $filename ); - * Description : Returns the size of the file in bytes, or FALSE - * (and generates an error of level E_WARNING) in case of an error. - */ - echo "*** Testing filesize(): error conditions ***"; /* Non-existing file or dir */ diff --git a/ext/standard/tests/file/filesize_variation1-win32-mb.phpt b/ext/standard/tests/file/filesize_variation1-win32-mb.phpt index 73d37c9ec3..3253256ef1 100644 --- a/ext/standard/tests/file/filesize_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/filesize_variation1-win32-mb.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation1-win32.phpt b/ext/standard/tests/file/filesize_variation1-win32.phpt index b312d09fc1..3b784820ac 100644 --- a/ext/standard/tests/file/filesize_variation1-win32.phpt +++ b/ext/standard/tests/file/filesize_variation1-win32.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation1.phpt b/ext/standard/tests/file/filesize_variation1.phpt index e9a5af86ba..8dd974947b 100644 --- a/ext/standard/tests/file/filesize_variation1.phpt +++ b/ext/standard/tests/file/filesize_variation1.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation2-win32.phpt b/ext/standard/tests/file/filesize_variation2-win32.phpt index 06cef27bc6..de475bbea8 100644 --- a/ext/standard/tests/file/filesize_variation2-win32.phpt +++ b/ext/standard/tests/file/filesize_variation2-win32.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation2.phpt b/ext/standard/tests/file/filesize_variation2.phpt index 851d2d526a..b885d93894 100644 --- a/ext/standard/tests/file/filesize_variation2.phpt +++ b/ext/standard/tests/file/filesize_variation2.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation3.phpt b/ext/standard/tests/file/filesize_variation3.phpt index 7006740e4c..bf27c893b6 100644 --- a/ext/standard/tests/file/filesize_variation3.phpt +++ b/ext/standard/tests/file/filesize_variation3.phpt @@ -2,12 +2,6 @@ Test filesize() function: usage variations - file size after truncate --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; echo "*** Testing filesize(): usage variations ***\n"; diff --git a/ext/standard/tests/file/filesize_variation4-win32.phpt b/ext/standard/tests/file/filesize_variation4-win32.phpt index 950f8be1cb..994b699be1 100644 --- a/ext/standard/tests/file/filesize_variation4-win32.phpt +++ b/ext/standard/tests/file/filesize_variation4-win32.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/filesize_variation4.phpt b/ext/standard/tests/file/filesize_variation4.phpt index 6a76313af3..9ca263b74a 100644 --- a/ext/standard/tests/file/filesize_variation4.phpt +++ b/ext/standard/tests/file/filesize_variation4.phpt @@ -7,12 +7,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* - Prototype : int filesize ( string $filename ); - Description : Returns the size of the file in bytes, or FALSE - (and generates an error of level E_WARNING) in case of an error. -*/ - /* Testing filesize() with data written using different file modes and by creating holes in file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/filesize_variation5.phpt b/ext/standard/tests/file/filesize_variation5.phpt index 9d1338481d..ab1fc6c9ff 100644 --- a/ext/standard/tests/file/filesize_variation5.phpt +++ b/ext/standard/tests/file/filesize_variation5.phpt @@ -4,12 +4,6 @@ Test filesize() function: usage variations - size of files Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* - * Prototype : int filesize ( string $filename ); - * Description : Returns the size of the file in bytes, or FALSE - * (and generates an error of level E_WARNING) in case of an error. - */ - echo "*** Testing filesize(): usage variations ***\n"; /* null, false, "", " " */ diff --git a/ext/standard/tests/file/filetype_basic.phpt b/ext/standard/tests/file/filetype_basic.phpt index b56c19065d..4e23675e02 100644 --- a/ext/standard/tests/file/filetype_basic.phpt +++ b/ext/standard/tests/file/filetype_basic.phpt @@ -2,12 +2,6 @@ Test filetype() function: Basic functionality --FILE-- <?php -/* -Prototype: string filetype ( string $filename ); -Description: Returns the type of the file. Possible values are fifo, char, - dir, block, link, file, and unknown. -*/ - echo "*** Testing filetype() with files and dirs ***\n"; print( filetype(__FILE__) )."\n"; diff --git a/ext/standard/tests/file/filetype_error.phpt b/ext/standard/tests/file/filetype_error.phpt index a34671d9b0..5d2de7c58d 100644 --- a/ext/standard/tests/file/filetype_error.phpt +++ b/ext/standard/tests/file/filetype_error.phpt @@ -2,12 +2,6 @@ Test filetype() function: Error conditions --FILE-- <?php -/* -Prototype: string filetype ( string $filename ); -Description: Returns the type of the file. Possible values are fifo, char, - dir, block, link, file, and unknown. -*/ - echo "*** Testing error conditions ***"; /* non-existing file or dir */ print( filetype("/no/such/file/dir") ); diff --git a/ext/standard/tests/file/filetype_variation.phpt b/ext/standard/tests/file/filetype_variation.phpt index 019f73a3c8..0f93429548 100644 --- a/ext/standard/tests/file/filetype_variation.phpt +++ b/ext/standard/tests/file/filetype_variation.phpt @@ -11,12 +11,6 @@ if (!function_exists("posix_mkfifo")) { ?> --FILE-- <?php -/* -Prototype: string filetype ( string $filename ); -Description: Returns the type of the file. Possible values are fifo, char, - dir, block, link, file, and unknown. -*/ - echo "*** Testing filetype() with various types ***\n"; $file_path = __DIR__; $file1 = $file_path."/filetype1_variation.tmp"; diff --git a/ext/standard/tests/file/filetype_variation2.phpt b/ext/standard/tests/file/filetype_variation2.phpt index 1e006441c5..8ea1e16b22 100644 --- a/ext/standard/tests/file/filetype_variation2.phpt +++ b/ext/standard/tests/file/filetype_variation2.phpt @@ -13,12 +13,6 @@ if (!file_exists("/dev/null")) { ?> --FILE-- <?php -/* -Prototype: string filetype ( string $filename ); -Description: Returns the type of the file. Possible values are fifo, char, - dir, block, link, file, and unknown. -*/ - echo "-- Checking for char --\n"; print( filetype("/dev/null") )."\n"; ?> diff --git a/ext/standard/tests/file/filetype_variation3.phpt b/ext/standard/tests/file/filetype_variation3.phpt index 0abd264621..dbc74966ee 100644 --- a/ext/standard/tests/file/filetype_variation3.phpt +++ b/ext/standard/tests/file/filetype_variation3.phpt @@ -13,12 +13,6 @@ if (!file_exists("/dev/ram0")) { ?> --FILE-- <?php -/* -Prototype: string filetype ( string $filename ); -Description: Returns the type of the file. Possible values are fifo, char, - dir, block, link, file, and unknown. -*/ - echo "-- Checking for block --\n"; print( filetype("/dev/ram0") )."\n"; ?> diff --git a/ext/standard/tests/file/flock_basic.phpt b/ext/standard/tests/file/flock_basic.phpt index 812c2958a5..df1199d468 100644 --- a/ext/standard/tests/file/flock_basic.phpt +++ b/ext/standard/tests/file/flock_basic.phpt @@ -3,7 +3,6 @@ Test flock() function: Basic functionality --FILE-- <?php /* -Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]); Description: PHP supports a portable way of locking complete files in an advisory way */ diff --git a/ext/standard/tests/file/flock_error.phpt b/ext/standard/tests/file/flock_error.phpt index b346cd125a..52dd5179be 100644 --- a/ext/standard/tests/file/flock_error.phpt +++ b/ext/standard/tests/file/flock_error.phpt @@ -5,7 +5,6 @@ obscure_filename --FILE-- <?php /* -Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]); Description: PHP supports a portable way of locking complete files in an advisory way */ diff --git a/ext/standard/tests/file/flock_variation.phpt b/ext/standard/tests/file/flock_variation.phpt index a912fce3c9..40945be58e 100644 --- a/ext/standard/tests/file/flock_variation.phpt +++ b/ext/standard/tests/file/flock_variation.phpt @@ -2,12 +2,6 @@ Test flock() function: Variations --FILE-- <?php -/* -Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]); -Description: PHP supports a portable way of locking complete files - in an advisory way -*/ - echo "*** Testing flock() fun with the various operation and wouldblock values ***\n"; diff --git a/ext/standard/tests/file/fnmatch_basic.phpt b/ext/standard/tests/file/fnmatch_basic.phpt index 189605169d..18a8161966 100644 --- a/ext/standard/tests/file/fnmatch_basic.phpt +++ b/ext/standard/tests/file/fnmatch_basic.phpt @@ -7,10 +7,6 @@ if (!function_exists('fnmatch')) ?> --FILE-- <?php -/* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] ) - Description: fnmatch() checks if the passed string would match - the given shell wildcard pattern. -*/ echo "*** Testing fnmatch() with file ***\n"; $file = basename(__FILE__); diff --git a/ext/standard/tests/file/fnmatch_variation.phpt b/ext/standard/tests/file/fnmatch_variation.phpt index 746d49747d..e7ad222444 100644 --- a/ext/standard/tests/file/fnmatch_variation.phpt +++ b/ext/standard/tests/file/fnmatch_variation.phpt @@ -7,10 +7,6 @@ if (!function_exists('fnmatch')) ?> --FILE-- <?php -/* Prototype: bool fnmatch ( string $pattern, string $string [, int $flags] ) - Description: fnmatch() checks if the passed string would match - the given shell wildcard pattern. -*/ echo "*** Testing fnmatch() with file and various patterns ***\n"; $file_name = __DIR__."/match.tmp"; diff --git a/ext/standard/tests/file/fopen_variation10-win32.phpt b/ext/standard/tests/file/fopen_variation10-win32.phpt index 10a43df24a..e4a2029c55 100644 --- a/ext/standard/tests/file/fopen_variation10-win32.phpt +++ b/ext/standard/tests/file/fopen_variation10-win32.phpt @@ -14,12 +14,6 @@ if (!is_writable('c:\\fopen_variation10.tmp')) { ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation11-win32.phpt b/ext/standard/tests/file/fopen_variation11-win32.phpt index 91c3cf1cd6..a200d65a44 100644 --- a/ext/standard/tests/file/fopen_variation11-win32.phpt +++ b/ext/standard/tests/file/fopen_variation11-win32.phpt @@ -13,12 +13,6 @@ if (!is_writable('c:\\fopen_variation10.tmp')) { ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation12.phpt b/ext/standard/tests/file/fopen_variation12.phpt index 1ac67df048..50a04550ca 100644 --- a/ext/standard/tests/file/fopen_variation12.phpt +++ b/ext/standard/tests/file/fopen_variation12.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path (path is bad) create a file Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - set_include_path("rubbish"); testme(); diff --git a/ext/standard/tests/file/fopen_variation13.phpt b/ext/standard/tests/file/fopen_variation13.phpt index 0c446485a3..77d642f551 100644 --- a/ext/standard/tests/file/fopen_variation13.phpt +++ b/ext/standard/tests/file/fopen_variation13.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path create a file (absolute) Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); echo "*** Testing fopen() : variation ***\n"; diff --git a/ext/standard/tests/file/fopen_variation14-win32.phpt b/ext/standard/tests/file/fopen_variation14-win32.phpt index f989e8c420..71a0ecd0c7 100644 --- a/ext/standard/tests/file/fopen_variation14-win32.phpt +++ b/ext/standard/tests/file/fopen_variation14-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation14.phpt b/ext/standard/tests/file/fopen_variation14.phpt index fc98194d34..554527d087 100644 --- a/ext/standard/tests/file/fopen_variation14.phpt +++ b/ext/standard/tests/file/fopen_variation14.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation15-win32.phpt b/ext/standard/tests/file/fopen_variation15-win32.phpt index f263b1b393..edabaa5c5c 100644 --- a/ext/standard/tests/file/fopen_variation15-win32.phpt +++ b/ext/standard/tests/file/fopen_variation15-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation15.phpt b/ext/standard/tests/file/fopen_variation15.phpt index a86b7d9642..a182865bcb 100644 --- a/ext/standard/tests/file/fopen_variation15.phpt +++ b/ext/standard/tests/file/fopen_variation15.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; // fopen with interesting windows paths. diff --git a/ext/standard/tests/file/fopen_variation16.phpt b/ext/standard/tests/file/fopen_variation16.phpt index fa2fc02682..f3289cd94a 100644 --- a/ext/standard/tests/file/fopen_variation16.phpt +++ b/ext/standard/tests/file/fopen_variation16.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path create and read a file (rela Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); $thisTestDir = "fopenVariation16.dir"; diff --git a/ext/standard/tests/file/fopen_variation17.phpt b/ext/standard/tests/file/fopen_variation17.phpt index 9565cf614c..04059493b0 100644 --- a/ext/standard/tests/file/fopen_variation17.phpt +++ b/ext/standard/tests/file/fopen_variation17.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path create and read a file (rela Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); $thisTestDir = basename(__FILE__, ".php") . ".dir"; diff --git a/ext/standard/tests/file/fopen_variation19.phpt b/ext/standard/tests/file/fopen_variation19.phpt index 58d69cc2cb..8dd9d756ad 100644 --- a/ext/standard/tests/file/fopen_variation19.phpt +++ b/ext/standard/tests/file/fopen_variation19.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - $tmpDir = 'fopenVar19.Dir'; $realFilename = __FILE__.'.real'; $sortFilename = __FILE__.'.soft'; diff --git a/ext/standard/tests/file/fopen_variation5.phpt b/ext/standard/tests/file/fopen_variation5.phpt index 8d7e3b0384..ea2ee4c56d 100644 --- a/ext/standard/tests/file/fopen_variation5.phpt +++ b/ext/standard/tests/file/fopen_variation5.phpt @@ -4,14 +4,6 @@ Test fopen() function : variation: use include path and stream context (absolute Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - - - //create the include directory structure $thisTestDir = basename(__FILE__, ".php") . ".dir"; mkdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation6.phpt b/ext/standard/tests/file/fopen_variation6.phpt index 7a73aa8364..eda07590c9 100644 --- a/ext/standard/tests/file/fopen_variation6.phpt +++ b/ext/standard/tests/file/fopen_variation6.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path and stream context relative/ Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing fopen() : variation ***\n"; $absfile = __FILE__.'.tmp'; $relfile = "fopen_variation6.tmp"; diff --git a/ext/standard/tests/file/fopen_variation7.phpt b/ext/standard/tests/file/fopen_variation7.phpt index 2a1e0268bc..5c80acc212 100644 --- a/ext/standard/tests/file/fopen_variation7.phpt +++ b/ext/standard/tests/file/fopen_variation7.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path create a file (relative) Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); $thisTestDir = basename(__FILE__, ".php") . ".dir"; diff --git a/ext/standard/tests/file/fopen_variation8.phpt b/ext/standard/tests/file/fopen_variation8.phpt index 229edd5672..34491bb82e 100644 --- a/ext/standard/tests/file/fopen_variation8.phpt +++ b/ext/standard/tests/file/fopen_variation8.phpt @@ -4,14 +4,6 @@ Test fopen() function : variation: use include path and stream context (relative Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - - - $thisTestDir = basename(__FILE__, ".php") . ".dir"; mkdir($thisTestDir); chdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation9.phpt b/ext/standard/tests/file/fopen_variation9.phpt index 850bf138d6..fa1ebcf4e0 100644 --- a/ext/standard/tests/file/fopen_variation9.phpt +++ b/ext/standard/tests/file/fopen_variation9.phpt @@ -4,12 +4,6 @@ Test fopen() function : variation: use include path and stream context create a Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : resource fopen(string filename, string mode [, bool use_include_path [, resource context]]) - * Description: Open a file or a URL and return a file pointer - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); $thisTestDir = basename(__FILE__, ".php") . ".dir"; diff --git a/ext/standard/tests/file/fpassthru_basic.phpt b/ext/standard/tests/file/fpassthru_basic.phpt index 3304de406d..de16738a3a 100644 --- a/ext/standard/tests/file/fpassthru_basic.phpt +++ b/ext/standard/tests/file/fpassthru_basic.phpt @@ -2,12 +2,6 @@ Test fpassthru() function: Basic functionality --FILE-- <?php -/* -Prototype: int fpassthru ( resource $handle ); -Description: Reads to EOF on the given file pointer from the current position - and writes the results to the output buffer. -*/ - $file_name = __DIR__."/passthru.tmp"; $write_handle = fopen($file_name, "w"); diff --git a/ext/standard/tests/file/fpassthru_variation.phpt b/ext/standard/tests/file/fpassthru_variation.phpt index fb8c56f585..a7b821303c 100644 --- a/ext/standard/tests/file/fpassthru_variation.phpt +++ b/ext/standard/tests/file/fpassthru_variation.phpt @@ -2,12 +2,6 @@ Test fpassthru() function: Variations --FILE-- <?php -/* -Prototype: int fpassthru ( resource $handle ); -Description: Reads to EOF on the given file pointer from the current position - and writes the results to the output buffer. -*/ - echo "*** Testing fpassthru() function with files ***\n\n"; echo "--- Testing with different offsets ---\n"; diff --git a/ext/standard/tests/file/fputcsv_variation1.phpt b/ext/standard/tests/file/fputcsv_variation1.phpt index b66fdcb269..ba82b20428 100644 --- a/ext/standard/tests/file/fputcsv_variation1.phpt +++ b/ext/standard/tests/file/fputcsv_variation1.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with all parameters specified --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when all its parameters are provided */ echo "*** Testing fputcsv() : with all parameters specified ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation10.phpt b/ext/standard/tests/file/fputcsv_variation10.phpt index 23503ee1fa..ecd1846143 100644 --- a/ext/standard/tests/file/fputcsv_variation10.phpt +++ b/ext/standard/tests/file/fputcsv_variation10.phpt @@ -2,12 +2,6 @@ Test fputcsv() : usage variations - with line without any csv fields --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - - /* Testing fputcsv() to write to a file when the field has no CSV format */ echo "*** Testing fputcsv() : with no CSV format in the field ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation11.phpt b/ext/standard/tests/file/fputcsv_variation11.phpt index 9c394b54e6..2347b9332c 100644 --- a/ext/standard/tests/file/fputcsv_variation11.phpt +++ b/ext/standard/tests/file/fputcsv_variation11.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with default enclosure value --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when default enclosure value is provided */ echo "*** Testing fputcsv() : with default enclosure value ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation12.phpt b/ext/standard/tests/file/fputcsv_variation12.phpt index cf1ba8126f..e5e14c0c91 100644 --- a/ext/standard/tests/file/fputcsv_variation12.phpt +++ b/ext/standard/tests/file/fputcsv_variation12.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with default enclosure and different delimiter --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when default enclosure value and delimiter value other than that in the field is provided */ diff --git a/ext/standard/tests/file/fputcsv_variation13.phpt b/ext/standard/tests/file/fputcsv_variation13.phpt index 119398e788..eb2746790b 100644 --- a/ext/standard/tests/file/fputcsv_variation13.phpt +++ b/ext/standard/tests/file/fputcsv_variation13.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with default enclosure & delimiter of two chars --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when default enclosure value and delimiter of two chars is provided */ diff --git a/ext/standard/tests/file/fputcsv_variation14.phpt b/ext/standard/tests/file/fputcsv_variation14.phpt index 64c2f290ff..e5e98c5ce2 100644 --- a/ext/standard/tests/file/fputcsv_variation14.phpt +++ b/ext/standard/tests/file/fputcsv_variation14.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with enclosure & delimiter of two chars(read only modes) --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when default enclosure value and delimiter of two chars is provided and file is opened in read only mode */ diff --git a/ext/standard/tests/file/fputcsv_variation2.phpt b/ext/standard/tests/file/fputcsv_variation2.phpt index 69c7d64c05..5116940b4d 100644 --- a/ext/standard/tests/file/fputcsv_variation2.phpt +++ b/ext/standard/tests/file/fputcsv_variation2.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with delimiter as NULL --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when delimiter is NULL */ echo "*** Testing fputcsv() : with delimiter as NULL ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation3.phpt b/ext/standard/tests/file/fputcsv_variation3.phpt index 7d45a74dfe..eb8771aa4a 100644 --- a/ext/standard/tests/file/fputcsv_variation3.phpt +++ b/ext/standard/tests/file/fputcsv_variation3.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with enclosure as NULL --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when enclosure is NULL */ echo "*** Testing fputcsv() : with enclosure as NULL ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation4.phpt b/ext/standard/tests/file/fputcsv_variation4.phpt index 2debbcff21..a53257535a 100644 --- a/ext/standard/tests/file/fputcsv_variation4.phpt +++ b/ext/standard/tests/file/fputcsv_variation4.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with delimiter and enclosure as NULL --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when delimiter and enclosure is NULL */ echo "*** Testing fputcsv() : with delimiter and enclosure as NULL ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation5.phpt b/ext/standard/tests/file/fputcsv_variation5.phpt index 1a3a37679e..9261f1d2c1 100644 --- a/ext/standard/tests/file/fputcsv_variation5.phpt +++ b/ext/standard/tests/file/fputcsv_variation5.phpt @@ -2,11 +2,6 @@ Test fputcsv() : usage variations - with default arguments value --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - /* Testing fputcsv() to write to a file when default arguments values are considered */ echo "*** Testing fputcsv() : with default arguments value ***\n"; diff --git a/ext/standard/tests/file/fputcsv_variation6.phpt b/ext/standard/tests/file/fputcsv_variation6.phpt index 2812f53a0a..a385c61ce9 100644 --- a/ext/standard/tests/file/fputcsv_variation6.phpt +++ b/ext/standard/tests/file/fputcsv_variation6.phpt @@ -3,11 +3,6 @@ Test fputcsv() : usage variations - with different delimiter and enclosure --FILE-- <?php /* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - -/* Testing fputcsv() to write to a file when delimiter are different from those present in the field to be written to the file */ diff --git a/ext/standard/tests/file/fputcsv_variation7.phpt b/ext/standard/tests/file/fputcsv_variation7.phpt index 51100b4e5d..7d7586cebf 100644 --- a/ext/standard/tests/file/fputcsv_variation7.phpt +++ b/ext/standard/tests/file/fputcsv_variation7.phpt @@ -3,11 +3,6 @@ Test fputcsv() : usage variations - with different delimiter and same enclosure --FILE-- <?php /* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - -/* Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those present in the field to be written to the file */ diff --git a/ext/standard/tests/file/fputcsv_variation8.phpt b/ext/standard/tests/file/fputcsv_variation8.phpt index 15f5de8e84..ed981284f5 100644 --- a/ext/standard/tests/file/fputcsv_variation8.phpt +++ b/ext/standard/tests/file/fputcsv_variation8.phpt @@ -3,11 +3,6 @@ Test fputcsv() : usage variations - with same delimiter and different enclosure --FILE-- <?php /* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - -/* Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those present in the field to be written to the file */ diff --git a/ext/standard/tests/file/fputcsv_variation9.phpt b/ext/standard/tests/file/fputcsv_variation9.phpt index db5694b1bf..e030c41bd2 100644 --- a/ext/standard/tests/file/fputcsv_variation9.phpt +++ b/ext/standard/tests/file/fputcsv_variation9.phpt @@ -2,12 +2,6 @@ Test fputcsv() : usage variations - two chars as enclosure & delimiter --FILE-- <?php -/* - Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclosure]]] ); - Description: Format line as CSV and write to the file pointer -*/ - - /* Testing fputcsv() to write to a file when delimiter and enclosure are of two chars each */ echo "*** Testing fputcsv() : with two chars as enclosure & delimiter ***\n"; diff --git a/ext/standard/tests/file/fread_basic.phpt b/ext/standard/tests/file/fread_basic.phpt index c97bc05d35..8f1f76a50c 100644 --- a/ext/standard/tests/file/fread_basic.phpt +++ b/ext/standard/tests/file/fread_basic.phpt @@ -2,14 +2,6 @@ Test fread() function : basic functionality --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fread_error.phpt b/ext/standard/tests/file/fread_error.phpt index be6b839840..18bd0ae8d8 100644 --- a/ext/standard/tests/file/fread_error.phpt +++ b/ext/standard/tests/file/fread_error.phpt @@ -2,14 +2,6 @@ Test fread() function : error conditions --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - echo "*** Testing error conditions ***\n"; $filename = __FILE__; $file_handle = fopen($filename, "r"); diff --git a/ext/standard/tests/file/fread_fwrite_basic.phpt b/ext/standard/tests/file/fread_fwrite_basic.phpt index 1b47d4ddd2..97309a6e90 100644 --- a/ext/standard/tests/file/fread_fwrite_basic.phpt +++ b/ext/standard/tests/file/fread_fwrite_basic.phpt @@ -6,19 +6,9 @@ Dave Kelsey <d_kelsey@uk.ibm.com> <?php /* - * proto int fwrite(resource fp, string str [, int length]) * Function is implemented in ext/standard/file.c */ - /* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - - $outputfile = __FILE__.".tmp"; echo "--- testing rw moving about the file ---\n"; diff --git a/ext/standard/tests/file/fread_variation1.phpt b/ext/standard/tests/file/fread_variation1.phpt index 4434887c15..31a99b29a8 100644 --- a/ext/standard/tests/file/fread_variation1.phpt +++ b/ext/standard/tests/file/fread_variation1.phpt @@ -2,14 +2,6 @@ Test fread() function : usage variations - read some/all chars, read/write modes --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - /* Read content less than file size & Read entire file */ diff --git a/ext/standard/tests/file/fread_variation2.phpt b/ext/standard/tests/file/fread_variation2.phpt index 07ed6c3e6f..a16c97a745 100644 --- a/ext/standard/tests/file/fread_variation2.phpt +++ b/ext/standard/tests/file/fread_variation2.phpt @@ -2,14 +2,6 @@ Test fread() function : usage variations - read some/all chars, write only mode (Bug #42036) --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - /* Try reading some or all content of the file opened in write only mode */ // include the file.inc for common functions for test diff --git a/ext/standard/tests/file/fread_variation3-win32-mb.phpt b/ext/standard/tests/file/fread_variation3-win32-mb.phpt index 43ccbe87ea..0e777f74fe 100644 --- a/ext/standard/tests/file/fread_variation3-win32-mb.phpt +++ b/ext/standard/tests/file/fread_variation3-win32-mb.phpt @@ -8,14 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fread_variation3-win32.phpt b/ext/standard/tests/file/fread_variation3-win32.phpt index c5a1eef26d..3a6bd28246 100644 --- a/ext/standard/tests/file/fread_variation3-win32.phpt +++ b/ext/standard/tests/file/fread_variation3-win32.phpt @@ -8,14 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fread_variation3.phpt b/ext/standard/tests/file/fread_variation3.phpt index 9bb735a76c..1ccd222b22 100644 --- a/ext/standard/tests/file/fread_variation3.phpt +++ b/ext/standard/tests/file/fread_variation3.phpt @@ -8,14 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fread_variation4.phpt b/ext/standard/tests/file/fread_variation4.phpt index 953158e594..97c6c39f9c 100644 --- a/ext/standard/tests/file/fread_variation4.phpt +++ b/ext/standard/tests/file/fread_variation4.phpt @@ -2,14 +2,6 @@ Test fread() function : usage variations - read beyond file size, write only mode --FILE-- <?php -/* - Prototype: string fread ( resource $handle [, int $length] ); - Description: reads up to length bytes from the file pointer referenced by handle. - Reading stops when up to length bytes have been read, EOF (end of file) is - reached, (for network streams) when a packet becomes available, or (after - opening userspace stream) when 8192 bytes have been read whichever comes first. -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fscanf_error.phpt b/ext/standard/tests/file/fscanf_error.phpt index d60ade5716..c50af50b6d 100644 --- a/ext/standard/tests/file/fscanf_error.phpt +++ b/ext/standard/tests/file/fscanf_error.phpt @@ -2,11 +2,6 @@ Test fscanf() function: error conditions --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - echo "*** Testing fscanf() for error conditions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation1.phpt b/ext/standard/tests/file/fscanf_variation1.phpt index 6463a2700e..e63afdea65 100644 --- a/ext/standard/tests/file/fscanf_variation1.phpt +++ b/ext/standard/tests/file/fscanf_variation1.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - return type without third argument --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* test fscanf() for its return type */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation10.phpt b/ext/standard/tests/file/fscanf_variation10.phpt index 507ed8e22d..1de7d25ffd 100644 --- a/ext/standard/tests/file/fscanf_variation10.phpt +++ b/ext/standard/tests/file/fscanf_variation10.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - float formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different float format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation11.phpt b/ext/standard/tests/file/fscanf_variation11.phpt index 3d065060dc..40560cfb39 100644 --- a/ext/standard/tests/file/fscanf_variation11.phpt +++ b/ext/standard/tests/file/fscanf_variation11.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - float formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different float format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation12.phpt b/ext/standard/tests/file/fscanf_variation12.phpt index 3cfd942662..0969d05feb 100644 --- a/ext/standard/tests/file/fscanf_variation12.phpt +++ b/ext/standard/tests/file/fscanf_variation12.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - float formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different float format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation13.phpt b/ext/standard/tests/file/fscanf_variation13.phpt index 796831f32a..73806dc6e4 100644 --- a/ext/standard/tests/file/fscanf_variation13.phpt +++ b/ext/standard/tests/file/fscanf_variation13.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - float formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different float format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation14.phpt b/ext/standard/tests/file/fscanf_variation14.phpt index 557767978a..97a07a98f2 100644 --- a/ext/standard/tests/file/fscanf_variation14.phpt +++ b/ext/standard/tests/file/fscanf_variation14.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different strings using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation15.phpt b/ext/standard/tests/file/fscanf_variation15.phpt index d177763557..b35bb1bebe 100644 --- a/ext/standard/tests/file/fscanf_variation15.phpt +++ b/ext/standard/tests/file/fscanf_variation15.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with float values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation16.phpt b/ext/standard/tests/file/fscanf_variation16.phpt index 00fed59cba..199db82a02 100644 --- a/ext/standard/tests/file/fscanf_variation16.phpt +++ b/ext/standard/tests/file/fscanf_variation16.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation17.phpt b/ext/standard/tests/file/fscanf_variation17.phpt index aee9a0c3f9..64080a1a83 100644 --- a/ext/standard/tests/file/fscanf_variation17.phpt +++ b/ext/standard/tests/file/fscanf_variation17.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation18.phpt b/ext/standard/tests/file/fscanf_variation18.phpt index af90fffadf..eef94173c5 100644 --- a/ext/standard/tests/file/fscanf_variation18.phpt +++ b/ext/standard/tests/file/fscanf_variation18.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with integer values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan integer values using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation19.phpt b/ext/standard/tests/file/fscanf_variation19.phpt index 31cc83297b..f5bc3f19e3 100644 --- a/ext/standard/tests/file/fscanf_variation19.phpt +++ b/ext/standard/tests/file/fscanf_variation19.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - string formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different string format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation2.phpt b/ext/standard/tests/file/fscanf_variation2.phpt index 683ac4faae..f2c5593c3e 100644 --- a/ext/standard/tests/file/fscanf_variation2.phpt +++ b/ext/standard/tests/file/fscanf_variation2.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - integer formats with integer values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation20.phpt b/ext/standard/tests/file/fscanf_variation20.phpt index 34dac83bf1..70b13dd55c 100644 --- a/ext/standard/tests/file/fscanf_variation20.phpt +++ b/ext/standard/tests/file/fscanf_variation20.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with integer values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation21.phpt b/ext/standard/tests/file/fscanf_variation21.phpt index e0c8074ead..86968ddd11 100644 --- a/ext/standard/tests/file/fscanf_variation21.phpt +++ b/ext/standard/tests/file/fscanf_variation21.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with float values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation22.phpt b/ext/standard/tests/file/fscanf_variation22.phpt index 2fb450750d..87a5fe21bc 100644 --- a/ext/standard/tests/file/fscanf_variation22.phpt +++ b/ext/standard/tests/file/fscanf_variation22.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation23.phpt b/ext/standard/tests/file/fscanf_variation23.phpt index e8b9c0dae2..f7bb4ee552 100644 --- a/ext/standard/tests/file/fscanf_variation23.phpt +++ b/ext/standard/tests/file/fscanf_variation23.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation24.phpt b/ext/standard/tests/file/fscanf_variation24.phpt index 576919c886..4c46cf58da 100644 --- a/ext/standard/tests/file/fscanf_variation24.phpt +++ b/ext/standard/tests/file/fscanf_variation24.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation25.phpt b/ext/standard/tests/file/fscanf_variation25.phpt index 0fea04e438..dc9d993602 100644 --- a/ext/standard/tests/file/fscanf_variation25.phpt +++ b/ext/standard/tests/file/fscanf_variation25.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation26.phpt b/ext/standard/tests/file/fscanf_variation26.phpt index 5b1c5b0428..19db8f45ab 100644 --- a/ext/standard/tests/file/fscanf_variation26.phpt +++ b/ext/standard/tests/file/fscanf_variation26.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - char formats with chars --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different chars using different char format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation27.phpt b/ext/standard/tests/file/fscanf_variation27.phpt index ca27895eac..a9560e0425 100644 --- a/ext/standard/tests/file/fscanf_variation27.phpt +++ b/ext/standard/tests/file/fscanf_variation27.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with integer values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation28.phpt b/ext/standard/tests/file/fscanf_variation28.phpt index 93b476dd44..18c9726f85 100644 --- a/ext/standard/tests/file/fscanf_variation28.phpt +++ b/ext/standard/tests/file/fscanf_variation28.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with float values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation29.phpt b/ext/standard/tests/file/fscanf_variation29.phpt index 1621958fa4..a35d782fcd 100644 --- a/ext/standard/tests/file/fscanf_variation29.phpt +++ b/ext/standard/tests/file/fscanf_variation29.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation3.phpt b/ext/standard/tests/file/fscanf_variation3.phpt index f52cca4181..5226dba55a 100644 --- a/ext/standard/tests/file/fscanf_variation3.phpt +++ b/ext/standard/tests/file/fscanf_variation3.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation30.phpt b/ext/standard/tests/file/fscanf_variation30.phpt index 3af42e34bc..9afde0f093 100644 --- a/ext/standard/tests/file/fscanf_variation30.phpt +++ b/ext/standard/tests/file/fscanf_variation30.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation31.phpt b/ext/standard/tests/file/fscanf_variation31.phpt index cf1120644a..a9e2c8b268 100644 --- a/ext/standard/tests/file/fscanf_variation31.phpt +++ b/ext/standard/tests/file/fscanf_variation31.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation32.phpt b/ext/standard/tests/file/fscanf_variation32.phpt index 556f60363e..df393f9d83 100644 --- a/ext/standard/tests/file/fscanf_variation32.phpt +++ b/ext/standard/tests/file/fscanf_variation32.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - octal formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different octal format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation33.phpt b/ext/standard/tests/file/fscanf_variation33.phpt index 2753a890b5..1809a0d1e5 100644 --- a/ext/standard/tests/file/fscanf_variation33.phpt +++ b/ext/standard/tests/file/fscanf_variation33.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation34.phpt b/ext/standard/tests/file/fscanf_variation34.phpt index ca0ca65e95..ac202ab26e 100644 --- a/ext/standard/tests/file/fscanf_variation34.phpt +++ b/ext/standard/tests/file/fscanf_variation34.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation35.phpt b/ext/standard/tests/file/fscanf_variation35.phpt index a992e80600..61b939d321 100644 --- a/ext/standard/tests/file/fscanf_variation35.phpt +++ b/ext/standard/tests/file/fscanf_variation35.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - hexa formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation36.phpt b/ext/standard/tests/file/fscanf_variation36.phpt index 12385ce0e7..61571f6c6c 100644 --- a/ext/standard/tests/file/fscanf_variation36.phpt +++ b/ext/standard/tests/file/fscanf_variation36.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - hexa formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation37.phpt b/ext/standard/tests/file/fscanf_variation37.phpt index c31768d8fe..d597ebe307 100644 --- a/ext/standard/tests/file/fscanf_variation37.phpt +++ b/ext/standard/tests/file/fscanf_variation37.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - hexa formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation38.phpt b/ext/standard/tests/file/fscanf_variation38.phpt index d42a9a8f78..236d547f6b 100644 --- a/ext/standard/tests/file/fscanf_variation38.phpt +++ b/ext/standard/tests/file/fscanf_variation38.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - hexa formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different hexa format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation39.phpt b/ext/standard/tests/file/fscanf_variation39.phpt index f92fccf3d1..25a0b38706 100644 --- a/ext/standard/tests/file/fscanf_variation39.phpt +++ b/ext/standard/tests/file/fscanf_variation39.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different unsigned int format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation4.phpt b/ext/standard/tests/file/fscanf_variation4.phpt index 3f8982de12..45a3b5702b 100644 --- a/ext/standard/tests/file/fscanf_variation4.phpt +++ b/ext/standard/tests/file/fscanf_variation4.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - integer formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation40.phpt b/ext/standard/tests/file/fscanf_variation40.phpt index 986d1face4..f13af1a26a 100644 --- a/ext/standard/tests/file/fscanf_variation40.phpt +++ b/ext/standard/tests/file/fscanf_variation40.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different unsigned format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation41.phpt b/ext/standard/tests/file/fscanf_variation41.phpt index 4a752b3830..4c993bbeec 100644 --- a/ext/standard/tests/file/fscanf_variation41.phpt +++ b/ext/standard/tests/file/fscanf_variation41.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - unsigned formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different unsigned format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation42.phpt b/ext/standard/tests/file/fscanf_variation42.phpt index 09f0d0817f..90436ff124 100644 --- a/ext/standard/tests/file/fscanf_variation42.phpt +++ b/ext/standard/tests/file/fscanf_variation42.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - unsigned formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different unsigned format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation43.phpt b/ext/standard/tests/file/fscanf_variation43.phpt index 399e9c72b7..72afbba0c3 100644 --- a/ext/standard/tests/file/fscanf_variation43.phpt +++ b/ext/standard/tests/file/fscanf_variation43.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - unsigned formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different unsigned format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation44.phpt b/ext/standard/tests/file/fscanf_variation44.phpt index cdc9befcf2..3dfd5d6d7b 100644 --- a/ext/standard/tests/file/fscanf_variation44.phpt +++ b/ext/standard/tests/file/fscanf_variation44.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - unsigned formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different unsigned format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation45.phpt b/ext/standard/tests/file/fscanf_variation45.phpt index 31a05d26fa..b694da0e55 100644 --- a/ext/standard/tests/file/fscanf_variation45.phpt +++ b/ext/standard/tests/file/fscanf_variation45.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with integer value --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different integer values using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation46.phpt b/ext/standard/tests/file/fscanf_variation46.phpt index 5c2527f33b..bc96af6dbe 100644 --- a/ext/standard/tests/file/fscanf_variation46.phpt +++ b/ext/standard/tests/file/fscanf_variation46.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with float values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan float values using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation47.phpt b/ext/standard/tests/file/fscanf_variation47.phpt index 8457c48d50..04b92b7e9f 100644 --- a/ext/standard/tests/file/fscanf_variation47.phpt +++ b/ext/standard/tests/file/fscanf_variation47.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with resource --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan resource type using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation48.phpt b/ext/standard/tests/file/fscanf_variation48.phpt index fef3e33e6b..aa717bd83e 100644 --- a/ext/standard/tests/file/fscanf_variation48.phpt +++ b/ext/standard/tests/file/fscanf_variation48.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation49.phpt b/ext/standard/tests/file/fscanf_variation49.phpt index 5ec5ab199d..43505fc249 100644 --- a/ext/standard/tests/file/fscanf_variation49.phpt +++ b/ext/standard/tests/file/fscanf_variation49.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation5.phpt b/ext/standard/tests/file/fscanf_variation5.phpt index a88ce61bf1..7ccdbf6402 100644 --- a/ext/standard/tests/file/fscanf_variation5.phpt +++ b/ext/standard/tests/file/fscanf_variation5.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - integer formats with arrays --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan arrays using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation50.phpt b/ext/standard/tests/file/fscanf_variation50.phpt index 6cb8e9fee6..1e6ecb865e 100644 --- a/ext/standard/tests/file/fscanf_variation50.phpt +++ b/ext/standard/tests/file/fscanf_variation50.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - scientific formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different scientific format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation51.phpt b/ext/standard/tests/file/fscanf_variation51.phpt index 61530e74b8..fad6132748 100644 --- a/ext/standard/tests/file/fscanf_variation51.phpt +++ b/ext/standard/tests/file/fscanf_variation51.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - file opened in write only mode --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan a file for read when file is opened inwrite only mode */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation52.phpt b/ext/standard/tests/file/fscanf_variation52.phpt index 522eef0493..fbd50ca554 100644 --- a/ext/standard/tests/file/fscanf_variation52.phpt +++ b/ext/standard/tests/file/fscanf_variation52.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - empty file --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan an empty file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation53.phpt b/ext/standard/tests/file/fscanf_variation53.phpt index 5935a8a3cf..a683d0a4d4 100644 --- a/ext/standard/tests/file/fscanf_variation53.phpt +++ b/ext/standard/tests/file/fscanf_variation53.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - file pointer pointing to EOF --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to read a file when file pointer is pointing to EOF */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation54.phpt b/ext/standard/tests/file/fscanf_variation54.phpt index 9833fa2872..b13a4ee1b8 100644 --- a/ext/standard/tests/file/fscanf_variation54.phpt +++ b/ext/standard/tests/file/fscanf_variation54.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - objects --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan a file to read objects */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation55.phpt b/ext/standard/tests/file/fscanf_variation55.phpt index 359359d07f..3536d01b42 100644 --- a/ext/standard/tests/file/fscanf_variation55.phpt +++ b/ext/standard/tests/file/fscanf_variation55.phpt @@ -10,11 +10,6 @@ if (PHP_INT_SIZE != 4) { <?php /* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - -/* Test fscanf() to scan data using different format types and also tracking the file pointer movement along with reading */ diff --git a/ext/standard/tests/file/fscanf_variation6.phpt b/ext/standard/tests/file/fscanf_variation6.phpt index e4df9faafa..577477e5de 100644 --- a/ext/standard/tests/file/fscanf_variation6.phpt +++ b/ext/standard/tests/file/fscanf_variation6.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - integer formats with strings --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan strings using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation7.phpt b/ext/standard/tests/file/fscanf_variation7.phpt index 5978a15087..42e2455eea 100644 --- a/ext/standard/tests/file/fscanf_variation7.phpt +++ b/ext/standard/tests/file/fscanf_variation7.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - integer formats with boolean --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan boolean data using different integer format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation8.phpt b/ext/standard/tests/file/fscanf_variation8.phpt index 0f851ad21a..2851d7c027 100644 --- a/ext/standard/tests/file/fscanf_variation8.phpt +++ b/ext/standard/tests/file/fscanf_variation8.phpt @@ -3,11 +3,6 @@ Test fscanf() function: usage variations - float formats with float values --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan different float values using different format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fscanf_variation9.phpt b/ext/standard/tests/file/fscanf_variation9.phpt index 7abcb6fc64..eafa78cefd 100644 --- a/ext/standard/tests/file/fscanf_variation9.phpt +++ b/ext/standard/tests/file/fscanf_variation9.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* - Prototype: mixed fscanf ( resource $handle, string $format [, mixed &$...] ); - Description: Parses input from a file according to a format -*/ - /* Test fscanf() to scan integer values using different float format types */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/fseek_ftell_rewind_basic1.phpt b/ext/standard/tests/file/fseek_ftell_rewind_basic1.phpt index 9b2fa584f6..93fa8429c9 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_basic1.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_basic1.phpt @@ -2,16 +2,6 @@ Test fseek(), ftell() & rewind() functions : Basic functionality - all r and a modes --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32-mb.phpt b/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32-mb.phpt index 2df98b4a8a..f50176590e 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32-mb.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32-mb.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32.phpt b/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32.phpt index 2674fb7697..a841e365e3 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_basic2-win32.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_basic2.phpt b/ext/standard/tests/file/fseek_ftell_rewind_basic2.phpt index 5b1ca5fea5..96b1dde207 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_basic2.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_basic2.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_error1.phpt b/ext/standard/tests/file/fseek_ftell_rewind_error1.phpt index cd58c30f20..d576403644 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_error1.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_error1.phpt @@ -3,16 +3,6 @@ Test fseek(), ftell() & rewind() functions : error conditions - fseek() --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - echo "*** Testing fseek() : error conditions ***\n"; // fseek() on a file handle which is already closed diff --git a/ext/standard/tests/file/fseek_ftell_rewind_error2.phpt b/ext/standard/tests/file/fseek_ftell_rewind_error2.phpt index 45f1298951..5a947f6658 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_error2.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_error2.phpt @@ -3,16 +3,6 @@ Test fseek(), ftell() & rewind() functions : error conditions - ftell() --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - echo "*** Testing ftell() : error conditions ***\n"; // ftell on a file handle which is already closed diff --git a/ext/standard/tests/file/fseek_ftell_rewind_error3.phpt b/ext/standard/tests/file/fseek_ftell_rewind_error3.phpt index e698bca463..f4212ec71b 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_error3.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_error3.phpt @@ -3,16 +3,6 @@ Test fseek(), ftell() & rewind() functions : error conditions - rewind() --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - echo "*** Testing rewind() : error conditions ***\n"; // rewind on a file handle which is already closed diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation1.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation1.phpt index 4eee279fd1..11d10ab058 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation1.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation1.phpt @@ -2,16 +2,6 @@ Test fseek(), ftell() & rewind() functions : usage variations - all r & a modes, default whence --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation2-win32.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation2-win32.phpt index cf962e4676..08fd4adb94 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation2-win32.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation2-win32.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt index 5d8caf173f..a16ebdad05 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation2.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation3.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation3.phpt index e46f7bc085..ffbf31b129 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation3.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation3.phpt @@ -2,16 +2,6 @@ Test fseek(), ftell() & rewind() functions : usage variations - all r and a modes, SEEK_SET --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation4-win32.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation4-win32.phpt index bba1f9bb0c..6893b11150 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation4-win32.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation4-win32.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation4.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation4.phpt index a56d50fab8..7bb5e2ae7d 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation4.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation4.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation5.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation5.phpt index 24a8ba6a46..78fb1800a8 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation5.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation5.phpt @@ -2,16 +2,6 @@ Test fseek(), ftell() & rewind() functions : usage variations - all r & a modes, SEEK_CUR --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation6-win32.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation6-win32.phpt index a4365f0621..188f13ea27 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation6-win32.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation6-win32.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation6.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation6.phpt index 7187738db8..938586277c 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation6.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation6.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation7.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation7.phpt index 449fe44b0d..2551267a5b 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation7.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation7.phpt @@ -2,16 +2,6 @@ Test fseek(), ftell() & rewind() functions : usage variations - all r and a modes, SEEK_END --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation8-win32.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation8-win32.phpt index a0a90a4d89..b4180547ab 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation8-win32.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation8-win32.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt b/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt index 82d4359bd3..0b7b6aacdb 100644 --- a/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt +++ b/ext/standard/tests/file/fseek_ftell_rewind_variation8.phpt @@ -7,16 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype: int fseek ( resource $handle, int $offset [, int $whence] ); - Description: Seeks on a file pointer - - Prototype: bool rewind ( resource $handle ); - Description: Rewind the position of a file pointer - - Prototype: int ftell ( resource $handle ); - Description: Tells file pointer read/write position -*/ - // include the file.inc for common functions for test include ("file.inc"); diff --git a/ext/standard/tests/file/fseek_variation3.phpt b/ext/standard/tests/file/fseek_variation3.phpt index b40a08cc9a..f756f81957 100644 --- a/ext/standard/tests/file/fseek_variation3.phpt +++ b/ext/standard/tests/file/fseek_variation3.phpt @@ -4,12 +4,6 @@ Test fseek() function : variation functionality beyond file boundaries Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : proto int fseek(resource fp, int offset [, int whence]) - * Description: Seek on a file pointer - * Source code: ext/standard/file.c - * Alias to functions: gzseek - */ - echo "*** Testing fseek() : variation - beyond file boundaries ***\n"; $outputfile = __FILE__.".tmp"; diff --git a/ext/standard/tests/file/ftruncate_error.phpt b/ext/standard/tests/file/ftruncate_error.phpt index 83569c47d8..752397a461 100644 --- a/ext/standard/tests/file/ftruncate_error.phpt +++ b/ext/standard/tests/file/ftruncate_error.phpt @@ -2,11 +2,6 @@ Test ftruncate() function : error conditions --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: truncates a file to a given length -*/ - echo "*** Testing ftruncate() : error conditions ***\n"; $filename = __DIR__."/ftruncate_error.tmp"; diff --git a/ext/standard/tests/file/ftruncate_variation1-win32-mb.phpt b/ext/standard/tests/file/ftruncate_variation1-win32-mb.phpt index 0cd33d6512..d9a05b951c 100644 --- a/ext/standard/tests/file/ftruncate_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/ftruncate_variation1-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation1-win32.phpt b/ext/standard/tests/file/ftruncate_variation1-win32.phpt index 2ce57bff86..95aee5ef07 100644 --- a/ext/standard/tests/file/ftruncate_variation1-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation1-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation1.phpt b/ext/standard/tests/file/ftruncate_variation1.phpt index b92d2be7e0..5880c47c1f 100644 --- a/ext/standard/tests/file/ftruncate_variation1.phpt +++ b/ext/standard/tests/file/ftruncate_variation1.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation2-win32.phpt b/ext/standard/tests/file/ftruncate_variation2-win32.phpt index ac485497fb..a1fe06885c 100644 --- a/ext/standard/tests/file/ftruncate_variation2-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation2-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation2.phpt b/ext/standard/tests/file/ftruncate_variation2.phpt index f08614d182..9aacea0fbf 100644 --- a/ext/standard/tests/file/ftruncate_variation2.phpt +++ b/ext/standard/tests/file/ftruncate_variation2.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation3-win32.phpt b/ext/standard/tests/file/ftruncate_variation3-win32.phpt index e89372bb1f..60e31fefe1 100644 --- a/ext/standard/tests/file/ftruncate_variation3-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation3-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation3.phpt b/ext/standard/tests/file/ftruncate_variation3.phpt index 91511fd10a..4aa939f346 100644 --- a/ext/standard/tests/file/ftruncate_variation3.phpt +++ b/ext/standard/tests/file/ftruncate_variation3.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation4.phpt b/ext/standard/tests/file/ftruncate_variation4.phpt index 87fc7b3524..865b6ff902 100644 --- a/ext/standard/tests/file/ftruncate_variation4.phpt +++ b/ext/standard/tests/file/ftruncate_variation4.phpt @@ -2,11 +2,6 @@ Test ftruncate() function : usage variations - truncate file to negative size --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation5-win32.phpt b/ext/standard/tests/file/ftruncate_variation5-win32.phpt index e796129658..7d20e16ca6 100644 --- a/ext/standard/tests/file/ftruncate_variation5-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation5-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation5.phpt b/ext/standard/tests/file/ftruncate_variation5.phpt index a072d1a7e3..dcc517f5ba 100644 --- a/ext/standard/tests/file/ftruncate_variation5.phpt +++ b/ext/standard/tests/file/ftruncate_variation5.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation6-win32.phpt b/ext/standard/tests/file/ftruncate_variation6-win32.phpt index 710a6ed731..4b785ffbe1 100644 --- a/ext/standard/tests/file/ftruncate_variation6-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation6-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - /* truncate the file to smaller size and display the content */ // include common file related test functions diff --git a/ext/standard/tests/file/ftruncate_variation6.phpt b/ext/standard/tests/file/ftruncate_variation6.phpt index 5e492763ab..fdbfa91607 100644 --- a/ext/standard/tests/file/ftruncate_variation6.phpt +++ b/ext/standard/tests/file/ftruncate_variation6.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - /* truncate the file to smaller size and display the content */ // include common file related test functions diff --git a/ext/standard/tests/file/ftruncate_variation7-win32.phpt b/ext/standard/tests/file/ftruncate_variation7-win32.phpt index 1d367669cd..aba4a66479 100644 --- a/ext/standard/tests/file/ftruncate_variation7-win32.phpt +++ b/ext/standard/tests/file/ftruncate_variation7-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - /* truncate the file when file pointer is positioned at end of the file */ // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/ftruncate_variation7.phpt b/ext/standard/tests/file/ftruncate_variation7.phpt index 5e8b431bfa..64e5df158b 100644 --- a/ext/standard/tests/file/ftruncate_variation7.phpt +++ b/ext/standard/tests/file/ftruncate_variation7.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* - Prototype: bool ftruncate ( resource $handle, int $size ); - Description: Truncates a file to a given length -*/ - /* truncate the file when file pointer is positioned at end of the file */ // include common file related test functions include ("file.inc"); diff --git a/ext/standard/tests/file/fwrite_basic-win32-mb.phpt b/ext/standard/tests/file/fwrite_basic-win32-mb.phpt index 8dde247c43..5406f78f3c 100644 --- a/ext/standard/tests/file/fwrite_basic-win32-mb.phpt +++ b/ext/standard/tests/file/fwrite_basic-win32-mb.phpt @@ -8,14 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - // include the file.inc for Function: function delete_file($filename) include ("file.inc"); diff --git a/ext/standard/tests/file/fwrite_basic-win32.phpt b/ext/standard/tests/file/fwrite_basic-win32.phpt index de7754ddad..f67d66fb45 100644 --- a/ext/standard/tests/file/fwrite_basic-win32.phpt +++ b/ext/standard/tests/file/fwrite_basic-win32.phpt @@ -8,14 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - // include the file.inc for Function: function delete_file($filename) include ("file.inc"); diff --git a/ext/standard/tests/file/fwrite_basic.phpt b/ext/standard/tests/file/fwrite_basic.phpt index 07af967a58..3b9d1158c9 100644 --- a/ext/standard/tests/file/fwrite_basic.phpt +++ b/ext/standard/tests/file/fwrite_basic.phpt @@ -8,14 +8,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - // include the file.inc for Function: function delete_file($filename) include ("file.inc"); diff --git a/ext/standard/tests/file/fwrite_error.phpt b/ext/standard/tests/file/fwrite_error.phpt index 236c4601b0..d24f7b8084 100644 --- a/ext/standard/tests/file/fwrite_error.phpt +++ b/ext/standard/tests/file/fwrite_error.phpt @@ -2,14 +2,6 @@ Test fwrite() function : error conditions --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - // include the file.inc for Function: function delete_file($filename) include ("file.inc"); diff --git a/ext/standard/tests/file/fwrite_variation1-win32-mb.phpt b/ext/standard/tests/file/fwrite_variation1-win32-mb.phpt index 92d4a38b05..94104a4b0f 100644 --- a/ext/standard/tests/file/fwrite_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/fwrite_variation1-win32-mb.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation1.phpt b/ext/standard/tests/file/fwrite_variation1.phpt index 5ce8c4f2fa..34a1c89c69 100644 --- a/ext/standard/tests/file/fwrite_variation1.phpt +++ b/ext/standard/tests/file/fwrite_variation1.phpt @@ -2,15 +2,6 @@ Test fwrite() function : usage variations - r, rb & rt modes --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation2-win32.phpt b/ext/standard/tests/file/fwrite_variation2-win32.phpt index aa04e777dc..fa6b76a937 100644 --- a/ext/standard/tests/file/fwrite_variation2-win32.phpt +++ b/ext/standard/tests/file/fwrite_variation2-win32.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation2.phpt b/ext/standard/tests/file/fwrite_variation2.phpt index 639231e0f6..ef153d98b3 100644 --- a/ext/standard/tests/file/fwrite_variation2.phpt +++ b/ext/standard/tests/file/fwrite_variation2.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation3-win32.phpt b/ext/standard/tests/file/fwrite_variation3-win32.phpt index 89fb44088d..5d9681d38e 100644 --- a/ext/standard/tests/file/fwrite_variation3-win32.phpt +++ b/ext/standard/tests/file/fwrite_variation3-win32.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation3.phpt b/ext/standard/tests/file/fwrite_variation3.phpt index 509b21eb03..c0e0bb988e 100644 --- a/ext/standard/tests/file/fwrite_variation3.phpt +++ b/ext/standard/tests/file/fwrite_variation3.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation4-win32.phpt b/ext/standard/tests/file/fwrite_variation4-win32.phpt index 094b11776b..4beef23078 100644 --- a/ext/standard/tests/file/fwrite_variation4-win32.phpt +++ b/ext/standard/tests/file/fwrite_variation4-win32.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) != 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/fwrite_variation4.phpt b/ext/standard/tests/file/fwrite_variation4.phpt index bbf5602a20..207cc53821 100644 --- a/ext/standard/tests/file/fwrite_variation4.phpt +++ b/ext/standard/tests/file/fwrite_variation4.phpt @@ -8,15 +8,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN' ) { ?> --FILE-- <?php -/* - Prototype: int fwrite ( resource $handle,string string, [, int $length] ); - Description: fwrite() writes the contents of string to the file stream pointed to by handle. - If the length arquement is given,writing will stop after length bytes have been - written or the end of string reached, whichever comes first. - fwrite() returns the number of bytes written or FALSE on error -*/ - - echo "*** Testing fwrite() various operations ***\n"; // include the file.inc for Function: function delete_file($filename) diff --git a/ext/standard/tests/file/glob_basic.phpt b/ext/standard/tests/file/glob_basic.phpt index b130afc95f..85d6929223 100644 --- a/ext/standard/tests/file/glob_basic.phpt +++ b/ext/standard/tests/file/glob_basic.phpt @@ -2,10 +2,6 @@ Test glob() function: basic functions --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - echo "*** Testing glob() : basic functions ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/glob_error_002-win32.phpt b/ext/standard/tests/file/glob_error_002-win32.phpt index a61efd108c..4597e28e4b 100644 --- a/ext/standard/tests/file/glob_error_002-win32.phpt +++ b/ext/standard/tests/file/glob_error_002-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - echo "*** Testing glob() : error condition - pattern too long. ***\n"; var_dump(glob(str_repeat('x', 3000))); diff --git a/ext/standard/tests/file/glob_variation-win32-mb.phpt b/ext/standard/tests/file/glob_variation-win32-mb.phpt index 0997eb30e0..77e176d6b9 100644 --- a/ext/standard/tests/file/glob_variation-win32-mb.phpt +++ b/ext/standard/tests/file/glob_variation-win32-mb.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - echo "*** Testing glob() : usage variations ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/glob_variation-win32.phpt b/ext/standard/tests/file/glob_variation-win32.phpt index eb30a13923..ad93ad7dac 100644 --- a/ext/standard/tests/file/glob_variation-win32.phpt +++ b/ext/standard/tests/file/glob_variation-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - echo "*** Testing glob() : usage variations ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/glob_variation.phpt b/ext/standard/tests/file/glob_variation.phpt index 1fcd56eeaf..0950c31aab 100644 --- a/ext/standard/tests/file/glob_variation.phpt +++ b/ext/standard/tests/file/glob_variation.phpt @@ -11,10 +11,6 @@ if (!defined('GLOB_BRACE')) { ?> --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - echo "*** Testing glob() : usage variations ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/glob_variation2.phpt b/ext/standard/tests/file/glob_variation2.phpt index 297db00dba..883225d779 100644 --- a/ext/standard/tests/file/glob_variation2.phpt +++ b/ext/standard/tests/file/glob_variation2.phpt @@ -2,10 +2,6 @@ Test glob() function with relative path --FILE-- <?php -/* Prototype: array glob ( string $pattern [, int $flags] ); - Description: Find pathnames matching a pattern -*/ - $file_path = __DIR__; // temp dirname used here diff --git a/ext/standard/tests/file/is_dir_basic.phpt b/ext/standard/tests/file/is_dir_basic.phpt index ceaa34df9b..a78b990cd9 100644 --- a/ext/standard/tests/file/is_dir_basic.phpt +++ b/ext/standard/tests/file/is_dir_basic.phpt @@ -2,11 +2,6 @@ Test is_dir() function: basic functionality --FILE-- <?php -/* Prototype: bool is_dir ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - echo "*** Testing is_dir(): basic functionality ***\n"; $file_path = __DIR__; var_dump( is_dir($file_path) ); diff --git a/ext/standard/tests/file/is_dir_variation1.phpt b/ext/standard/tests/file/is_dir_variation1.phpt index 90084f32e9..8fb179f510 100644 --- a/ext/standard/tests/file/is_dir_variation1.phpt +++ b/ext/standard/tests/file/is_dir_variation1.phpt @@ -2,11 +2,6 @@ Test is_dir() function: usage variations - dir/subdir --FILE-- <?php -/* Prototype: bool is_dir ( string $dirname ); - Description: Tells whether the dirname is a directory - Returns TRUE if the dirname exists and is a directory, FALSE otherwise. -*/ - /* Testing is_dir() with base and sub dirs */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/is_dir_variation2.phpt b/ext/standard/tests/file/is_dir_variation2.phpt index 2a2f14d753..67a44d30eb 100644 --- a/ext/standard/tests/file/is_dir_variation2.phpt +++ b/ext/standard/tests/file/is_dir_variation2.phpt @@ -7,11 +7,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* Prototype: bool is_dir ( string $dirname ); - Description: Tells whether the dirname is a directory - Returns TRUE if the dirname exists and is a directory, FALSE otherwise. -*/ - /* Testing is_dir() with dir, soft & hard link to dir, and with file, soft & hard link to file */ diff --git a/ext/standard/tests/file/is_dir_variation3.phpt b/ext/standard/tests/file/is_dir_variation3.phpt index 1cf1f25138..ef875c34f8 100644 --- a/ext/standard/tests/file/is_dir_variation3.phpt +++ b/ext/standard/tests/file/is_dir_variation3.phpt @@ -4,11 +4,6 @@ Test is_dir() function: usage variations - invalid arguments obscure_filename --FILE-- <?php -/* Prototype: bool is_dir ( string $dirname ); - Description: Tells whether the dirname is a directory - Returns TRUE if the dirname exists and is a directory, FALSE otherwise. -*/ - /* Passing invalid arguments to is_dir() */ echo "*** Testing is_dir() with Invalid arguments: expected bool(false) ***\n"; diff --git a/ext/standard/tests/file/is_dir_variation4.phpt b/ext/standard/tests/file/is_dir_variation4.phpt index 111699bd86..1c219d51c2 100644 --- a/ext/standard/tests/file/is_dir_variation4.phpt +++ b/ext/standard/tests/file/is_dir_variation4.phpt @@ -2,11 +2,6 @@ Test is_dir() function: usage variations - diff. path notations --FILE-- <?php -/* Prototype: bool is_dir ( string $dirname ); - Description: Tells whether the dirname is a directory - Returns TRUE if the dirname exists and is a directory, FALSE otherwise. -*/ - /* Passing dir names with different notations, using slashes, wild-card chars */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/is_executable_basic-win32-mb.phpt b/ext/standard/tests/file/is_executable_basic-win32-mb.phpt index 69f5f2dc7d..e42ff3d918 100644 --- a/ext/standard/tests/file/is_executable_basic-win32-mb.phpt +++ b/ext/standard/tests/file/is_executable_basic-win32-mb.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ require __DIR__.'/file.inc'; echo "*** Testing is_executable(): basic functionality ***\n"; diff --git a/ext/standard/tests/file/is_executable_basic-win32.phpt b/ext/standard/tests/file/is_executable_basic-win32.phpt index 80059d8218..09d11b78ac 100644 --- a/ext/standard/tests/file/is_executable_basic-win32.phpt +++ b/ext/standard/tests/file/is_executable_basic-win32.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ require __DIR__.'/file.inc'; echo "*** Testing is_executable(): basic functionality ***\n"; diff --git a/ext/standard/tests/file/is_executable_basic.phpt b/ext/standard/tests/file/is_executable_basic.phpt index 6c78d2be03..5bdd985e35 100644 --- a/ext/standard/tests/file/is_executable_basic.phpt +++ b/ext/standard/tests/file/is_executable_basic.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ - // include common file test functions require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_executable_error.phpt b/ext/standard/tests/file/is_executable_error.phpt index e77ca86349..c8d296d93e 100644 --- a/ext/standard/tests/file/is_executable_error.phpt +++ b/ext/standard/tests/file/is_executable_error.phpt @@ -2,10 +2,6 @@ Test is_executable() function: error conditions --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ - echo "\n*** Testing is_exceutable() on non-existent directory ***\n"; var_dump( is_executable(__DIR__."/is_executable") ); diff --git a/ext/standard/tests/file/is_executable_variation1.phpt b/ext/standard/tests/file/is_executable_variation1.phpt index 0f7e5ba7b1..f88133e591 100644 --- a/ext/standard/tests/file/is_executable_variation1.phpt +++ b/ext/standard/tests/file/is_executable_variation1.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ - /* test is_executable() with file having different filepath notation */ require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_executable_variation2.phpt b/ext/standard/tests/file/is_executable_variation2.phpt index e333b270bc..b723482cc1 100644 --- a/ext/standard/tests/file/is_executable_variation2.phpt +++ b/ext/standard/tests/file/is_executable_variation2.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ - /* test is_executable() with file/dir having different permissions */ require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_executable_variation3.phpt b/ext/standard/tests/file/is_executable_variation3.phpt index 802dbfdf7e..42e37f5731 100644 --- a/ext/standard/tests/file/is_executable_variation3.phpt +++ b/ext/standard/tests/file/is_executable_variation3.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_executable ( string $filename ); - Description: Tells whether the filename is executable -*/ - /* test is_executable() with invalid arguments */ echo "*** Testing is_executable(): usage variations ***\n"; diff --git a/ext/standard/tests/file/is_file_basic.phpt b/ext/standard/tests/file/is_file_basic.phpt index d5d46b5fda..8ca9158931 100644 --- a/ext/standard/tests/file/is_file_basic.phpt +++ b/ext/standard/tests/file/is_file_basic.phpt @@ -2,11 +2,6 @@ Test is_file() function: basic functionality --FILE-- <?php -/* Prototype: bool is_file ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - echo "*** Testing is_file(): basic functionality ***\n"; /* Checking with current file */ diff --git a/ext/standard/tests/file/is_file_variation1.phpt b/ext/standard/tests/file/is_file_variation1.phpt index 9593b9c495..0cc7e4b643 100644 --- a/ext/standard/tests/file/is_file_variation1.phpt +++ b/ext/standard/tests/file/is_file_variation1.phpt @@ -2,11 +2,6 @@ Test is_file() function: usage variations - diff. files --FILE-- <?php -/* Prototype: bool is_file ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - /* Testing is_file() with file containing data, truncating its size and the file created by touch() */ diff --git a/ext/standard/tests/file/is_file_variation2.phpt b/ext/standard/tests/file/is_file_variation2.phpt index 7803410ac2..4db395a6aa 100644 --- a/ext/standard/tests/file/is_file_variation2.phpt +++ b/ext/standard/tests/file/is_file_variation2.phpt @@ -7,11 +7,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { } --FILE-- <?php -/* Prototype: bool is_file ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - /* Creating soft and hard links to a file and applying is_file() on links */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/is_file_variation3.phpt b/ext/standard/tests/file/is_file_variation3.phpt index 5bdb63e37c..9e8b74594b 100644 --- a/ext/standard/tests/file/is_file_variation3.phpt +++ b/ext/standard/tests/file/is_file_variation3.phpt @@ -4,11 +4,6 @@ Test is_file() function: usage variations - invalid filenames obscure_filename --FILE-- <?php -/* Prototype: bool is_file ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - /* Testing is_file() with invalid arguments -int, float, bool, NULL */ function flatten($variable) { diff --git a/ext/standard/tests/file/is_file_variation4.phpt b/ext/standard/tests/file/is_file_variation4.phpt index 81804030a0..85bc4252c1 100644 --- a/ext/standard/tests/file/is_file_variation4.phpt +++ b/ext/standard/tests/file/is_file_variation4.phpt @@ -2,11 +2,6 @@ Test is_file() function: usage variations - diff. path notations (Bug #42027) --FILE-- <?php -/* Prototype: bool is_file ( string $filename ); - Description: Tells whether the filename is a regular file - Returns TRUE if the filename exists and is a regular file -*/ - /* Passing file names with different notations, using slashes, wild-card chars */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/is_readable_basic-win32-mb.phpt b/ext/standard/tests/file/is_readable_basic-win32-mb.phpt index 150510b884..26faa0226d 100644 --- a/ext/standard/tests/file/is_readable_basic-win32-mb.phpt +++ b/ext/standard/tests/file/is_readable_basic-win32-mb.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable -*/ - // include common file test functions require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_readable_basic-win32.phpt b/ext/standard/tests/file/is_readable_basic-win32.phpt index 1432141c91..2685ed48ca 100644 --- a/ext/standard/tests/file/is_readable_basic-win32.phpt +++ b/ext/standard/tests/file/is_readable_basic-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable -*/ - // include common file test functions require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_readable_basic.phpt b/ext/standard/tests/file/is_readable_basic.phpt index a3f72a3048..7f1b85501a 100644 --- a/ext/standard/tests/file/is_readable_basic.phpt +++ b/ext/standard/tests/file/is_readable_basic.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable -*/ - // include common file test functions require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_readable_error.phpt b/ext/standard/tests/file/is_readable_error.phpt index c8a6c34fa0..8df7ff92d5 100644 --- a/ext/standard/tests/file/is_readable_error.phpt +++ b/ext/standard/tests/file/is_readable_error.phpt @@ -2,10 +2,6 @@ Test is_readable() function: error conditions --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable -*/ - echo "\n*** Testing is_readable() on non-existent file ***\n"; var_dump( is_readable(__DIR__."/is_readable.tmp") ); diff --git a/ext/standard/tests/file/is_readable_variation1.phpt b/ext/standard/tests/file/is_readable_variation1.phpt index 95dd003874..e4347b04a8 100644 --- a/ext/standard/tests/file/is_readable_variation1.phpt +++ b/ext/standard/tests/file/is_readable_variation1.phpt @@ -6,10 +6,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable. -*/ - /* test is_readable() with file having different filepath notation */ require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_readable_variation2.phpt b/ext/standard/tests/file/is_readable_variation2.phpt index 28c63a775d..1102d0067f 100644 --- a/ext/standard/tests/file/is_readable_variation2.phpt +++ b/ext/standard/tests/file/is_readable_variation2.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable. -*/ - /* test is_executable() with file/dir having different permissions */ require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_readable_variation3.phpt b/ext/standard/tests/file/is_readable_variation3.phpt index f7eebdc2b8..320e6d49b9 100644 --- a/ext/standard/tests/file/is_readable_variation3.phpt +++ b/ext/standard/tests/file/is_readable_variation3.phpt @@ -6,10 +6,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_readable ( string $filename ); - Description: Tells whether the filename is readable. -*/ - /* test is_executable() with invalid arguments */ echo "*** Testing is_readable(): usage variations ***\n"; diff --git a/ext/standard/tests/file/is_writable_basic.phpt b/ext/standard/tests/file/is_writable_basic.phpt index ba6676836d..e486db3727 100644 --- a/ext/standard/tests/file/is_writable_basic.phpt +++ b/ext/standard/tests/file/is_writable_basic.phpt @@ -6,12 +6,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_writable ( string $filename ); - Description: Tells whether the filename is writable. - - is_writeable() is an alias of is_writable() -*/ - // include common file test functions require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_writable_error.phpt b/ext/standard/tests/file/is_writable_error.phpt index f01e69b13d..3020124d4e 100644 --- a/ext/standard/tests/file/is_writable_error.phpt +++ b/ext/standard/tests/file/is_writable_error.phpt @@ -2,12 +2,6 @@ Test is_writable() and its alias is_writeable() function: error conditions --FILE-- <?php -/* Prototype: bool is_writable ( string $filename ); - Description: Tells whether the filename is writable. - - is_writeable() is an alias of is_writable() -*/ - echo "\n*** Testing is_writable() on non-existent file ***\n"; var_dump( is_writable(__DIR__."/is_writable") ); var_dump( is_writeable(__DIR__."/is_writable") ); diff --git a/ext/standard/tests/file/is_writable_variation1.phpt b/ext/standard/tests/file/is_writable_variation1.phpt index 333294e073..f781f871ff 100644 --- a/ext/standard/tests/file/is_writable_variation1.phpt +++ b/ext/standard/tests/file/is_writable_variation1.phpt @@ -6,11 +6,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_writable ( string $filename ); - Description: Tells whether the filename is writable. - - is_writeable() is an alias of is_writable() -*/ /* test is_writable() & is_writeable() with file having different filepath notation */ require __DIR__.'/file.inc'; echo "*** Testing is_writable(): usage variations ***\n"; diff --git a/ext/standard/tests/file/is_writable_variation2.phpt b/ext/standard/tests/file/is_writable_variation2.phpt index 0dcce8c6d4..ea8437d630 100644 --- a/ext/standard/tests/file/is_writable_variation2.phpt +++ b/ext/standard/tests/file/is_writable_variation2.phpt @@ -9,12 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool is_writable ( string $filename ); - Description: Tells whether the filename is writable. - - is_writeable() is an alias of is_writable() -*/ - /* test is_executable() with file/dir having different permissions */ require __DIR__.'/file.inc'; diff --git a/ext/standard/tests/file/is_writable_variation3.phpt b/ext/standard/tests/file/is_writable_variation3.phpt index 167d874ac2..286b64c4d3 100644 --- a/ext/standard/tests/file/is_writable_variation3.phpt +++ b/ext/standard/tests/file/is_writable_variation3.phpt @@ -8,12 +8,6 @@ require __DIR__ . '/../skipif_root.inc'; obscure_filename --FILE-- <?php -/* Prototype: bool is_writable ( string $filename ); - Description: Tells whether the filename is writable. - - is_writeable() is an alias of is_writable() -*/ - /* test is_writable() & is_writeable() with invalid arguments */ echo "*** Testing is_writable(): usage variations ***\n"; diff --git a/ext/standard/tests/file/lchown_basic.phpt b/ext/standard/tests/file/lchown_basic.phpt index d6a6072792..189ccb6fe8 100644 --- a/ext/standard/tests/file/lchown_basic.phpt +++ b/ext/standard/tests/file/lchown_basic.phpt @@ -7,12 +7,6 @@ if (!function_exists("posix_getuid")) die("skip no posix_getuid()"); ?> --FILE-- <?php -/* Prototype : bool lchown (string filename, mixed user) - * Description: Change file owner of a symlink - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing lchown() : basic functionality ***\n"; $filename = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic.txt'; $symlink = __DIR__ . DIRECTORY_SEPARATOR . 'lchown_basic_symlink.txt'; diff --git a/ext/standard/tests/file/lchown_error.phpt b/ext/standard/tests/file/lchown_error.phpt index 093c0c5b31..2ad0a37d35 100644 --- a/ext/standard/tests/file/lchown_error.phpt +++ b/ext/standard/tests/file/lchown_error.phpt @@ -8,12 +8,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : bool lchown (string filename, mixed user) - * Description: Change file owner of a symlink - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing lchown() : error functionality ***\n"; // Set up diff --git a/ext/standard/tests/file/lstat_stat_basic.phpt b/ext/standard/tests/file/lstat_stat_basic.phpt index 24788e3a8a..537dabbbcd 100644 --- a/ext/standard/tests/file/lstat_stat_basic.phpt +++ b/ext/standard/tests/file/lstat_stat_basic.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require("$file_path/file.inc"); diff --git a/ext/standard/tests/file/lstat_stat_error.phpt b/ext/standard/tests/file/lstat_stat_error.phpt index 06926df2a2..a28e9d8675 100644 --- a/ext/standard/tests/file/lstat_stat_error.phpt +++ b/ext/standard/tests/file/lstat_stat_error.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - echo "*** Testing lstat() for error conditions ***\n"; $file_path = __DIR__; var_dump( lstat("$file_path/temp.tmp") ); // non existing file diff --git a/ext/standard/tests/file/lstat_stat_variation1.phpt b/ext/standard/tests/file/lstat_stat_variation1.phpt index e7aa778ade..6691617c89 100644 --- a/ext/standard/tests/file/lstat_stat_variation1.phpt +++ b/ext/standard/tests/file/lstat_stat_variation1.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of rename() on stats of file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation10.phpt b/ext/standard/tests/file/lstat_stat_variation10.phpt index d6b6123e8c..f002824b94 100644 --- a/ext/standard/tests/file/lstat_stat_variation10.phpt +++ b/ext/standard/tests/file/lstat_stat_variation10.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of is_dir() on stats of a dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation11.phpt b/ext/standard/tests/file/lstat_stat_variation11.phpt index 523bfacf5c..7ce8d7b539 100644 --- a/ext/standard/tests/file/lstat_stat_variation11.phpt +++ b/ext/standard/tests/file/lstat_stat_variation11.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require "$file_path/file.inc"; diff --git a/ext/standard/tests/file/lstat_stat_variation12.phpt b/ext/standard/tests/file/lstat_stat_variation12.phpt index 15f081f21f..7c39a46d02 100644 --- a/ext/standard/tests/file/lstat_stat_variation12.phpt +++ b/ext/standard/tests/file/lstat_stat_variation12.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of is_link() on stats of link */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation13.phpt b/ext/standard/tests/file/lstat_stat_variation13.phpt index e94a5085ec..8ffb6801e0 100644 --- a/ext/standard/tests/file/lstat_stat_variation13.phpt +++ b/ext/standard/tests/file/lstat_stat_variation13.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* use stat on file created using "w" and "r" mode of fopen */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation14.phpt b/ext/standard/tests/file/lstat_stat_variation14.phpt index f340d57f37..c6a5971df3 100644 --- a/ext/standard/tests/file/lstat_stat_variation14.phpt +++ b/ext/standard/tests/file/lstat_stat_variation14.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of is_link() on stats of hard link */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation15.phpt b/ext/standard/tests/file/lstat_stat_variation15.phpt index 467c0ef551..fba06d2770 100644 --- a/ext/standard/tests/file/lstat_stat_variation15.phpt +++ b/ext/standard/tests/file/lstat_stat_variation15.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects on stats by changing permissions of link */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation16.phpt b/ext/standard/tests/file/lstat_stat_variation16.phpt index 93791355ba..2a21bdf411 100644 --- a/ext/standard/tests/file/lstat_stat_variation16.phpt +++ b/ext/standard/tests/file/lstat_stat_variation16.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects on stats with changing permissions of file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation17.phpt b/ext/standard/tests/file/lstat_stat_variation17.phpt index 64039566f0..62eb842134 100644 --- a/ext/standard/tests/file/lstat_stat_variation17.phpt +++ b/ext/standard/tests/file/lstat_stat_variation17.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects on stats by changing permissions of a dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation18.phpt b/ext/standard/tests/file/lstat_stat_variation18.phpt index 7b83d15547..ddc256b771 100644 --- a/ext/standard/tests/file/lstat_stat_variation18.phpt +++ b/ext/standard/tests/file/lstat_stat_variation18.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test for stats of dir/file when their names are stored in objects */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation19.phpt b/ext/standard/tests/file/lstat_stat_variation19.phpt index 8a2126737f..27307025d9 100644 --- a/ext/standard/tests/file/lstat_stat_variation19.phpt +++ b/ext/standard/tests/file/lstat_stat_variation19.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test for stats of dir/file when their names are stored in an array */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation2.phpt b/ext/standard/tests/file/lstat_stat_variation2.phpt index 61a9e196cc..e708ed477a 100644 --- a/ext/standard/tests/file/lstat_stat_variation2.phpt +++ b/ext/standard/tests/file/lstat_stat_variation2.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of rename() on stats of dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation20.phpt b/ext/standard/tests/file/lstat_stat_variation20.phpt index 8567c4e7c2..58efb30bfe 100644 --- a/ext/standard/tests/file/lstat_stat_variation20.phpt +++ b/ext/standard/tests/file/lstat_stat_variation20.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test for stats of link when their names are stored in object and array */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation21.phpt b/ext/standard/tests/file/lstat_stat_variation21.phpt index df09bc7f98..cd3a8865c5 100644 --- a/ext/standard/tests/file/lstat_stat_variation21.phpt +++ b/ext/standard/tests/file/lstat_stat_variation21.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of truncate() on stats of a file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation22.phpt b/ext/standard/tests/file/lstat_stat_variation22.phpt index 3558397131..017e323436 100644 --- a/ext/standard/tests/file/lstat_stat_variation22.phpt +++ b/ext/standard/tests/file/lstat_stat_variation22.phpt @@ -11,12 +11,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { obscure_filename --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ echo "*** testing stat ***\n"; var_dump(stat(NULL)); var_dump(stat(false)); diff --git a/ext/standard/tests/file/lstat_stat_variation3.phpt b/ext/standard/tests/file/lstat_stat_variation3.phpt index 15fc5f0b53..09f8ea9e94 100644 --- a/ext/standard/tests/file/lstat_stat_variation3.phpt +++ b/ext/standard/tests/file/lstat_stat_variation3.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of rename() on stats of link */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation4.phpt b/ext/standard/tests/file/lstat_stat_variation4.phpt index c72d7ffe4b..c0098cd1fa 100644 --- a/ext/standard/tests/file/lstat_stat_variation4.phpt +++ b/ext/standard/tests/file/lstat_stat_variation4.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of touch() on stats of file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation5.phpt b/ext/standard/tests/file/lstat_stat_variation5.phpt index 668e79238d..ae19d3d1b7 100644 --- a/ext/standard/tests/file/lstat_stat_variation5.phpt +++ b/ext/standard/tests/file/lstat_stat_variation5.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of touch() on stats of dir */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation6.phpt b/ext/standard/tests/file/lstat_stat_variation6.phpt index b4dc684eb1..80b10ad5b3 100644 --- a/ext/standard/tests/file/lstat_stat_variation6.phpt +++ b/ext/standard/tests/file/lstat_stat_variation6.phpt @@ -17,13 +17,6 @@ foreach( $mount_output as $out ) { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - /* test the effects of touch() on stats of link */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/lstat_stat_variation7.phpt b/ext/standard/tests/file/lstat_stat_variation7.phpt index 1ec0999f6c..223e8f9b94 100644 --- a/ext/standard/tests/file/lstat_stat_variation7.phpt +++ b/ext/standard/tests/file/lstat_stat_variation7.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require "$file_path/file.inc"; diff --git a/ext/standard/tests/file/lstat_stat_variation8.phpt b/ext/standard/tests/file/lstat_stat_variation8.phpt index 39cc54a30e..4be3a4b15d 100644 --- a/ext/standard/tests/file/lstat_stat_variation8.phpt +++ b/ext/standard/tests/file/lstat_stat_variation8.phpt @@ -9,13 +9,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: array lstat ( string $filename ); - Description: Gives information about a file or symbolic link - - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require "$file_path/file.inc"; diff --git a/ext/standard/tests/file/mkdir_rmdir_error.phpt b/ext/standard/tests/file/mkdir_rmdir_error.phpt index be0b434c2c..4500de0276 100644 --- a/ext/standard/tests/file/mkdir_rmdir_error.phpt +++ b/ext/standard/tests/file/mkdir_rmdir_error.phpt @@ -2,12 +2,6 @@ Test mkdir() and rmdir() functions : error conditions --FILE-- <?php -/* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]] ); - Description: Makes directory - - Prototype: bool rmdir ( string $dirname [, resource $context] ); - Description: Removes directory -*/ echo "\n*** Testing rmdir() on non-existent directory ***\n"; var_dump( rmdir("temp") ); diff --git a/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt b/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt index 37fe05560e..b6c186ed0b 100644 --- a/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt +++ b/ext/standard/tests/file/mkdir_rmdir_variation-win32-mb.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]] ); - Description: Makes directory -*/ echo "*** Testing mkdir() and rmdir() for different permissions ***\n"; diff --git a/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt b/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt index eea1065917..f4f412e802 100644 --- a/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt +++ b/ext/standard/tests/file/mkdir_rmdir_variation-win32.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]] ); - Description: Makes directory -*/ echo "*** Testing mkdir() and rmdir() for different permissions ***\n"; diff --git a/ext/standard/tests/file/mkdir_rmdir_variation1.phpt b/ext/standard/tests/file/mkdir_rmdir_variation1.phpt index 6fe177250c..129fcd7785 100644 --- a/ext/standard/tests/file/mkdir_rmdir_variation1.phpt +++ b/ext/standard/tests/file/mkdir_rmdir_variation1.phpt @@ -9,9 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]] ); - Description: Makes directory -*/ echo "*** Testing mkdir() and rmdir() for different permissions ***\n"; diff --git a/ext/standard/tests/file/mkdir_rmdir_variation2.phpt b/ext/standard/tests/file/mkdir_rmdir_variation2.phpt index 176ad79070..667a00187e 100644 --- a/ext/standard/tests/file/mkdir_rmdir_variation2.phpt +++ b/ext/standard/tests/file/mkdir_rmdir_variation2.phpt @@ -9,9 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]] ); - Description: Makes directory -*/ $context = stream_context_create(); diff --git a/ext/standard/tests/file/mkdir_variation5-win32.phpt b/ext/standard/tests/file/mkdir_variation5-win32.phpt index e2eea07f52..b6af2bf986 100644 --- a/ext/standard/tests/file/mkdir_variation5-win32.phpt +++ b/ext/standard/tests/file/mkdir_variation5-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]]) - * Description: Create a directory - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing mkdir() : variation ***\n"; $workDir = "mkdirVar5.tmp"; diff --git a/ext/standard/tests/file/mkdir_variation5.phpt b/ext/standard/tests/file/mkdir_variation5.phpt index c8e8b8d3ea..0d753a46a2 100644 --- a/ext/standard/tests/file/mkdir_variation5.phpt +++ b/ext/standard/tests/file/mkdir_variation5.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]]) - * Description: Create a directory - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing mkdir() : variation ***\n"; $workDir = "mkdirVar5.tmp"; diff --git a/ext/standard/tests/file/parse_ini_file.phpt b/ext/standard/tests/file/parse_ini_file.phpt index 817b92aa7f..7f134d02a0 100644 --- a/ext/standard/tests/file/parse_ini_file.phpt +++ b/ext/standard/tests/file/parse_ini_file.phpt @@ -2,11 +2,6 @@ Test parse_ini_file() function --FILE-- <?php -/* Prototype: array parse_ini_file(string $filename [,bool $process_sections]); - Description: parse_ini_file() loads in the ini file specified in filename, - and returns the settings in it in an associative array. -*/ - $file_path = __DIR__; $parse_string = <<<EOD diff --git a/ext/standard/tests/file/parse_ini_file_error.phpt b/ext/standard/tests/file/parse_ini_file_error.phpt index 41a8f13786..ce4952f108 100644 --- a/ext/standard/tests/file/parse_ini_file_error.phpt +++ b/ext/standard/tests/file/parse_ini_file_error.phpt @@ -2,12 +2,6 @@ Test parse_ini_file() function : error conditions --FILE-- <?php -/* Prototype : proto array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : error conditions ***\n"; //Test parse_ini_file with one more than the expected number of arguments diff --git a/ext/standard/tests/file/parse_ini_file_variation1.phpt b/ext/standard/tests/file/parse_ini_file_variation1.phpt index 82465d9b17..c9f2dc218c 100644 --- a/ext/standard/tests/file/parse_ini_file_variation1.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation1.phpt @@ -4,12 +4,6 @@ Test parse_ini_file() function : variation: identical properties and values are Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $output_file = __FILE__.".ini"; $iniFile = <<<FILE diff --git a/ext/standard/tests/file/parse_ini_file_variation2.phpt b/ext/standard/tests/file/parse_ini_file_variation2.phpt index 2ba810ae2e..65c0b45ade 100644 --- a/ext/standard/tests/file/parse_ini_file_variation2.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation2.phpt @@ -4,12 +4,6 @@ Test parse_ini_file() function : variation: handling different boolean values Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $output_file = __FILE__.".ini"; $iniFile = <<<FILE diff --git a/ext/standard/tests/file/parse_ini_file_variation3.phpt b/ext/standard/tests/file/parse_ini_file_variation3.phpt index 23b0ec4a8a..81aeb46d02 100644 --- a/ext/standard/tests/file/parse_ini_file_variation3.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation3.phpt @@ -4,12 +4,6 @@ Test parse_ini_file() function : variation: include path searching Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $pwd = getcwd(); $f = "parse_ini_file_variation3"; diff --git a/ext/standard/tests/file/parse_ini_file_variation6-win32-mb.phpt b/ext/standard/tests/file/parse_ini_file_variation6-win32-mb.phpt index aac0426e96..c5c5934062 100644 --- a/ext/standard/tests/file/parse_ini_file_variation6-win32-mb.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation6-win32-mb.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $mainDir = "parseIniFileVar私はガラスを食べられます.dir"; $subDir = "parseIniFileVar私はガラスを食べられますSub"; diff --git a/ext/standard/tests/file/parse_ini_file_variation6-win32.phpt b/ext/standard/tests/file/parse_ini_file_variation6-win32.phpt index a0fb9878b3..a7b005c6e9 100644 --- a/ext/standard/tests/file/parse_ini_file_variation6-win32.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation6-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $mainDir = "parseIniFileVar6.dir"; $subDir = "parseIniFileVar6Sub"; diff --git a/ext/standard/tests/file/parse_ini_file_variation6.phpt b/ext/standard/tests/file/parse_ini_file_variation6.phpt index e0af048e8b..70e1a73f98 100644 --- a/ext/standard/tests/file/parse_ini_file_variation6.phpt +++ b/ext/standard/tests/file/parse_ini_file_variation6.phpt @@ -4,12 +4,6 @@ Test parse_ini_file() function : variation - various absolute and relative paths Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array parse_ini_file(string filename [, bool process_sections]) - * Description: Parse configuration file - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - echo "*** Testing parse_ini_file() : variation ***\n"; $mainDir = "parseIniFileVar6.dir"; $subDir = "parseIniFileVar6Sub"; diff --git a/ext/standard/tests/file/pathinfo_basic.phpt b/ext/standard/tests/file/pathinfo_basic.phpt index f44379847e..e16619a815 100644 --- a/ext/standard/tests/file/pathinfo_basic.phpt +++ b/ext/standard/tests/file/pathinfo_basic.phpt @@ -2,10 +2,6 @@ Test pathinfo() function: basic functionality --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing basic functions of pathinfo() ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/pathinfo_basic1-win32.phpt b/ext/standard/tests/file/pathinfo_basic1-win32.phpt index 060c7e3423..69d0fa27d1 100644 --- a/ext/standard/tests/file/pathinfo_basic1-win32.phpt +++ b/ext/standard/tests/file/pathinfo_basic1-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing basic functions of pathinfo() ***\n"; $paths = array ( diff --git a/ext/standard/tests/file/pathinfo_basic1.phpt b/ext/standard/tests/file/pathinfo_basic1.phpt index d195a76fb3..41a065e4e1 100644 --- a/ext/standard/tests/file/pathinfo_basic1.phpt +++ b/ext/standard/tests/file/pathinfo_basic1.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing basic functions of pathinfo() ***\n"; $paths = array ( diff --git a/ext/standard/tests/file/pathinfo_basic2-win32.phpt b/ext/standard/tests/file/pathinfo_basic2-win32.phpt index 97f3899426..c63f3162c3 100644 --- a/ext/standard/tests/file/pathinfo_basic2-win32.phpt +++ b/ext/standard/tests/file/pathinfo_basic2-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing basic functions of pathinfo() ***\n"; $paths = array ( diff --git a/ext/standard/tests/file/pathinfo_basic2.phpt b/ext/standard/tests/file/pathinfo_basic2.phpt index 3ae6e1338c..c3909295f9 100644 --- a/ext/standard/tests/file/pathinfo_basic2.phpt +++ b/ext/standard/tests/file/pathinfo_basic2.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing basic functions of pathinfo() ***\n"; $paths = array ( diff --git a/ext/standard/tests/file/pathinfo_variation3.phpt b/ext/standard/tests/file/pathinfo_variation3.phpt index 251a20496f..aa1494b579 100644 --- a/ext/standard/tests/file/pathinfo_variation3.phpt +++ b/ext/standard/tests/file/pathinfo_variation3.phpt @@ -4,12 +4,6 @@ Test pathinfo() function : usage variation Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : array pathinfo(string path[, int options]) - * Description: Returns information about a certain string - * Source code: ext/standard/string.c - * Alias to functions: - */ - echo "*** Testing pathinfo() : usage variation ***\n"; $testfile = "/usr/include/arpa/inet.h"; diff --git a/ext/standard/tests/file/pathinfo_variaton.phpt b/ext/standard/tests/file/pathinfo_variaton.phpt index f6a13e6534..4447d07d6c 100644 --- a/ext/standard/tests/file/pathinfo_variaton.phpt +++ b/ext/standard/tests/file/pathinfo_variaton.phpt @@ -2,10 +2,6 @@ Test pathinfo() function: usage variations --FILE-- <?php -/* Prototype: mixed pathinfo ( string $path [, int $options] ); - Description: Returns information about a file path -*/ - echo "*** Testing pathinfo() with miscellaneous input arguments ***\n"; $fp = fopen(__FILE__, "r"); diff --git a/ext/standard/tests/file/popen_pclose_basic-win32-mb.phpt b/ext/standard/tests/file/popen_pclose_basic-win32-mb.phpt index 008cef3643..7bb4c1be02 100644 --- a/ext/standard/tests/file/popen_pclose_basic-win32-mb.phpt +++ b/ext/standard/tests/file/popen_pclose_basic-win32-mb.phpt @@ -7,14 +7,6 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) ?> --FILE-- <?php -/* - * Prototype: resource popen ( string command, string mode ) - * Description: Opens process file pointer. - - * Prototype: int pclose ( resource handle ); - * Description: Closes process file pointer. - */ - echo "*** Testing popen(): reading from the pipe ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/popen_pclose_basic-win32.phpt b/ext/standard/tests/file/popen_pclose_basic-win32.phpt index 5be3ee4ca8..61f2fa302b 100644 --- a/ext/standard/tests/file/popen_pclose_basic-win32.phpt +++ b/ext/standard/tests/file/popen_pclose_basic-win32.phpt @@ -7,14 +7,6 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) ?> --FILE-- <?php -/* - * Prototype: resource popen ( string command, string mode ) - * Description: Opens process file pointer. - - * Prototype: int pclose ( resource handle ); - * Description: Closes process file pointer. - */ - echo "*** Testing popen(): reading from the pipe ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/popen_pclose_basic.phpt b/ext/standard/tests/file/popen_pclose_basic.phpt index 4e17c29cde..4964a4fa85 100644 --- a/ext/standard/tests/file/popen_pclose_basic.phpt +++ b/ext/standard/tests/file/popen_pclose_basic.phpt @@ -7,14 +7,6 @@ if(substr(PHP_OS, 0, 3) == 'WIN' ) ?> --FILE-- <?php -/* - * Prototype: resource popen ( string command, string mode ) - * Description: Opens process file pointer. - * - * Prototype: int pclose ( resource handle ); - * Description: Closes process file pointer. - */ - $file_path = __DIR__; require($file_path."/file.inc"); diff --git a/ext/standard/tests/file/popen_pclose_error-sunos.phpt b/ext/standard/tests/file/popen_pclose_error-sunos.phpt index ee015750b4..981f1d5a6e 100644 --- a/ext/standard/tests/file/popen_pclose_error-sunos.phpt +++ b/ext/standard/tests/file/popen_pclose_error-sunos.phpt @@ -7,13 +7,7 @@ if( substr(PHP_OS, 0, 3) != 'Sun') ?> --FILE-- <?php -/* - * Prototype: resource popen ( string command, string mode ) - * Description: Opens process file pointer. - * Prototype: int pclose ( resource handle ); - * Description: Closes process file pointer. - */ $file_path = __DIR__; echo "*** Testing for error conditions ***\n"; var_dump( popen() ); // Zero Arguments diff --git a/ext/standard/tests/file/popen_pclose_error.phpt b/ext/standard/tests/file/popen_pclose_error.phpt index eebe6a7a00..2f05e7788d 100644 --- a/ext/standard/tests/file/popen_pclose_error.phpt +++ b/ext/standard/tests/file/popen_pclose_error.phpt @@ -7,13 +7,6 @@ if (strtoupper( substr(PHP_OS, 0, 3) ) == 'SUN') ?> --FILE-- <?php -/* - * Prototype: resource popen ( string command, string mode ) - * Description: Opens process file pointer. - - * Prototype: int pclose ( resource handle ); - * Description: Closes process file pointer. - */ $file_path = __DIR__; echo "*** Testing for error conditions ***\n"; var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument diff --git a/ext/standard/tests/file/readfile_basic-win32.phpt b/ext/standard/tests/file/readfile_basic-win32.phpt index 06e0813d57..843e0ff5d8 100644 --- a/ext/standard/tests/file/readfile_basic-win32.phpt +++ b/ext/standard/tests/file/readfile_basic-win32.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ // common file used require(__DIR__ . '/file.inc'); diff --git a/ext/standard/tests/file/readfile_basic.phpt b/ext/standard/tests/file/readfile_basic.phpt index 1c05f494a6..d2b888a034 100644 --- a/ext/standard/tests/file/readfile_basic.phpt +++ b/ext/standard/tests/file/readfile_basic.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ // common file used require(__DIR__ . '/file.inc'); diff --git a/ext/standard/tests/file/readfile_error.phpt b/ext/standard/tests/file/readfile_error.phpt index b0ada5ea21..6ae9f9a4de 100644 --- a/ext/standard/tests/file/readfile_error.phpt +++ b/ext/standard/tests/file/readfile_error.phpt @@ -2,10 +2,6 @@ Test readfile() function: error conditions --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ - $context = stream_context_create(); echo "*** Test readfile(): error conditions ***\n"; diff --git a/ext/standard/tests/file/readfile_variation1.phpt b/ext/standard/tests/file/readfile_variation1.phpt index 6348bb3dfe..97ddf6a284 100644 --- a/ext/standard/tests/file/readfile_variation1.phpt +++ b/ext/standard/tests/file/readfile_variation1.phpt @@ -2,10 +2,6 @@ Test readfile() function: usage variation - stream_context --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ - /* test readfile() with third argument : context */ // include file.inc diff --git a/ext/standard/tests/file/readfile_variation10-win32.phpt b/ext/standard/tests/file/readfile_variation10-win32.phpt index 4934b8cf00..ecd850eb59 100644 --- a/ext/standard/tests/file/readfile_variation10-win32.phpt +++ b/ext/standard/tests/file/readfile_variation10-win32.phpt @@ -11,12 +11,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing readfile() : variation ***\n"; /* An array of files */ diff --git a/ext/standard/tests/file/readfile_variation10.phpt b/ext/standard/tests/file/readfile_variation10.phpt Binary files differindex 87892a4519..304f57154c 100644 --- a/ext/standard/tests/file/readfile_variation10.phpt +++ b/ext/standard/tests/file/readfile_variation10.phpt diff --git a/ext/standard/tests/file/readfile_variation2.phpt b/ext/standard/tests/file/readfile_variation2.phpt index 029890404e..5407d3710d 100644 --- a/ext/standard/tests/file/readfile_variation2.phpt +++ b/ext/standard/tests/file/readfile_variation2.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ - /* Variation 2 : Create file Create soft/hard link to it Read link using readfile() diff --git a/ext/standard/tests/file/readfile_variation3.phpt b/ext/standard/tests/file/readfile_variation3.phpt index b2571d3ac5..20078def12 100644 --- a/ext/standard/tests/file/readfile_variation3.phpt +++ b/ext/standard/tests/file/readfile_variation3.phpt @@ -2,9 +2,6 @@ Test readfile() function: usage variation - include path --FILE-- <?php -/* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); - Description: Outputs a file -*/ /* test readfile() by providing an include path, second argument */ // include file.inc diff --git a/ext/standard/tests/file/readfile_variation6.phpt b/ext/standard/tests/file/readfile_variation6.phpt index 7e751753ff..aa92c11369 100644 --- a/ext/standard/tests/file/readfile_variation6.phpt +++ b/ext/standard/tests/file/readfile_variation6.phpt @@ -4,12 +4,6 @@ Test readfile() function : variation - test include path Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); echo "*** Testing readfile() : variation ***\n"; diff --git a/ext/standard/tests/file/readfile_variation7.phpt b/ext/standard/tests/file/readfile_variation7.phpt index 71f2d0beb5..0e2616ff01 100644 --- a/ext/standard/tests/file/readfile_variation7.phpt +++ b/ext/standard/tests/file/readfile_variation7.phpt @@ -4,12 +4,6 @@ Test readfile() function : variation Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - require_once('fopen_include_path.inc'); echo "*** Testing readfile() : variation ***\n"; diff --git a/ext/standard/tests/file/readfile_variation8-win32-mb.phpt b/ext/standard/tests/file/readfile_variation8-win32-mb.phpt index acf968d6fd..5db61a3b2e 100644 --- a/ext/standard/tests/file/readfile_variation8-win32-mb.phpt +++ b/ext/standard/tests/file/readfile_variation8-win32-mb.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing readfile() : variation ***\n"; $mainDir = "readfileVar私はガラスを食べられます8"; $subDir = "readfileVar私はガラスを食べられます8Sub"; diff --git a/ext/standard/tests/file/readfile_variation8-win32.phpt b/ext/standard/tests/file/readfile_variation8-win32.phpt index ebd15ae618..a44709b6b2 100644 --- a/ext/standard/tests/file/readfile_variation8-win32.phpt +++ b/ext/standard/tests/file/readfile_variation8-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing readfile() : variation ***\n"; $mainDir = "readfileVar8"; $subDir = "readfileVar8Sub"; diff --git a/ext/standard/tests/file/readfile_variation9.phpt b/ext/standard/tests/file/readfile_variation9.phpt index a6ca560d6d..a09846587a 100644 --- a/ext/standard/tests/file/readfile_variation9.phpt +++ b/ext/standard/tests/file/readfile_variation9.phpt @@ -4,12 +4,6 @@ Test readfile() function : variation - variable types of path Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) - * Description: Output a file or a URL - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing readfile() : variation ***\n"; $mainDir = "readfileVar8"; $subDir = "readfileVar8Sub"; diff --git a/ext/standard/tests/file/readlink_realpath_basic1.phpt b/ext/standard/tests/file/readlink_realpath_basic1.phpt index fa2056d076..2d9847ffb8 100644 --- a/ext/standard/tests/file/readlink_realpath_basic1.phpt +++ b/ext/standard/tests/file/readlink_realpath_basic1.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - /* creating directories, symbolic links and files */ $file_path = __DIR__; mkdir("$file_path/readlink_realpath_basic1/home/test/", 0777, true); diff --git a/ext/standard/tests/file/readlink_realpath_basic2.phpt b/ext/standard/tests/file/readlink_realpath_basic2.phpt index 104fba859d..c5cd985c5c 100644 --- a/ext/standard/tests/file/readlink_realpath_basic2.phpt +++ b/ext/standard/tests/file/readlink_realpath_basic2.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - /* creating directories, symbolic links and files */ $file_path = __DIR__; mkdir("$file_path/readlink_realpath_basic2/home/test/", 0777, true); diff --git a/ext/standard/tests/file/readlink_realpath_error.phpt b/ext/standard/tests/file/readlink_realpath_error.phpt index 07880d1007..d1aee746da 100644 --- a/ext/standard/tests/file/readlink_realpath_error.phpt +++ b/ext/standard/tests/file/readlink_realpath_error.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "\n*** Testing readlink() on a non-existent link ***\n"; var_dump( readlink(__DIR__."/readlink_error.tmp") ); diff --git a/ext/standard/tests/file/readlink_realpath_variation1.phpt b/ext/standard/tests/file/readlink_realpath_variation1.phpt index 797badd914..77e4e933b5 100644 --- a/ext/standard/tests/file/readlink_realpath_variation1.phpt +++ b/ext/standard/tests/file/readlink_realpath_variation1.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "*** Testing readlink() and realpath() : usage variations ***\n"; $name_prefix = __DIR__; $filename = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"; diff --git a/ext/standard/tests/file/readlink_realpath_variation2.phpt b/ext/standard/tests/file/readlink_realpath_variation2.phpt index 82deabecb6..3738952fdd 100644 --- a/ext/standard/tests/file/readlink_realpath_variation2.phpt +++ b/ext/standard/tests/file/readlink_realpath_variation2.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "*** Testing readlink() and realpath() : usage variations ***\n"; $name_prefix = __DIR__; // create temp dir diff --git a/ext/standard/tests/file/readlink_realpath_variation3.phpt b/ext/standard/tests/file/readlink_realpath_variation3.phpt index b93d49e359..f256ffea42 100644 --- a/ext/standard/tests/file/readlink_realpath_variation3.phpt +++ b/ext/standard/tests/file/readlink_realpath_variation3.phpt @@ -2,13 +2,6 @@ Test readlink() and realpath() functions: usage variation - invalid args --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link - - Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "*** Testing readlink() and realpath() : usage variations ***\n"; echo "\n*** Testing readlink() and realpath() with linkname as empty string, NULL and single space ***\n"; diff --git a/ext/standard/tests/file/readlink_variation1.phpt b/ext/standard/tests/file/readlink_variation1.phpt index 276f894432..b129de364f 100644 --- a/ext/standard/tests/file/readlink_variation1.phpt +++ b/ext/standard/tests/file/readlink_variation1.phpt @@ -6,9 +6,6 @@ Dave Kelsey <d_kelsey@uk.ibm.com> obscure_filename --FILE-- <?php -/* Prototype: string readlink ( string $path ); - Description: Returns the target of a symbolic link */ - /* Testing readlink() with invalid arguments -int, float, bool, NULL, resource */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/realpath_basic-win32-mb.phpt b/ext/standard/tests/file/realpath_basic-win32-mb.phpt index e56d213631..4011f35fed 100644 --- a/ext/standard/tests/file/realpath_basic-win32-mb.phpt +++ b/ext/standard/tests/file/realpath_basic-win32-mb.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "\n*** Testing basic functions of realpath() with files ***\n"; /* creating directories and files */ diff --git a/ext/standard/tests/file/realpath_basic-win32.phpt b/ext/standard/tests/file/realpath_basic-win32.phpt index e8020d199e..f2242c827d 100644 --- a/ext/standard/tests/file/realpath_basic-win32.phpt +++ b/ext/standard/tests/file/realpath_basic-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "\n*** Testing basic functions of realpath() with files ***\n"; /* creating directories and files */ diff --git a/ext/standard/tests/file/realpath_basic3.phpt b/ext/standard/tests/file/realpath_basic3.phpt index 622c1d6cce..33073ae5bf 100644 --- a/ext/standard/tests/file/realpath_basic3.phpt +++ b/ext/standard/tests/file/realpath_basic3.phpt @@ -2,10 +2,6 @@ Test realpath() with relative paths --FILE-- <?php -/* Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - echo "\n*** Testing basic functions of realpath() with files ***\n"; /* creating directories and files */ diff --git a/ext/standard/tests/file/realpath_variation-win32-mb.phpt b/ext/standard/tests/file/realpath_variation-win32-mb.phpt index f0b79a0fd3..a3539f6106 100644 --- a/ext/standard/tests/file/realpath_variation-win32-mb.phpt +++ b/ext/standard/tests/file/realpath_variation-win32-mb.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - require __DIR__.'/file.inc'; echo "*** Testing realpath(): usage variations ***\n"; diff --git a/ext/standard/tests/file/realpath_variation-win32.phpt b/ext/standard/tests/file/realpath_variation-win32.phpt index a685beb20b..9f46c62e7c 100644 --- a/ext/standard/tests/file/realpath_variation-win32.phpt +++ b/ext/standard/tests/file/realpath_variation-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: string realpath ( string $path ); - Description: Returns canonicalized absolute pathname -*/ - require __DIR__.'/file.inc'; echo "*** Testing realpath(): usage variations ***\n"; diff --git a/ext/standard/tests/file/realpath_variation2.phpt b/ext/standard/tests/file/realpath_variation2.phpt index 142e8846da..6eb485785b 100644 --- a/ext/standard/tests/file/realpath_variation2.phpt +++ b/ext/standard/tests/file/realpath_variation2.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == 'WIN' ) ?> --FILE-- <?php -/* Prototype : string realpath(string path) - * Description: Return the resolved path - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing realpath() : variation ***\n"; $paths = array('c:\\', diff --git a/ext/standard/tests/file/rename_basic.phpt b/ext/standard/tests/file/rename_basic.phpt index 4313f061d6..0dd29a3607 100644 --- a/ext/standard/tests/file/rename_basic.phpt +++ b/ext/standard/tests/file/rename_basic.phpt @@ -2,10 +2,6 @@ Test rename() function: basic functionality --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - echo "*** Testing rename() on non-existing file ***\n"; $file_path = __DIR__; require "$file_path/file.inc"; diff --git a/ext/standard/tests/file/rename_variation-win32.phpt b/ext/standard/tests/file/rename_variation-win32.phpt index 9b194c689c..76f337fe1f 100644 --- a/ext/standard/tests/file/rename_variation-win32.phpt +++ b/ext/standard/tests/file/rename_variation-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - require __DIR__.'/file.inc'; /* create directory */ diff --git a/ext/standard/tests/file/rename_variation1-win32.phpt b/ext/standard/tests/file/rename_variation1-win32.phpt index c07aa3f6c1..1888838635 100644 --- a/ext/standard/tests/file/rename_variation1-win32.phpt +++ b/ext/standard/tests/file/rename_variation1-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - require __DIR__.'/file.inc'; /* creating directory */ diff --git a/ext/standard/tests/file/rename_variation11-win32.phpt b/ext/standard/tests/file/rename_variation11-win32.phpt index fbf358f79b..39d60272bd 100644 --- a/ext/standard/tests/file/rename_variation11-win32.phpt +++ b/ext/standard/tests/file/rename_variation11-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : bool rename(string old_name, string new_name[, resource context]) - * Description: Rename a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing rename() with absolute and relative paths ***\n"; $mainDir = "renameVar11"; $subDir = "renameVar11Sub"; diff --git a/ext/standard/tests/file/rename_variation12-win32.phpt b/ext/standard/tests/file/rename_variation12-win32.phpt index 2c5b4a0ea8..781ea7726e 100644 --- a/ext/standard/tests/file/rename_variation12-win32.phpt +++ b/ext/standard/tests/file/rename_variation12-win32.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') die('skip.. for Windows'); ?> --FILE-- <?php -/* Prototype : bool rename(string old_name, string new_name[, resource context]) - * Description: Rename a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - /* Creating unique files in various dirs by passing relative paths to $dir arg */ echo "*** Testing rename() with absolute and relative paths ***\n"; diff --git a/ext/standard/tests/file/rename_variation12.phpt b/ext/standard/tests/file/rename_variation12.phpt index e2193a4fb9..b38aab7ed1 100644 --- a/ext/standard/tests/file/rename_variation12.phpt +++ b/ext/standard/tests/file/rename_variation12.phpt @@ -8,12 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') die('skip.. not for Windows'); ?> --FILE-- <?php -/* Prototype : bool rename(string old_name, string new_name[, resource context]) - * Description: Rename a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - /* Creating unique files in various dirs by passing relative paths to $dir arg */ echo "*** Testing rename() with absolute and relative paths ***\n"; diff --git a/ext/standard/tests/file/rename_variation13-win32.phpt b/ext/standard/tests/file/rename_variation13-win32.phpt index e80acae01b..4821fa7951 100644 --- a/ext/standard/tests/file/rename_variation13-win32.phpt +++ b/ext/standard/tests/file/rename_variation13-win32.phpt @@ -11,11 +11,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype : bool rename(string old_name, string new_name[, resource context]) - * Description: Rename a file - * Source code: ext/standard/file.c - * Alias to functions: - */ /* An array of files */ $names_arr = array( /* Invalid args */ diff --git a/ext/standard/tests/file/rename_variation13.phpt b/ext/standard/tests/file/rename_variation13.phpt index 3e35f179a8..83de25cd84 100644 --- a/ext/standard/tests/file/rename_variation13.phpt +++ b/ext/standard/tests/file/rename_variation13.phpt @@ -11,12 +11,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") obscure_filename --FILE-- <?php -/* Prototype : bool rename(string old_name, string new_name[, resource context]) - * Description: Rename a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing rename() with obscure files ***\n"; $file_path = __DIR__."/renameVar13"; $aFile = $file_path.'/afile.tmp'; diff --git a/ext/standard/tests/file/rename_variation2-win32.phpt b/ext/standard/tests/file/rename_variation2-win32.phpt index 86b5f71837..9a5d56e48b 100644 --- a/ext/standard/tests/file/rename_variation2-win32.phpt +++ b/ext/standard/tests/file/rename_variation2-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - require __DIR__.'/file.inc'; $file_path = __DIR__; diff --git a/ext/standard/tests/file/rename_variation3-win32.phpt b/ext/standard/tests/file/rename_variation3-win32.phpt index a9e3057340..cd36b3665e 100644 --- a/ext/standard/tests/file/rename_variation3-win32.phpt +++ b/ext/standard/tests/file/rename_variation3-win32.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - require __DIR__.'/file.inc'; /* creating directory */ diff --git a/ext/standard/tests/file/rename_variation8-win32.phpt b/ext/standard/tests/file/rename_variation8-win32.phpt index df0fd55bb7..5e4bd68576 100644 --- a/ext/standard/tests/file/rename_variation8-win32.phpt +++ b/ext/standard/tests/file/rename_variation8-win32.phpt @@ -6,10 +6,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') die('skip.. for Windows'); ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - echo "\n*** Testing rename() on non-existing file ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/rename_variation8.phpt b/ext/standard/tests/file/rename_variation8.phpt index 660925b61f..8b958666c2 100644 --- a/ext/standard/tests/file/rename_variation8.phpt +++ b/ext/standard/tests/file/rename_variation8.phpt @@ -6,10 +6,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') die('skip.. not for Windows'); ?> --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - echo "\n*** Testing rename() on non-existing file ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/rename_variation9.phpt b/ext/standard/tests/file/rename_variation9.phpt index c90345be4e..21deef08a8 100644 --- a/ext/standard/tests/file/rename_variation9.phpt +++ b/ext/standard/tests/file/rename_variation9.phpt @@ -2,10 +2,6 @@ Test rename() function: basic functionality --FILE-- <?php -/* Prototype: bool rename ( string $oldname, string $newname [, resource $context] ); - Description: Renames a file or directory -*/ - echo "\n*** Testing rename() by giving stream context as third argument ***\n"; $file_path = __DIR__; diff --git a/ext/standard/tests/file/rmdir_variation3-win32.phpt b/ext/standard/tests/file/rmdir_variation3-win32.phpt index ca7e88f589..7a478b8a5c 100644 --- a/ext/standard/tests/file/rmdir_variation3-win32.phpt +++ b/ext/standard/tests/file/rmdir_variation3-win32.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype : bool rmdir(string dirname[, resource context]) - * Description: Remove a directory - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing rmdir() : variation ***\n"; $workDir = "rmdirVar3.tmp"; diff --git a/ext/standard/tests/file/rmdir_variation3.phpt b/ext/standard/tests/file/rmdir_variation3.phpt index c0714144e5..efd66c8bdf 100644 --- a/ext/standard/tests/file/rmdir_variation3.phpt +++ b/ext/standard/tests/file/rmdir_variation3.phpt @@ -4,12 +4,6 @@ Test rmdir() function : variation: various valid and invalid paths Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : bool rmdir(string dirname[, resource context]) - * Description: Remove a directory - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing rmdir() : variation ***\n"; $workDir = "rmdirVar3.tmp"; diff --git a/ext/standard/tests/file/stat_basic-win32-mb.phpt b/ext/standard/tests/file/stat_basic-win32-mb.phpt index 29f1514d76..4fd43bdbba 100644 --- a/ext/standard/tests/file/stat_basic-win32-mb.phpt +++ b/ext/standard/tests/file/stat_basic-win32-mb.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require("$file_path/file.inc"); diff --git a/ext/standard/tests/file/stat_basic-win32.phpt b/ext/standard/tests/file/stat_basic-win32.phpt index 4df0064688..c5a0125fb3 100644 --- a/ext/standard/tests/file/stat_basic-win32.phpt +++ b/ext/standard/tests/file/stat_basic-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; require("$file_path/file.inc"); diff --git a/ext/standard/tests/file/stat_error-win32.phpt b/ext/standard/tests/file/stat_error-win32.phpt index 3d4e367739..e8742fc64a 100644 --- a/ext/standard/tests/file/stat_error-win32.phpt +++ b/ext/standard/tests/file/stat_error-win32.phpt @@ -8,11 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* - Prototype: array stat ( string $filename ); - Description: Gives information about a file -*/ - $file_path = __DIR__; $arr = array(__FILE__); diff --git a/ext/standard/tests/file/stat_variation1-win32-mb.phpt b/ext/standard/tests/file/stat_variation1-win32-mb.phpt index 002d5ac650..616577a14f 100644 --- a/ext/standard/tests/file/stat_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/stat_variation1-win32-mb.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects of rename() on stats of dir/file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation1-win32.phpt b/ext/standard/tests/file/stat_variation1-win32.phpt index 03d94b8898..12d2b4aa95 100644 --- a/ext/standard/tests/file/stat_variation1-win32.phpt +++ b/ext/standard/tests/file/stat_variation1-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects of rename() on stats of dir/file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation2-win32.phpt b/ext/standard/tests/file/stat_variation2-win32.phpt index 66347ce2b5..87830458b6 100644 --- a/ext/standard/tests/file/stat_variation2-win32.phpt +++ b/ext/standard/tests/file/stat_variation2-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects of writing to a file on the stats of the file */ diff --git a/ext/standard/tests/file/stat_variation3-win32.phpt b/ext/standard/tests/file/stat_variation3-win32.phpt index 980fc56836..fb1da16d5b 100644 --- a/ext/standard/tests/file/stat_variation3-win32.phpt +++ b/ext/standard/tests/file/stat_variation3-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects of creating & deleting of subdir/file on the stats of dir/file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation4-win32.phpt b/ext/standard/tests/file/stat_variation4-win32.phpt index 9cae39a498..bcf61439d8 100644 --- a/ext/standard/tests/file/stat_variation4-win32.phpt +++ b/ext/standard/tests/file/stat_variation4-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects on the stats of dir/file for using is_dir() & is_file() on dir/file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation5-win32.phpt b/ext/standard/tests/file/stat_variation5-win32.phpt index 47627671db..ab65523df8 100644 --- a/ext/standard/tests/file/stat_variation5-win32.phpt +++ b/ext/standard/tests/file/stat_variation5-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the stats of file opened in write mode and then same in read mode */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation6-win32.phpt b/ext/standard/tests/file/stat_variation6-win32.phpt index 3dc7a4bac1..a4ffb55acf 100644 --- a/ext/standard/tests/file/stat_variation6-win32.phpt +++ b/ext/standard/tests/file/stat_variation6-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects on the stats of dir/file for changing permissions of dir/file */ diff --git a/ext/standard/tests/file/stat_variation7-win32.phpt b/ext/standard/tests/file/stat_variation7-win32.phpt index 320db156d4..4a54304bb4 100644 --- a/ext/standard/tests/file/stat_variation7-win32.phpt +++ b/ext/standard/tests/file/stat_variation7-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the stats of dir/file when their names are stored in objects */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/stat_variation8-win32.phpt b/ext/standard/tests/file/stat_variation8-win32.phpt index c86ba3206e..1d3573d3d1 100644 --- a/ext/standard/tests/file/stat_variation8-win32.phpt +++ b/ext/standard/tests/file/stat_variation8-win32.phpt @@ -9,11 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { --FILE-- <?php -/* - * Prototype: array stat ( string $filename ); - * Description: Gives information about a file - */ - /* test the effects of truncate() on stats of file */ diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt index 89d6478d73..630310ec02 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic1.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - $file_path = __DIR__; // temp dir created in present working directory diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt index fad0987540..fce709d23d 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_basic2.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - $file_path = __DIR__; echo "*** Testing symlink(), linkinfo(), link() and is_link() : basic functionality ***\n"; diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt index 6ee0f8aca7..52c37b768c 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt @@ -11,19 +11,6 @@ if (substr(PHP_OS, 0, 3) == 'SUN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - // create temp $filename and create link $linkname to it $filename = __DIR__."/symlink_link_linkinfo_is_link_error1.tmp"; $fp = fopen($filename, "w"); // create temp file diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt index 287ac4eb5f..3d38458bed 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - // create temp $filename and create link $linkname to it $filename = __DIR__."/symlink_link_linkinfo_is_link_error2.tmp"; $fp = fopen($filename, "w"); // create temp file diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt index 4daaba4aa9..c31efdab16 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation1.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 1 : Creating links across directories where linkname is stored as an object and array member */ // creating temp directory which will contain temp file and links created diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt index c88e426e6c..cde6783e15 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation2.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 2 : Create hard link to non-existent file */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt index 8207b698f3..d5a34db335 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation3.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 3 : Create file and a soft link to the file Access data of the file through the soft link Update the file through soft link diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt index 5bcf472447..1bb3b76eaa 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation4.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 4 : Create file and a hard link to the file Access data of the file through the hard link Update the file through hard link diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt index fe6edcdd90..855d005e23 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation5.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 5 : Creating link, deleting it and checking linkinfo(), is_link() on it */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt index 8095972b73..7dc11a751d 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt @@ -9,19 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 6 : Change permission of directory and try creating links inside that directory */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt index ee49aaa5c9..222322f316 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation7.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 7 : Create soft/hard link to itself */ // temp file used diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt index 883ea59884..f284095d24 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation8.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 8 : Create soft/hard link to different directory */ /* creating link to a file in different dir with the same name as the file */ diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt index a2a42a3d90..0fd0b4838e 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_variation9.phpt @@ -8,19 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: bool symlink ( string $target, string $link ); - Description: creates a symbolic link to the existing target with the specified name link - - Prototype: bool is_link ( string $filename ); - Description: Tells whether the given file is a symbolic link. - - Prototype: bool link ( string $target, string $link ); - Description: Create a hard link - - Prototype: int linkinfo ( string $path ); - Description: Gets information about a link -*/ - /* Variation 9 : Check lstat of soft/hard link created Check linkinfo() value with lstat['dev'] */ diff --git a/ext/standard/tests/file/tempnam_variation1-win32-mb.phpt b/ext/standard/tests/file/tempnam_variation1-win32-mb.phpt index 99450dce02..4442798f48 100644 --- a/ext/standard/tests/file/tempnam_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/tempnam_variation1-win32-mb.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating number of unique files by passing a file name as prefix */ $file_path = __DIR__."/tempnamVar1_私はガラスを食べられます"; diff --git a/ext/standard/tests/file/tempnam_variation1-win32.phpt b/ext/standard/tests/file/tempnam_variation1-win32.phpt index 5094fa4e88..e33c1ed5ea 100644 --- a/ext/standard/tests/file/tempnam_variation1-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation1-win32.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating number of unique files by passing a file name as prefix */ $file_path = __DIR__."/tempnamVar1"; diff --git a/ext/standard/tests/file/tempnam_variation1.phpt b/ext/standard/tests/file/tempnam_variation1.phpt index 762b4eab73..336b0a301e 100644 --- a/ext/standard/tests/file/tempnam_variation1.phpt +++ b/ext/standard/tests/file/tempnam_variation1.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating number of unique files by passing a file name as prefix */ $file_path = __DIR__."/tempnamVar1"; diff --git a/ext/standard/tests/file/tempnam_variation2-win32.phpt b/ext/standard/tests/file/tempnam_variation2-win32.phpt index a3a4d2dba9..dd9ee3ea7a 100644 --- a/ext/standard/tests/file/tempnam_variation2-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation2-win32.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating unique files in various dirs by passing relative paths to $dir arg */ echo "*** Testing tempnam() with absolute and relative paths ***\n"; diff --git a/ext/standard/tests/file/tempnam_variation2.phpt b/ext/standard/tests/file/tempnam_variation2.phpt index 17a1e6d645..9d9a307d7c 100644 --- a/ext/standard/tests/file/tempnam_variation2.phpt +++ b/ext/standard/tests/file/tempnam_variation2.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating unique files in various dirs by passing relative paths to $dir arg */ echo "*** Testing tempnam() with absolute and relative paths ***\n"; diff --git a/ext/standard/tests/file/tempnam_variation3-win32.phpt b/ext/standard/tests/file/tempnam_variation3-win32.phpt index dafc626659..e5bf76484b 100644 --- a/ext/standard/tests/file/tempnam_variation3-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation3-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing invalid/non-existing args for $prefix */ echo "*** Testing tempnam() with obscure prefixes ***\n"; diff --git a/ext/standard/tests/file/tempnam_variation3.phpt b/ext/standard/tests/file/tempnam_variation3.phpt index a4271b1370..b3e237afec 100644 --- a/ext/standard/tests/file/tempnam_variation3.phpt +++ b/ext/standard/tests/file/tempnam_variation3.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") obscure_filename --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing invalid/non-existing args for $prefix */ echo "*** Testing tempnam() with obscure prefixes ***\n"; diff --git a/ext/standard/tests/file/tempnam_variation4-0.phpt b/ext/standard/tests/file/tempnam_variation4-0.phpt index cbd09a5025..6679e37535 100644 --- a/ext/standard/tests/file/tempnam_variation4-0.phpt +++ b/ext/standard/tests/file/tempnam_variation4-0.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Trying to create the file in a dir with permissions from 0000 to 0350, Allowable permissions: files are expected to be created in the input dir Non-allowable permissions: files are expected to be created in '/tmp' dir @@ -52,579 +48,579 @@ echo "*** Done ***\n"; --EXPECTF-- *** Testing tempnam() with dir of permissions from 0000 to 0350 *** -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 0 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 1 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 2 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 3 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 4 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 5 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 6 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 7 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 10 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 11 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 12 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 13 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 14 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 15 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 16 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 17 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 20 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 21 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 22 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 23 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 24 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 25 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 26 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 27 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 30 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 31 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 32 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 33 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 34 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 35 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 36 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 37 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 40 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 41 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 42 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 43 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 44 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 45 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 46 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 47 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 50 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 51 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 52 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 53 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 54 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 55 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 56 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 57 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 60 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 61 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 62 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 63 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 64 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 65 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 66 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 67 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 70 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 71 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 72 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 73 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 74 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 75 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 76 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 77 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 100 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 101 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 102 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 103 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 104 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 105 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 106 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 107 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 110 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 111 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 112 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 113 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 114 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 115 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 116 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 117 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 120 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 121 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 122 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 123 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 124 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 125 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 126 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 127 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 130 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 131 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 132 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 133 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 134 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 135 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 136 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 137 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 140 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 141 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 142 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 143 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 144 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 145 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 146 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 147 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 150 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 151 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 152 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 153 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 154 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 155 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 156 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 157 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 160 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 161 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 162 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 163 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 164 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 165 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 166 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 167 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 170 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 171 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 172 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 173 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 174 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 175 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 176 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 177 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 200 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 201 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 202 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 203 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 204 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 205 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 206 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 207 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 210 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 211 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 212 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 213 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 214 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 215 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 216 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 217 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 220 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 221 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 222 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 223 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 224 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 225 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 226 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 227 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 230 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 231 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 232 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 233 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 234 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 235 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 236 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 237 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 240 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 241 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 242 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 243 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 244 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 245 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 246 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 247 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 250 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 251 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 252 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 253 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 254 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 255 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 256 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 257 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 260 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 261 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 262 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 263 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 264 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 265 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 266 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 267 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 270 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 271 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 272 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 273 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 274 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 275 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 276 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 277 *** Done *** diff --git a/ext/standard/tests/file/tempnam_variation4-1.phpt b/ext/standard/tests/file/tempnam_variation4-1.phpt index 46807125c6..3a2eb2bb75 100644 --- a/ext/standard/tests/file/tempnam_variation4-1.phpt +++ b/ext/standard/tests/file/tempnam_variation4-1.phpt @@ -9,10 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Trying to create the file in a dir with permissions from 0351 to 0777, Allowable permissions: files are expected to be created in the input dir Non-allowable permissions: files are expected to be created in '/tmp' dir @@ -52,579 +48,579 @@ echo "*** Done ***\n"; --EXPECTF-- *** Testing tempnam() with dir of permissions from 0351 to 0777 *** -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 400 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 401 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 402 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 403 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 404 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 405 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 406 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 407 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 410 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 411 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 412 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 413 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 414 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 415 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 416 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 417 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 420 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 421 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 422 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 423 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 424 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 425 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 426 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 427 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 430 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 431 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 432 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 433 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 434 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 435 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 436 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 437 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 440 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 441 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 442 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 443 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 444 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 445 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 446 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 447 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 450 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 451 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 452 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 453 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 454 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 455 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 456 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 457 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 460 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 461 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 462 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 463 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 464 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 465 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 466 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 467 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 470 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 471 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 472 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 473 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 474 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 475 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 476 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 477 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 500 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 501 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 502 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 503 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 504 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 505 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 506 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 507 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 510 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 511 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 512 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 513 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 514 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 515 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 516 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 517 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 520 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 521 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 522 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 523 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 524 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 525 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 526 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 527 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 530 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 531 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 532 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 533 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 534 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 535 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 536 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 537 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 540 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 541 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 542 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 543 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 544 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 545 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 546 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 547 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 550 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 551 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 552 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 553 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 554 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 555 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 556 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 557 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 560 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 561 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 562 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 563 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 564 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 565 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 566 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 567 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 570 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 571 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 572 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 573 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 574 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 575 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 576 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 577 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 600 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 601 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 602 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 603 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 604 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 605 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 606 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 607 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 610 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 611 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 612 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 613 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 614 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 615 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 616 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 617 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 620 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 621 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 622 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 623 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 624 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 625 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 626 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 627 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 630 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 631 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 632 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 633 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 634 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 635 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 636 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 637 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 640 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 641 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 642 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 643 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 644 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 645 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 646 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 647 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 650 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 651 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 652 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 653 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 654 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 655 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 656 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 657 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 660 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 661 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 662 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 663 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 664 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 665 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 666 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 667 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 670 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 671 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 672 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 673 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 674 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 675 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 676 -Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-1.php on line 20 +Notice: tempnam(): file created in the system's temporary directory in %s on line %d 677 *** Done *** diff --git a/ext/standard/tests/file/tempnam_variation5-win32.phpt b/ext/standard/tests/file/tempnam_variation5-win32.phpt index 71bfd06619..fb2d20a827 100644 --- a/ext/standard/tests/file/tempnam_variation5-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation5-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing an existing file as $prefix for tempnam() fn */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/tempnam_variation5.phpt b/ext/standard/tests/file/tempnam_variation5.phpt index 62a186c37c..b4c908f124 100644 --- a/ext/standard/tests/file/tempnam_variation5.phpt +++ b/ext/standard/tests/file/tempnam_variation5.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing an existing file as $prefix for tempnam() fn */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/tempnam_variation6-win32.phpt b/ext/standard/tests/file/tempnam_variation6-win32.phpt index c7a449c590..dad09890d0 100644 --- a/ext/standard/tests/file/tempnam_variation6-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation6-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Trying to create unique files by passing previously created unique file name as prefix */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/tempnam_variation6.phpt b/ext/standard/tests/file/tempnam_variation6.phpt index db40292e25..d71501eaf9 100644 --- a/ext/standard/tests/file/tempnam_variation6.phpt +++ b/ext/standard/tests/file/tempnam_variation6.phpt @@ -7,10 +7,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Trying to create unique files by passing previously created unique file name as prefix */ $file_path = __DIR__; diff --git a/ext/standard/tests/file/tempnam_variation7-win32.phpt b/ext/standard/tests/file/tempnam_variation7-win32.phpt index b9377e6c67..5beaa6d095 100644 --- a/ext/standard/tests/file/tempnam_variation7-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation7-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") obscure_filename --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing invalid/non-existing args for $dir, hence the unique files will be created in temporary dir */ diff --git a/ext/standard/tests/file/tempnam_variation7.phpt b/ext/standard/tests/file/tempnam_variation7.phpt index a6895c706b..e8d2811e0a 100644 --- a/ext/standard/tests/file/tempnam_variation7.phpt +++ b/ext/standard/tests/file/tempnam_variation7.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") obscure_filename --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Passing invalid/non-existing args for $dir, hence the unique files will be created in temporary dir */ diff --git a/ext/standard/tests/file/tempnam_variation8-win32.phpt b/ext/standard/tests/file/tempnam_variation8-win32.phpt index 5751368f7c..f329b1a97f 100644 --- a/ext/standard/tests/file/tempnam_variation8-win32.phpt +++ b/ext/standard/tests/file/tempnam_variation8-win32.phpt @@ -9,10 +9,6 @@ if(substr(PHP_OS, 0, 3) != "WIN") ?> --FILE-- <?php -/* Prototype: string tempnam ( string $dir, string $prefix ); - Description: Create file with unique file name. -*/ - /* Creating unique files in various dirs by passing relative paths to $dir arg */ echo "*** Testing tempnam() with absolute and relative paths ***\n"; diff --git a/ext/standard/tests/file/touch_basic-win32-mb.phpt b/ext/standard/tests/file/touch_basic-win32-mb.phpt index e10e1219d8..ad830e26f4 100644 --- a/ext/standard/tests/file/touch_basic-win32-mb.phpt +++ b/ext/standard/tests/file/touch_basic-win32-mb.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : proto bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing touch() : basic functionality ***\n"; $filename = __DIR__."/touch_私はガラスを食べられます.dat"; diff --git a/ext/standard/tests/file/touch_basic-win32.phpt b/ext/standard/tests/file/touch_basic-win32.phpt index 08248ac760..7a51ad2ee0 100644 --- a/ext/standard/tests/file/touch_basic-win32.phpt +++ b/ext/standard/tests/file/touch_basic-win32.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : proto bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing touch() : basic functionality ***\n"; $filename = __DIR__."/touch.dat"; diff --git a/ext/standard/tests/file/touch_basic.phpt b/ext/standard/tests/file/touch_basic.phpt index ffce02e574..ffe4b3e8c0 100644 --- a/ext/standard/tests/file/touch_basic.phpt +++ b/ext/standard/tests/file/touch_basic.phpt @@ -11,12 +11,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : proto bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - echo "*** Testing touch() : basic functionality ***\n"; $filename = __DIR__."/touch_basic.dat"; diff --git a/ext/standard/tests/file/touch_variation5-win32.phpt b/ext/standard/tests/file/touch_variation5-win32.phpt index 83d1879634..e3bcbee140 100644 --- a/ext/standard/tests/file/touch_variation5-win32.phpt +++ b/ext/standard/tests/file/touch_variation5-win32.phpt @@ -9,12 +9,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { } --FILE-- <?php -/* Prototype : bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - $workDir = "touchVar5.tmp"; $subDirOrFile = "aSubDirOrFile"; $cwd = __DIR__; diff --git a/ext/standard/tests/file/touch_variation5.phpt b/ext/standard/tests/file/touch_variation5.phpt index 67382f3b99..a4a9cf6928 100644 --- a/ext/standard/tests/file/touch_variation5.phpt +++ b/ext/standard/tests/file/touch_variation5.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - $workDir = "touchVar5.tmp"; $subDirOrFile = "aSubDirOrFile"; mkdir($workDir); diff --git a/ext/standard/tests/file/touch_variation6-win32.phpt b/ext/standard/tests/file/touch_variation6-win32.phpt index b9e9ce7a6c..d1a697c4ab 100644 --- a/ext/standard/tests/file/touch_variation6-win32.phpt +++ b/ext/standard/tests/file/touch_variation6-win32.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool touch(string filename [, int time [, int atime]]) - * Description: Set modification time of file - * Source code: ext/standard/filestat.c - * Alias to functions: - */ - $workDir = "touchVar5.tmp"; $subDirOrFile = "aSubDirOrFile"; chdir(__DIR__); diff --git a/ext/standard/tests/file/umask_basic.phpt b/ext/standard/tests/file/umask_basic.phpt index 761df97253..7463a8bb62 100644 --- a/ext/standard/tests/file/umask_basic.phpt +++ b/ext/standard/tests/file/umask_basic.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int umask ( [int $mask] ); - Description: Changes the current umask -*/ - echo "*** Testing umask() : basic functionality ***\n"; // checking umask() on all the modes for($mask = 0000; $mask <= 0777; $mask++) { diff --git a/ext/standard/tests/file/umask_variation1.phpt b/ext/standard/tests/file/umask_variation1.phpt index 77eada18e5..f5a5a26e55 100644 --- a/ext/standard/tests/file/umask_variation1.phpt +++ b/ext/standard/tests/file/umask_variation1.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int umask ( [int $mask] ); - Description: Changes the current umask -*/ - $file_path = __DIR__; /* Check umask() on file/dir */ diff --git a/ext/standard/tests/file/umask_variation2.phpt b/ext/standard/tests/file/umask_variation2.phpt index 6eac520f1c..21e3e35af7 100644 --- a/ext/standard/tests/file/umask_variation2.phpt +++ b/ext/standard/tests/file/umask_variation2.phpt @@ -8,10 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype: int umask ( [int $mask] ); - Description: Changes the current umask -*/ - $file_path = __DIR__; /* Check umask() on file/dir */ diff --git a/ext/standard/tests/file/unlink_basic.phpt b/ext/standard/tests/file/unlink_basic.phpt index ff9010183b..7459154d85 100644 --- a/ext/standard/tests/file/unlink_basic.phpt +++ b/ext/standard/tests/file/unlink_basic.phpt @@ -2,9 +2,6 @@ Testing unlink() function : basic functionality --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ $file_path = __DIR__; diff --git a/ext/standard/tests/file/unlink_error-win32-mb.phpt b/ext/standard/tests/file/unlink_error-win32-mb.phpt index 400e52e556..b904ef4533 100644 --- a/ext/standard/tests/file/unlink_error-win32-mb.phpt +++ b/ext/standard/tests/file/unlink_error-win32-mb.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ $file_path = __DIR__.DIRECTORY_SEPARATOR."私はガラスを食べられます"; diff --git a/ext/standard/tests/file/unlink_error-win32.phpt b/ext/standard/tests/file/unlink_error-win32.phpt index 2b1df9652f..af579be58d 100644 --- a/ext/standard/tests/file/unlink_error-win32.phpt +++ b/ext/standard/tests/file/unlink_error-win32.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ $file_path = __DIR__; diff --git a/ext/standard/tests/file/unlink_error.phpt b/ext/standard/tests/file/unlink_error.phpt index 5bf2227ca5..e5f809df05 100644 --- a/ext/standard/tests/file/unlink_error.phpt +++ b/ext/standard/tests/file/unlink_error.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ $file_path = __DIR__; diff --git a/ext/standard/tests/file/unlink_variation1-win32-mb.phpt b/ext/standard/tests/file/unlink_variation1-win32-mb.phpt index e18049fdbe..e1bb075d2b 100644 --- a/ext/standard/tests/file/unlink_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/unlink_variation1-win32-mb.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Delete file having default permission but its dir having readonly permission Delete file having readonly permission but dir having default permission diff --git a/ext/standard/tests/file/unlink_variation1-win32.phpt b/ext/standard/tests/file/unlink_variation1-win32.phpt index 7be1421f77..813e4a2e77 100644 --- a/ext/standard/tests/file/unlink_variation1-win32.phpt +++ b/ext/standard/tests/file/unlink_variation1-win32.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Delete file having default permission but its dir having readonly permission Delete file having readonly permission but dir having default permission diff --git a/ext/standard/tests/file/unlink_variation1.phpt b/ext/standard/tests/file/unlink_variation1.phpt index 1c4569a5fd..eafdf92f1f 100644 --- a/ext/standard/tests/file/unlink_variation1.phpt +++ b/ext/standard/tests/file/unlink_variation1.phpt @@ -9,9 +9,6 @@ require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Delete file having default permission but its dir having readonly permission Delete file having readonly permission but dir having default permission diff --git a/ext/standard/tests/file/unlink_variation10.phpt b/ext/standard/tests/file/unlink_variation10.phpt index ae48764d9b..127b070d23 100644 --- a/ext/standard/tests/file/unlink_variation10.phpt +++ b/ext/standard/tests/file/unlink_variation10.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink(string filename[, context context]) - * Description: Delete a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing unlink() : variation ***\n"; $workDir = "unlinkVar10.tmp"; diff --git a/ext/standard/tests/file/unlink_variation2.phpt b/ext/standard/tests/file/unlink_variation2.phpt index 09fa7dac74..b45395b684 100644 --- a/ext/standard/tests/file/unlink_variation2.phpt +++ b/ext/standard/tests/file/unlink_variation2.phpt @@ -2,9 +2,6 @@ Test unlink() function : usage variations - unlink file in use --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Try to unlink file when file handle is still in use */ diff --git a/ext/standard/tests/file/unlink_variation3.phpt b/ext/standard/tests/file/unlink_variation3.phpt index 1cab0630a6..558d47708e 100644 --- a/ext/standard/tests/file/unlink_variation3.phpt +++ b/ext/standard/tests/file/unlink_variation3.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Delete link files - soft and hard links */ diff --git a/ext/standard/tests/file/unlink_variation4.phpt b/ext/standard/tests/file/unlink_variation4.phpt index bc88b48adf..99dd0c632d 100644 --- a/ext/standard/tests/file/unlink_variation4.phpt +++ b/ext/standard/tests/file/unlink_variation4.phpt @@ -2,9 +2,6 @@ Test unlink() function : usage variations - unlink deleted file --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* Try deleting a file which is already deleted */ diff --git a/ext/standard/tests/file/unlink_variation5.phpt b/ext/standard/tests/file/unlink_variation5.phpt index bb6fd4b884..877a8704d8 100644 --- a/ext/standard/tests/file/unlink_variation5.phpt +++ b/ext/standard/tests/file/unlink_variation5.phpt @@ -8,9 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink ( string $filename [, resource $context] ); - Description : Deletes filename -*/ /* delete files with different file permission(0000 to 0777) */ diff --git a/ext/standard/tests/file/unlink_variation6.phpt b/ext/standard/tests/file/unlink_variation6.phpt index ff66cd2195..0a2743337c 100644 --- a/ext/standard/tests/file/unlink_variation6.phpt +++ b/ext/standard/tests/file/unlink_variation6.phpt @@ -4,12 +4,6 @@ Test unlink() function : variation Dave Kelsey <d_kelsey@uk.ibm.com> --FILE-- <?php -/* Prototype : bool unlink(string filename[, context context]) - * Description: Delete a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing unlink() : variation: contexts and relative files ***\n"; // test relative directories and stream contexts. diff --git a/ext/standard/tests/file/unlink_variation8-win32.phpt b/ext/standard/tests/file/unlink_variation8-win32.phpt index 12b43a340f..12ace11fc1 100644 --- a/ext/standard/tests/file/unlink_variation8-win32.phpt +++ b/ext/standard/tests/file/unlink_variation8-win32.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink(string filename[, context context]) - * Description: Delete a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing unlink() : variation ***\n"; $workDir = "unlinkVar8.tmp"; diff --git a/ext/standard/tests/file/unlink_variation8.phpt b/ext/standard/tests/file/unlink_variation8.phpt index 41c18f710b..71eca9199a 100644 --- a/ext/standard/tests/file/unlink_variation8.phpt +++ b/ext/standard/tests/file/unlink_variation8.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink(string filename[, context context]) - * Description: Delete a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing unlink() : variation ***\n"; $workDir = "unlinkVar8.tmp"; diff --git a/ext/standard/tests/file/unlink_variation9-win32.phpt b/ext/standard/tests/file/unlink_variation9-win32.phpt index 83a3f5617d..a69c27088e 100644 --- a/ext/standard/tests/file/unlink_variation9-win32.phpt +++ b/ext/standard/tests/file/unlink_variation9-win32.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { ?> --FILE-- <?php -/* Prototype : bool unlink(string filename[, context context]) - * Description: Delete a file - * Source code: ext/standard/file.c - * Alias to functions: - */ - echo "*** Testing unlink() : variation ***\n"; $workDir = "unlinkVar9.tmp"; diff --git a/ext/standard/tests/filters/stream_filter_remove_basic.phpt b/ext/standard/tests/filters/stream_filter_remove_basic.phpt index 65fc021c13..b5d95eaaa0 100644 --- a/ext/standard/tests/filters/stream_filter_remove_basic.phpt +++ b/ext/standard/tests/filters/stream_filter_remove_basic.phpt @@ -7,12 +7,6 @@ if(! in_array( "string.rot13", $filters )) die( "skip rot13 filter not available ?> --FILE-- <?php -/* Prototype : bool stream_filter_remove(resource stream_filter) - * Description: Flushes any data in the filter's internal buffer, removes it from the chain, and frees the resource - * Source code: ext/standard/streamsfuncs.c - * Alias to functions: - */ - echo "*** Testing stream_filter_remove() : basic functionality ***\n"; $file = __DIR__ . DIRECTORY_SEPARATOR . 'streamfilterTest.txt'; diff --git a/ext/standard/tests/filters/stream_filter_remove_error.phpt b/ext/standard/tests/filters/stream_filter_remove_error.phpt index ff93358b31..b44fa0ef4a 100644 --- a/ext/standard/tests/filters/stream_filter_remove_error.phpt +++ b/ext/standard/tests/filters/stream_filter_remove_error.phpt @@ -7,12 +7,6 @@ if(! in_array( "string.rot13", $filters )) die( "skip rot13 filter not available ?> --FILE-- <?php -/* Prototype : bool stream_filter_remove(resource stream_filter) - * Description: Flushes any data in the filter's internal buffer, removes it from the chain, and frees the resource - * Source code: ext/standard/streamsfuncs.c - * Alias to functions: - */ - $file = __DIR__ . DIRECTORY_SEPARATOR . 'streamfilterTest.txt'; touch( $file ); $fp = fopen( $file, 'w+' ); diff --git a/ext/standard/tests/general_functions/debug_zval_dump_b.phpt b/ext/standard/tests/general_functions/debug_zval_dump_b.phpt Binary files differindex 803cc8ce0c..5ce121b6a7 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_b.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_b.phpt diff --git a/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt b/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt Binary files differindex cc3540c406..6425249ca6 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt diff --git a/ext/standard/tests/general_functions/debug_zval_dump_o.phpt b/ext/standard/tests/general_functions/debug_zval_dump_o.phpt index ac4149f61c..b195353703 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_o.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_o.phpt @@ -4,13 +4,6 @@ Test debug_zval_dump() function : working on objects <?php if (PHP_ZTS) { print "skip only for no-zts build"; } --FILE-- <?php -/* Prototype: void debug_zval_dump ( mixed $variable ); - Description: Dumps a string representation of an internal zend value to output. -*/ - -/* Prototype: void zval_dump( $value ); - Description: use debug_zval_dump() to display the objects and its - reference count */ function zval_dump( $values ) { $counter = 1; foreach( $values as $value ) { diff --git a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt index b893d80246..ad64ceebdb 100644 --- a/ext/standard/tests/general_functions/debug_zval_dump_v.phpt +++ b/ext/standard/tests/general_functions/debug_zval_dump_v.phpt @@ -2,11 +2,6 @@ Test debug_zval_dump() function : usage variations --FILE-- <?php -/* Prototype: void debug_zval_dump ( mixed $variable ); - Description: Dumps a string representation of an internal zend value - to output. -*/ - echo "*** Testing debug_zval_dump() on functions ***\n"; echo "--- Variation 1: global variable inside a function ---\n"; $global_var = 10; //declaring global variable diff --git a/ext/standard/tests/general_functions/escapeshellarg_basic-win32-mb.phpt b/ext/standard/tests/general_functions/escapeshellarg_basic-win32-mb.phpt index d7b27cd8de..81b28a3b0b 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_basic-win32-mb.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_basic-win32-mb.phpt @@ -7,12 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype : string escapeshellarg ( string $arg ) - * Description: Escape a string to be used as a shell argument. - * Source code: ext/standard/exec.c - * Alias to functions: - */ - echo "Simple testcase for escapeshellarg() function\n"; var_dump(escapeshellarg("テストマルチバイ'ト・パス")); diff --git a/ext/standard/tests/general_functions/escapeshellarg_basic-win32.phpt b/ext/standard/tests/general_functions/escapeshellarg_basic-win32.phpt index b3a4c13502..b04675f936 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_basic-win32.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_basic-win32.phpt @@ -7,12 +7,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) ?> --FILE-- <?php -/* Prototype : string escapeshellarg ( string $arg ) - * Description: Escape a string to be used as a shell argument. - * Source code: ext/standard/exec.c - * Alias to functions: - */ - echo "Simple testcase for escapeshellarg() function\n"; var_dump(escapeshellarg("Mr O'Neil")); diff --git a/ext/standard/tests/general_functions/escapeshellarg_basic.phpt b/ext/standard/tests/general_functions/escapeshellarg_basic.phpt index d7d1fc64e3..f9a7702b9a 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_basic.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_basic.phpt @@ -7,12 +7,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) ?> --FILE-- <?php -/* Prototype : string escapeshellarg ( string $arg ) - * Description: Escape a string to be used as a shell argument. - * Source code: ext/standard/exec.c - * Alias to functions: - */ - echo "Simple testcase for escapeshellarg() function\n"; var_dump(escapeshellarg("Mr O'Neil")); diff --git a/ext/standard/tests/general_functions/escapeshellarg_variation1-win32.phpt b/ext/standard/tests/general_functions/escapeshellarg_variation1-win32.phpt index 309eca316e..c7cab179b4 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_variation1-win32.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_variation1-win32.phpt @@ -8,11 +8,6 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) --FILE-- <?php -/* Prototype : string escapeshellarg ( string $arg ) - * Description: Escape a string to be used as a shell argument. - * Source code: ext/standard/exec.c - */ - echo "*** Testing escapeshellarg() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt b/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt index e2aec56c27..15ebbfcd4e 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt @@ -8,11 +8,6 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) --FILE-- <?php -/* Prototype : string escapeshellarg ( string $arg ) - * Description: Escape a string to be used as a shell argument. - * Source code: ext/standard/exec.c - */ - echo "*** Testing escapeshellarg() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/general_functions/floatval.phpt b/ext/standard/tests/general_functions/floatval.phpt index a409f92a75..73075c8163 100644 --- a/ext/standard/tests/general_functions/floatval.phpt +++ b/ext/standard/tests/general_functions/floatval.phpt @@ -2,10 +2,6 @@ Testing floatval() and its alias doubleval() Functions --FILE-- <?php -/* Prototype: float floatval( mixed $var ); - * Description: Returns the float value of var. - */ - echo "*** Testing floatval() with valid float values ***\n"; // different valid float values $valid_floats = array( @@ -144,9 +140,9 @@ float(-5000000) *** Testing floatval() on non floating types *** -Notice: A non well formed numeric value encountered in %s on line 69 +Notice: A non well formed numeric value encountered in %s on line %d -Notice: A non well formed numeric value encountered in %s on line 70 +Notice: A non well formed numeric value encountered in %s on line %d float(-2147483648) float(2147483648) float(%d) diff --git a/ext/standard/tests/general_functions/floatval_basic.phpt b/ext/standard/tests/general_functions/floatval_basic.phpt index d6a3b72a19..d20d4dedfa 100644 --- a/ext/standard/tests/general_functions/floatval_basic.phpt +++ b/ext/standard/tests/general_functions/floatval_basic.phpt @@ -4,10 +4,6 @@ Testing floatval() and its alias doubleval() Functions precision = 14 --FILE-- <?php -/* Prototype: float floatval( mixed $var ); - * Description: Returns the float value of var. - */ - // different valid float values $valid_floats = array( "0.0" => 0.0, diff --git a/ext/standard/tests/general_functions/floatval_variation1.phpt b/ext/standard/tests/general_functions/floatval_variation1.phpt index e688253e3f..2f184a53e7 100644 --- a/ext/standard/tests/general_functions/floatval_variation1.phpt +++ b/ext/standard/tests/general_functions/floatval_variation1.phpt @@ -2,12 +2,6 @@ Testing floatval() and its alias doubleval() functions : usage variations - different data types as $y arg --FILE-- <?php -/* Prototype: float floatval( mixed $var ); - * Description: Returns the float value of var. - */ - - - // get a resource type variable $fp = fopen (__FILE__, "r"); fclose($fp); diff --git a/ext/standard/tests/general_functions/get_defined_constants_basic.phpt b/ext/standard/tests/general_functions/get_defined_constants_basic.phpt index 7876540e8a..b89cc937aa 100644 --- a/ext/standard/tests/general_functions/get_defined_constants_basic.phpt +++ b/ext/standard/tests/general_functions/get_defined_constants_basic.phpt @@ -2,11 +2,6 @@ Test get_defined_constants() function : basic functionality --FILE-- <?php -/* Prototype : array get_defined_constants ([ bool $categorize ] ) - * Description: Returns an associative array with the names of all the constants and their values - * Source code: Zend/zend_builtin_functions.c - */ - echo "*** Testing get_defined_constants() : basic functionality ***\n"; var_dump(gettype(get_defined_constants(true))); diff --git a/ext/standard/tests/general_functions/get_defined_vars_basic.phpt b/ext/standard/tests/general_functions/get_defined_vars_basic.phpt index 19b59fea96..7b1426110a 100644 --- a/ext/standard/tests/general_functions/get_defined_vars_basic.phpt +++ b/ext/standard/tests/general_functions/get_defined_vars_basic.phpt @@ -2,12 +2,6 @@ Test get_defined_vars() function --FILE-- <?php -/* Prototype: array get_defined_vars ( void ) - Description: This function returns a multidimensional array containing a list of all defined - variables, be them environment, server or user-defined variables, within the scope that - get_defined_vars() is called. -*/ - echo "Simple testcase for get_defined_vars() function\n\n"; function f1() { diff --git a/ext/standard/tests/general_functions/get_extension_funcs_basic.phpt b/ext/standard/tests/general_functions/get_extension_funcs_basic.phpt index cb4b84c99d..70499decfd 100644 --- a/ext/standard/tests/general_functions/get_extension_funcs_basic.phpt +++ b/ext/standard/tests/general_functions/get_extension_funcs_basic.phpt @@ -2,12 +2,6 @@ Test get_extension_funcs() function: basic test --FILE-- <?php -/* Prototype : array get_extension_funcs ( string $module_name ) - * Description: Returns an array with the names of the functions of a module. - * Source code: Zend/zend_builtin_functions.c - * Alias to functions: - */ - echo "Simple testcase for get_extension_funcs() function\n"; $result = get_extension_funcs("standard"); diff --git a/ext/standard/tests/general_functions/get_include_path_basic.phpt b/ext/standard/tests/general_functions/get_include_path_basic.phpt index c17d5d3e71..d0bd23fd1d 100644 --- a/ext/standard/tests/general_functions/get_include_path_basic.phpt +++ b/ext/standard/tests/general_functions/get_include_path_basic.phpt @@ -4,10 +4,7 @@ Test get_include_path() function include_path=. --FILE-- <?php -/* Prototype: string get_include_path ( void ) - * Description: Gets the current include_path configuration option -*/ echo "*** Testing get_include_path()\n"; diff --git a/ext/standard/tests/general_functions/get_included_files.phpt b/ext/standard/tests/general_functions/get_included_files.phpt index d81c72e3ea..ac65745f83 100644 --- a/ext/standard/tests/general_functions/get_included_files.phpt +++ b/ext/standard/tests/general_functions/get_included_files.phpt @@ -4,10 +4,7 @@ Test get_include_files() function include_path=. --FILE-- <?php -/* Prototype: array get_included_files ( void ) - * Description: Returns an array with the names of included or required files -*/ echo "*** Testing get_included_files()\n"; diff --git a/ext/standard/tests/general_functions/get_loaded_extensions_basic.phpt b/ext/standard/tests/general_functions/get_loaded_extensions_basic.phpt index 3be43caecb..da262251e6 100644 --- a/ext/standard/tests/general_functions/get_loaded_extensions_basic.phpt +++ b/ext/standard/tests/general_functions/get_loaded_extensions_basic.phpt @@ -2,11 +2,6 @@ Test get_loaded_extensions() function : basic functionality --FILE-- <?php -/* Prototype : array get_loaded_extensions ([ bool $zend_extensions= false ] ) - * Description: Returns an array with the names of all modules compiled and loaded - * Source code: Zend/zend_builtin_functions.c - */ - echo "*** Testing get_loaded_extensions() : basic functionality ***\n"; echo "Get loaded extensions\n"; diff --git a/ext/standard/tests/general_functions/get_resource_type_basic.phpt b/ext/standard/tests/general_functions/get_resource_type_basic.phpt index dcad549c7b..89dfd46cac 100644 --- a/ext/standard/tests/general_functions/get_resource_type_basic.phpt +++ b/ext/standard/tests/general_functions/get_resource_type_basic.phpt @@ -2,11 +2,6 @@ Test get_resource_type() function : basic functionality --FILE-- <?php -/* Prototype : string get_resource_type ( resource $handle ) - * Description: Returns the resource type - * Source code: Zend/zend_builtin_functions.c - */ - echo "*** Testing get_resource_type() : basic functionality ***\n"; $res = fopen(__FILE__, "r"); diff --git a/ext/standard/tests/general_functions/getmypid_basic.phpt b/ext/standard/tests/general_functions/getmypid_basic.phpt index ec52ee927d..7e0e6647c2 100644 --- a/ext/standard/tests/general_functions/getmypid_basic.phpt +++ b/ext/standard/tests/general_functions/getmypid_basic.phpt @@ -2,12 +2,6 @@ Test getmypid() function: basic test --FILE-- <?php -/* Prototype : int getmypid ( void ) - * Description: Gets the current PHP process ID. - * Source code: ext/standard/pageinfo.c - * Alias to functions: - */ - echo "Simple testcase for getmypid() function\n"; var_dump(getmypid()); diff --git a/ext/standard/tests/general_functions/getrusage_basic.phpt b/ext/standard/tests/general_functions/getrusage_basic.phpt index b057b57fae..9940657c1d 100644 --- a/ext/standard/tests/general_functions/getrusage_basic.phpt +++ b/ext/standard/tests/general_functions/getrusage_basic.phpt @@ -4,12 +4,6 @@ Test getrusage() function: basic test <?php if (!function_exists("getrusage")) print "skip"; ?> --FILE-- <?php -/* Prototype : array getrusage ([ int $who ] ) - * Description: Gets the current resource usages - * Source code: ext/standard/microtime.c - * Alias to functions: - */ - echo "Simple testcase for getrusage() function\n"; $dat = getrusage(); diff --git a/ext/standard/tests/general_functions/gettype_settype_basic.phpt b/ext/standard/tests/general_functions/gettype_settype_basic.phpt index 80d12588e1..932ed7a967 100644 --- a/ext/standard/tests/general_functions/gettype_settype_basic.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_basic.phpt @@ -4,13 +4,6 @@ Test gettype() & settype() functions : basic functionalities precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test the basic functionalities of settype() & gettype() functions. Use the gettype() to get the type of regular data and use settype() to change its type to other types */ diff --git a/ext/standard/tests/general_functions/gettype_settype_error.phpt b/ext/standard/tests/general_functions/gettype_settype_error.phpt index 62e13e7259..a495ff6c29 100644 --- a/ext/standard/tests/general_functions/gettype_settype_error.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_error.phpt @@ -2,13 +2,6 @@ Test gettype() & settype() functions : error conditions --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test different error conditions of settype() and gettype() functions */ echo "**** Testing gettype() and settype() functions ****\n"; diff --git a/ext/standard/tests/general_functions/gettype_settype_variation1.phpt b/ext/standard/tests/general_functions/gettype_settype_variation1.phpt index 93e69a2149..6b93eb33c9 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation1.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation1.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to null type. Set type of the data to "null" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation2.phpt b/ext/standard/tests/general_functions/gettype_settype_variation2.phpt index 36b0e75485..91561715ac 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation2.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation2.phpt @@ -12,13 +12,6 @@ if (PHP_OS_FAMILY === 'Darwin') { precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to int/integer type. Set type of the data to "int"/"integer" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation3.phpt b/ext/standard/tests/general_functions/gettype_settype_variation3.phpt index 60c1d76cc6..75e01cfccf 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation3.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation3.phpt @@ -6,13 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to float/double type. Set type of the data to "float"/"double" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation4.phpt b/ext/standard/tests/general_functions/gettype_settype_variation4.phpt index 00da4bf4bb..57d05915ad 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation4.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation4.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to bool/boolean type. Set type of the data to "bool"/"boolean" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation5.phpt b/ext/standard/tests/general_functions/gettype_settype_variation5.phpt index f9f0059bfa..a651abddca 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation5.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation5.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to resource type. Set type of the data to "resource" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation6.phpt b/ext/standard/tests/general_functions/gettype_settype_variation6.phpt index 7c5ea5efb6..57b42697cd 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation6.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation6.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to array type. Set type of the data to "array" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation7.phpt b/ext/standard/tests/general_functions/gettype_settype_variation7.phpt index b282cbdab1..17e01134dd 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation7.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation7.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to object type. Set type of the data to "object" and verify using gettype diff --git a/ext/standard/tests/general_functions/gettype_settype_variation8.phpt b/ext/standard/tests/general_functions/gettype_settype_variation8.phpt index 7ddfe54ab6..152262fe50 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation8.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation8.phpt @@ -8,13 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: string gettype ( mixed $var ); - Description: Returns the type of the PHP variable var - - Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type -*/ - /* Test usage variation of gettype() and settype() functions: settype() to string type. Set type of the data to "string" and verify using gettype diff --git a/ext/standard/tests/general_functions/intval.phpt b/ext/standard/tests/general_functions/intval.phpt index c56bdd7b94..51d3b128f4 100644 --- a/ext/standard/tests/general_functions/intval.phpt +++ b/ext/standard/tests/general_functions/intval.phpt @@ -6,10 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype: int intval( mixed $var [.int $base] ); - * Description: Returns the integer value of var, using the specified base for the conversion(the default is base 10). - */ - echo "*** Testing intval() with valid integer values ***\n"; // different valid integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/intval_variation1.phpt b/ext/standard/tests/general_functions/intval_variation1.phpt index c968b39a90..f2e3db9f10 100644 --- a/ext/standard/tests/general_functions/intval_variation1.phpt +++ b/ext/standard/tests/general_functions/intval_variation1.phpt @@ -2,12 +2,6 @@ Test intval() function : usage variation --FILE-- <?php -/* Prototype : int intval(mixed var [, int base]) - * Description: Get the integer value of a variable using the optional base for the conversion - * Source code: ext/standard/type.c - * Alias to functions: - */ - echo "*** Testing intval() : usage variation ***\n"; // Define error handler diff --git a/ext/standard/tests/general_functions/is_array.phpt b/ext/standard/tests/general_functions/is_array.phpt index 37de6d5a5b..15ff46e22d 100644 --- a/ext/standard/tests/general_functions/is_array.phpt +++ b/ext/standard/tests/general_functions/is_array.phpt @@ -2,10 +2,6 @@ Test is_array() function --FILE-- <?php -/* Prototype: bool is_array ( mixed $var ); - * Description: Finds whether the given variable is an array - */ - echo "*** Testing is_array() on different type of arrays ***\n"; /* different types of arrays */ $arrays = array( diff --git a/ext/standard/tests/general_functions/is_bool.phpt b/ext/standard/tests/general_functions/is_bool.phpt index 70aaed9c3f..88c53882b4 100644 --- a/ext/standard/tests/general_functions/is_bool.phpt +++ b/ext/standard/tests/general_functions/is_bool.phpt @@ -2,10 +2,6 @@ Test is_bool() function --FILE-- <?php -/* Prototype: bool is_bool ( mixed $var ); - * Description: Finds whether the given variable is a boolean - */ - echo "*** Testing is_bool() with valid boolean values ***\n"; // different valid boolean values $valid_bools = array( diff --git a/ext/standard/tests/general_functions/is_callable_basic1.phpt b/ext/standard/tests/general_functions/is_callable_basic1.phpt index 50eb710e90..2eca9cac37 100644 --- a/ext/standard/tests/general_functions/is_callable_basic1.phpt +++ b/ext/standard/tests/general_functions/is_callable_basic1.phpt @@ -2,15 +2,6 @@ Test is_callable() function : usage variations - defined functions --FILE-- <?php -/* Prototype: bool is_callable ( mixed $var [, bool $syntax_only [, string &$callable_name]] ); - * Description: Verify that the contents of a variable can be called as a function - * Source code: ext/imap/php_imap.c - */ - -/* Prototype: void check_iscallable( $functions ); - Description: use iscallable() on given string to check for valid function name - returns true if valid function name, false otherwise -*/ function check_iscallable( $functions ) { $counter = 1; foreach($functions as $func) { diff --git a/ext/standard/tests/general_functions/is_callable_basic2.phpt b/ext/standard/tests/general_functions/is_callable_basic2.phpt index 2927b43d40..a0c68cb636 100644 --- a/ext/standard/tests/general_functions/is_callable_basic2.phpt +++ b/ext/standard/tests/general_functions/is_callable_basic2.phpt @@ -2,16 +2,6 @@ Test is_callable() function : usage variations - on objects --FILE-- <?php -/* Prototype: bool is_callable ( mixed $var [, bool $syntax_only [, string &$callable_name]] ); - Description: Verify that the contents of a variable can be called as a function - In case of objects, $var = array($SomeObject, 'MethodName') -*/ - -/* Prototype: void check_iscallable_objects( $methods ); - Description: use is_callable() on given $method to check if the array - contains a valid method name; - returns true if valid function name, false otherwise -*/ function check_iscallable_objects( $methods ) { global $loop_counter; $counter = 1; diff --git a/ext/standard/tests/general_functions/is_callable_variation1.phpt b/ext/standard/tests/general_functions/is_callable_variation1.phpt index 52da80951b..d217767cce 100644 --- a/ext/standard/tests/general_functions/is_callable_variation1.phpt +++ b/ext/standard/tests/general_functions/is_callable_variation1.phpt @@ -2,15 +2,6 @@ Test is_callable() function : usage variations - undefined functions --FILE-- <?php -/* Prototype: bool is_callable ( mixed $var [, bool $syntax_only [, string &$callable_name]] ); - Description: Verify that the contents of a variable can be called as a function - In case of objects, $var = array($SomeObject, 'MethodName') -*/ - -/* Prototype: void check_iscallable( $functions ); - Description: use iscallable() on given string to check for valid function name - returns true if valid function name, false otherwise -*/ function check_iscallable( $functions ) { $counter = 1; foreach($functions as $func) { diff --git a/ext/standard/tests/general_functions/is_callable_variation2.phpt b/ext/standard/tests/general_functions/is_callable_variation2.phpt index 2c53939545..53fe64a245 100644 --- a/ext/standard/tests/general_functions/is_callable_variation2.phpt +++ b/ext/standard/tests/general_functions/is_callable_variation2.phpt @@ -2,15 +2,6 @@ Test is_callable() function : usage variations - on invalid function names --FILE-- <?php -/* Prototype: bool is_callable ( mixed $var [, bool $syntax_only [, string &$callable_name]] ); - Description: Verify that the contents of a variable can be called as a function - In case of objects, $var = array($SomeObject, 'MethodName') -*/ - -/* Prototype: void check_iscallable( $functions ); - Description: use iscallable() on given string to check for valid function name - returns true if valid function name, false otherwise -*/ function check_iscallable( $functions ) { $counter = 1; foreach($functions as $func) { diff --git a/ext/standard/tests/general_functions/is_float.phpt b/ext/standard/tests/general_functions/is_float.phpt index f29816f606..f47b178d2f 100644 --- a/ext/standard/tests/general_functions/is_float.phpt +++ b/ext/standard/tests/general_functions/is_float.phpt @@ -6,10 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype: bool is_float ( mixed $var ); - * Description: Finds whether the given variable is a float - */ - echo "*** Testing is_float(), is_double() with float values***\n"; // different valid float values $floats = array( diff --git a/ext/standard/tests/general_functions/is_float_64bit.phpt b/ext/standard/tests/general_functions/is_float_64bit.phpt index 4992bb51c4..93fcc0949b 100644 --- a/ext/standard/tests/general_functions/is_float_64bit.phpt +++ b/ext/standard/tests/general_functions/is_float_64bit.phpt @@ -8,10 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); precision=14 --FILE-- <?php -/* Prototype: bool is_float ( mixed $var ); - * Description: Finds whether the given variable is a float - */ - echo "*** Testing is_float(), is_double() with float values***\n"; // different valid float values $floats = array( diff --git a/ext/standard/tests/general_functions/is_int.phpt b/ext/standard/tests/general_functions/is_int.phpt index 25e6c2564e..b47590d235 100644 --- a/ext/standard/tests/general_functions/is_int.phpt +++ b/ext/standard/tests/general_functions/is_int.phpt @@ -6,10 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype: bool is_int ( mixed $var ); - * Description: Finds whether the given variable is an integer - */ - echo "*** Testing is_int(), is_integer() & is_long() with valid integer values ***\n"; // different valid integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/is_int_64bit.phpt b/ext/standard/tests/general_functions/is_int_64bit.phpt index 8e5e9332c0..9676deea4c 100644 --- a/ext/standard/tests/general_functions/is_int_64bit.phpt +++ b/ext/standard/tests/general_functions/is_int_64bit.phpt @@ -8,10 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); precision=14 --FILE-- <?php -/* Prototype: bool is_int ( mixed $var ); - * Description: Finds whether the given variable is an integer - */ - echo "*** Testing is_int(), is_integer() & is_long() with valid integer values ***\n"; // different valid integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/is_null.phpt b/ext/standard/tests/general_functions/is_null.phpt index 6560707e57..7b12bca634 100644 --- a/ext/standard/tests/general_functions/is_null.phpt +++ b/ext/standard/tests/general_functions/is_null.phpt @@ -2,10 +2,6 @@ Test is_null() function --FILE-- <?php -/* Prototype: bool is_null ( mixed $var ); - * Description: Finds whether the given variable is NULL - */ - echo "*** Testing is_null() with valid null values ***\n"; // different valid null values $unset_array = array(); diff --git a/ext/standard/tests/general_functions/is_numeric.phpt b/ext/standard/tests/general_functions/is_numeric.phpt index 8883c57ac2..bf09a81348 100644 --- a/ext/standard/tests/general_functions/is_numeric.phpt +++ b/ext/standard/tests/general_functions/is_numeric.phpt @@ -2,10 +2,6 @@ Test is_numeric() function --FILE-- <?php -/* Prototype: bool is_numeric ( mixed $var ); - * Description: Finds whether a variable is a number or a numeric string - */ - echo "*** Testing is_numeric() with valid numeric values ***\n"; // different valid numeric values $numerics = array( diff --git a/ext/standard/tests/general_functions/is_object.phpt b/ext/standard/tests/general_functions/is_object.phpt index 8a5ac1bcbe..ed4a2f7a34 100644 --- a/ext/standard/tests/general_functions/is_object.phpt +++ b/ext/standard/tests/general_functions/is_object.phpt @@ -2,10 +2,6 @@ Test is_object() function --FILE-- <?php -/* Prototype: bool is_object ( mixed $var ); - * Description: Finds whether the given variable is an object - */ - echo "*** Testing is_object() with valid objects ***\n"; // class with no members diff --git a/ext/standard/tests/general_functions/is_resource_basic.phpt b/ext/standard/tests/general_functions/is_resource_basic.phpt index 06988850ee..da5643dc6c 100644 --- a/ext/standard/tests/general_functions/is_resource_basic.phpt +++ b/ext/standard/tests/general_functions/is_resource_basic.phpt @@ -2,11 +2,6 @@ Test is_resource() function : basic functionality --FILE-- <?php -/* Prototype : bool is_resource ( mixed $var ) - * Description: Finds whether a variable is a resource - * Source code: ext/standard/type.c - */ - echo "*** Testing is_resource() : basic functionality ***\n"; class Hello { diff --git a/ext/standard/tests/general_functions/is_scalar.phpt b/ext/standard/tests/general_functions/is_scalar.phpt index 6a89da9f56..151a5bca18 100644 --- a/ext/standard/tests/general_functions/is_scalar.phpt +++ b/ext/standard/tests/general_functions/is_scalar.phpt @@ -2,10 +2,6 @@ Test is_scalar() function --FILE-- <?php -/* Prototype: bool is_scalar ( mixed $var ); - * Description: Finds whether a variable is a scalar (i.e integer, float, string or boolean) - */ - echo "*** Testing basic operations ***\n"; $scalar_variables = array( 0, // integers diff --git a/ext/standard/tests/general_functions/is_string.phpt b/ext/standard/tests/general_functions/is_string.phpt index a4ef7a47b1..d2f8eeffcc 100644 --- a/ext/standard/tests/general_functions/is_string.phpt +++ b/ext/standard/tests/general_functions/is_string.phpt @@ -2,10 +2,6 @@ Test is_string() function --FILE-- <?php -/* Prototype: bool is_string ( mixed $var ); - * Description: Finds whether the given variable is a string - */ - echo "*** Testing is_string() with valid string values ***\n"; // different valid strings diff --git a/ext/standard/tests/general_functions/isset_basic1.phpt b/ext/standard/tests/general_functions/isset_basic1.phpt index 7990810467..65826d1f8b 100644 --- a/ext/standard/tests/general_functions/isset_basic1.phpt +++ b/ext/standard/tests/general_functions/isset_basic1.phpt @@ -2,10 +2,6 @@ Test isset() function : basic functionality --FILE-- <?php -/* Prototype : bool isset ( mixed $var [, mixed $var [, $... ]] ) - * Description: Determine if a variable is set and is not NULL - */ - class foo {} echo "*** Testing isset() : basic functionality ***\n"; diff --git a/ext/standard/tests/general_functions/isset_basic2.phpt b/ext/standard/tests/general_functions/isset_basic2.phpt index 586203d4ee..3b777e9357 100644 --- a/ext/standard/tests/general_functions/isset_basic2.phpt +++ b/ext/standard/tests/general_functions/isset_basic2.phpt @@ -2,10 +2,6 @@ Test isset() function : basic functionality --FILE-- <?php -/* Prototype : bool isset ( mixed $var [, mixed $var [, $... ]] ) - * Description: Determine if a variable is set and is not NULL - */ - class foo {} echo "*** Testing isset() : basic functionality ***\n"; diff --git a/ext/standard/tests/general_functions/ob_get_flush_basic.phpt b/ext/standard/tests/general_functions/ob_get_flush_basic.phpt index b724b3c91c..b43ae81c30 100644 --- a/ext/standard/tests/general_functions/ob_get_flush_basic.phpt +++ b/ext/standard/tests/general_functions/ob_get_flush_basic.phpt @@ -4,12 +4,6 @@ Test ob_get_flush() function : basic functionality output_buffering=0 --FILE-- <?php -/* Prototype : bool ob_get_flush(void) - * Description: Get current buffer contents, flush (send) the output buffer, and delete current output buffer - * Source code: main/output.c - * Alias to functions: - */ - echo "*** Testing ob_get_flush() : basic functionality ***\n"; ob_start(); diff --git a/ext/standard/tests/general_functions/ob_get_flush_error.phpt b/ext/standard/tests/general_functions/ob_get_flush_error.phpt index c45e810841..9c39606d11 100644 --- a/ext/standard/tests/general_functions/ob_get_flush_error.phpt +++ b/ext/standard/tests/general_functions/ob_get_flush_error.phpt @@ -4,12 +4,6 @@ Test ob_get_flush() function : error conditions output_buffering=0 --FILE-- <?php -/* Prototype : bool ob_get_flush(void) - * Description: Get current buffer contents, flush (send) the output buffer, and delete current output buffer - * Source code: main/output.c - * Alias to functions: - */ - echo "*** Testing ob_get_flush() : error conditions ***\n"; // No ob_start() executed diff --git a/ext/standard/tests/general_functions/ob_get_length_basic.phpt b/ext/standard/tests/general_functions/ob_get_length_basic.phpt index 0eb1adf9ee..08acc46eb5 100644 --- a/ext/standard/tests/general_functions/ob_get_length_basic.phpt +++ b/ext/standard/tests/general_functions/ob_get_length_basic.phpt @@ -4,12 +4,6 @@ Test ob_get_length() function : basic functionality output_buffering=0 --FILE-- <?php -/* Prototype : int ob_get_length(void) - * Description: Return the length of the output buffer - * Source code: main/output.c - * Alias to functions: - */ - function dump_string_length( $string ) { ob_start(); diff --git a/ext/standard/tests/general_functions/parse_ini_string_001.phpt b/ext/standard/tests/general_functions/parse_ini_string_001.phpt index de1daa7637..84b674f87b 100644 --- a/ext/standard/tests/general_functions/parse_ini_string_001.phpt +++ b/ext/standard/tests/general_functions/parse_ini_string_001.phpt @@ -2,11 +2,6 @@ Test parse_ini_string() function --FILE-- <?php -/* Prototype: array parse_ini_string(string $string [,bool $process_sections]); - Description: parse_ini_string() loads in the ini file specified in filename, - and returns the settings in it in an associative array. -*/ - $parse_string = <<<EOD ; Comment starts with semi-colon(;) ; Section starts with [<section name>] diff --git a/ext/standard/tests/general_functions/php_uname_basic.phpt b/ext/standard/tests/general_functions/php_uname_basic.phpt index b4fb78e6ea..11af4d03c5 100644 --- a/ext/standard/tests/general_functions/php_uname_basic.phpt +++ b/ext/standard/tests/general_functions/php_uname_basic.phpt @@ -2,9 +2,6 @@ Test php_uname() function - basic test --FILE-- <?php -/* Prototype: string php_uname ([ string $mode ] ) - * Description: Returns information about the operating system PHP is running on -*/ echo "*** Testing php_uname() - basic test\n"; diff --git a/ext/standard/tests/general_functions/php_uname_error.phpt b/ext/standard/tests/general_functions/php_uname_error.phpt index c64c15b404..2f65ed587d 100644 --- a/ext/standard/tests/general_functions/php_uname_error.phpt +++ b/ext/standard/tests/general_functions/php_uname_error.phpt @@ -2,9 +2,6 @@ Test php_uname() function - error conditions - pass function incorrect arguments --FILE-- <?php -/* Prototype: string php_uname ([ string $mode ] ) - * Description: Returns information about the operating system PHP is running on -*/ echo "*** Testing php_uname() - error test\n"; diff --git a/ext/standard/tests/general_functions/print_r.phpt b/ext/standard/tests/general_functions/print_r.phpt index d2ec63f5b4..0c0d775961 100644 --- a/ext/standard/tests/general_functions/print_r.phpt +++ b/ext/standard/tests/general_functions/print_r.phpt @@ -4,12 +4,7 @@ Test print_r() function precision=14 --FILE-- <?php -/* Prototype: bool print_r ( mixed $expression [, bool $return] ); - Description: Prints human-readable information about a variable -*/ -/* Prototype: void check_printr( $variables ) - Description: use print_r() to print variables */ function check_printr( $variables ) { $counter = 1; foreach( $variables as $variable ) { diff --git a/ext/standard/tests/general_functions/print_r_64bit.phpt b/ext/standard/tests/general_functions/print_r_64bit.phpt index 5df1637dbd..56153e7682 100644 --- a/ext/standard/tests/general_functions/print_r_64bit.phpt +++ b/ext/standard/tests/general_functions/print_r_64bit.phpt @@ -8,12 +8,7 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); precision=14 --FILE-- <?php -/* Prototype: bool print_r ( mixed $expression [, bool $return] ); - Description: Prints human-readable information about a variable -*/ -/* Prototype: void check_printr( $variables ) - Description: use print_r() to print variables */ function check_printr( $variables ) { $counter = 1; foreach( $variables as $variable ) { diff --git a/ext/standard/tests/general_functions/sleep_basic.phpt b/ext/standard/tests/general_functions/sleep_basic.phpt index 4371cc99ed..249f7ac6e5 100644 --- a/ext/standard/tests/general_functions/sleep_basic.phpt +++ b/ext/standard/tests/general_functions/sleep_basic.phpt @@ -6,11 +6,6 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> --FILE-- <?php -/* Prototype : int sleep ( int $seconds ) - * Description: Delays the program execution for the given number of seconds . - * Source code: ext/standard/basic_functions.c - */ - echo "*** Testing sleep() : basic functionality ***\n"; $sleeptime = 1; // sleep for 1 seconds diff --git a/ext/standard/tests/general_functions/strval.phpt b/ext/standard/tests/general_functions/strval.phpt index a75ac12272..678da93fac 100644 --- a/ext/standard/tests/general_functions/strval.phpt +++ b/ext/standard/tests/general_functions/strval.phpt @@ -4,10 +4,6 @@ Test strval() function precision=14 --FILE-- <?php -/* Prototype: string strval ( mixed $var ); - * Description: Returns the string value of var - */ - echo "*** Testing str_val() with scalar values***\n"; $heredoc_string = <<<EOD This is a multiline heredoc diff --git a/ext/standard/tests/general_functions/uniqid_basic.phpt b/ext/standard/tests/general_functions/uniqid_basic.phpt index 6bfc478fad..0e782cdfd1 100644 --- a/ext/standard/tests/general_functions/uniqid_basic.phpt +++ b/ext/standard/tests/general_functions/uniqid_basic.phpt @@ -2,10 +2,6 @@ Test uniqid() function : basic functionality --FILE-- <?php -/* Prototype : string uniqid ([ string $prefix= "" [, bool $more_entropy= false ]] ) - * Description: Gets a prefixed unique identifier based on the current time in microseconds. - * Source code: ext/standard/uniqid.c -*/ echo "*** Testing uniqid() : basic functionality ***\n"; echo "\nuniqid() without a prefix\n"; diff --git a/ext/standard/tests/general_functions/usleep_basic.phpt b/ext/standard/tests/general_functions/usleep_basic.phpt index c2af61f8a2..7ce33be8ae 100644 --- a/ext/standard/tests/general_functions/usleep_basic.phpt +++ b/ext/standard/tests/general_functions/usleep_basic.phpt @@ -6,11 +6,6 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> --FILE-- <?php -/* Prototype : void usleep ( int $micro_seconds ) - * Description: Delays program execution for the given number of micro seconds. - * Source code: ext/standard/basic_functions.c - */ - set_time_limit(20); echo "*** Testing usleep() : basic functionality ***\n"; diff --git a/ext/standard/tests/general_functions/var_dump.phpt b/ext/standard/tests/general_functions/var_dump.phpt index 476620ff26..58dea7b61e 100644 --- a/ext/standard/tests/general_functions/var_dump.phpt +++ b/ext/standard/tests/general_functions/var_dump.phpt @@ -8,12 +8,7 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); precision=14 --FILE-- <?php -/* Prototype: void var_dump ( mixed $expression [, mixed $expression [, $...]] ); - Description: Displays structured information about one or more expressions that includes its type and value. -*/ -/* Prototype: void check_vardump( $variables ); - Description: use var_dump() to display the variables */ function check_vardump( $variables ) { $counter = 1; foreach( $variables as $variable ) { diff --git a/ext/standard/tests/general_functions/var_dump_64bit.phpt b/ext/standard/tests/general_functions/var_dump_64bit.phpt index 7b74761586..e6ac7f15cb 100644 --- a/ext/standard/tests/general_functions/var_dump_64bit.phpt +++ b/ext/standard/tests/general_functions/var_dump_64bit.phpt @@ -8,12 +8,7 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); precision=14 --FILE-- <?php -/* Prototype: void var_dump ( mixed $expression [, mixed $expression [, $...]] ); - Description: Displays structured information about one or more expressions that includes its type and value. -*/ -/* Prototype: void check_vardump( $variables ); - Description: use var_dump() to display the variables */ function check_vardump( $variables ) { $counter = 1; foreach( $variables as $variable ) { diff --git a/ext/standard/tests/general_functions/var_export-locale.phpt b/ext/standard/tests/general_functions/var_export-locale.phpt index 9f9cd0e896..c9b0fa8d87 100644 --- a/ext/standard/tests/general_functions/var_export-locale.phpt +++ b/ext/standard/tests/general_functions/var_export-locale.phpt @@ -14,11 +14,6 @@ if (PHP_INT_SIZE < 8) { --FILE-- <?php setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8"); -/* Prototype: mixed var_export( mixed expression [, bool return]); - * Description: Returns the variable representation when the return parameter is used and evaluates to TRUE. Otherwise, this function will return NULL. - -*/ - echo "*** Testing var_export() with integer values ***\n"; // different integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/var_export-locale_32.phpt b/ext/standard/tests/general_functions/var_export-locale_32.phpt index d64fa3b8d7..96b34f4b35 100644 --- a/ext/standard/tests/general_functions/var_export-locale_32.phpt +++ b/ext/standard/tests/general_functions/var_export-locale_32.phpt @@ -14,11 +14,6 @@ if (PHP_INT_SIZE > 4) { --FILE-- <?php setlocale(LC_ALL, "german", "de","de_DE","de_DE.ISO8859-1","de_DE.ISO_8859-1","de_DE.UTF-8"); -/* Prototype: mixed var_export( mixed expression [, bool return]); - * Description: Returns the variable representation when the return parameter is used and evaluates to TRUE. Otherwise, this function will return NULL. - -*/ - echo "*** Testing var_export() with integer values ***\n"; // different integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/var_export_basic1.phpt b/ext/standard/tests/general_functions/var_export_basic1.phpt index 27c56a7b8f..51f957faf2 100644 --- a/ext/standard/tests/general_functions/var_export_basic1.phpt +++ b/ext/standard/tests/general_functions/var_export_basic1.phpt @@ -8,12 +8,6 @@ if (PHP_INT_SIZE < 8) { ?> --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with integer values ***\n"; // different integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/var_export_basic1_32.phpt b/ext/standard/tests/general_functions/var_export_basic1_32.phpt index 0eb6ce889f..e13b90dbd9 100644 --- a/ext/standard/tests/general_functions/var_export_basic1_32.phpt +++ b/ext/standard/tests/general_functions/var_export_basic1_32.phpt @@ -8,12 +8,6 @@ if (PHP_INT_SIZE > 4) { ?> --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with integer values ***\n"; // different integer values $valid_ints = array( diff --git a/ext/standard/tests/general_functions/var_export_basic2.phpt b/ext/standard/tests/general_functions/var_export_basic2.phpt index 1698a28001..b5895f805d 100644 --- a/ext/standard/tests/general_functions/var_export_basic2.phpt +++ b/ext/standard/tests/general_functions/var_export_basic2.phpt @@ -3,12 +3,6 @@ Test var_export() function with valid boolean values --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with valid boolean values ***\n"; // different valid boolean values $valid_bool = array( diff --git a/ext/standard/tests/general_functions/var_export_basic3.phpt b/ext/standard/tests/general_functions/var_export_basic3.phpt index 92d5bbbe76..66e87f093a 100644 --- a/ext/standard/tests/general_functions/var_export_basic3.phpt +++ b/ext/standard/tests/general_functions/var_export_basic3.phpt @@ -4,12 +4,6 @@ Test var_export() function with valid float values serialize_precision=17 --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with valid float values ***\n"; // different valid float values $valid_floats = array( diff --git a/ext/standard/tests/general_functions/var_export_basic4.phpt b/ext/standard/tests/general_functions/var_export_basic4.phpt index 789140d255..4d41d2f38d 100644 --- a/ext/standard/tests/general_functions/var_export_basic4.phpt +++ b/ext/standard/tests/general_functions/var_export_basic4.phpt @@ -2,13 +2,6 @@ Test var_export() function with valid strings --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - - echo "*** Testing var_export() with valid strings ***\n"; // different valid string $valid_strings = array( diff --git a/ext/standard/tests/general_functions/var_export_basic5.phpt b/ext/standard/tests/general_functions/var_export_basic5.phpt index 731e84ff99..4712ba37a9 100644 --- a/ext/standard/tests/general_functions/var_export_basic5.phpt +++ b/ext/standard/tests/general_functions/var_export_basic5.phpt @@ -4,13 +4,6 @@ Test var_export() function with valid arrays serialize_precision=17 --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - - echo "*** Testing var_export() with valid arrays ***\n"; // different valid arrays $valid_arrays = array( diff --git a/ext/standard/tests/general_functions/var_export_basic6.phpt b/ext/standard/tests/general_functions/var_export_basic6.phpt index 4d09f0a794..a3d3ae639b 100644 --- a/ext/standard/tests/general_functions/var_export_basic6.phpt +++ b/ext/standard/tests/general_functions/var_export_basic6.phpt @@ -2,12 +2,6 @@ Test var_export() function with valid objects --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with valid objects ***\n"; // class with no members diff --git a/ext/standard/tests/general_functions/var_export_basic7.phpt b/ext/standard/tests/general_functions/var_export_basic7.phpt index f9a68f0f13..01ffd5fbe5 100644 --- a/ext/standard/tests/general_functions/var_export_basic7.phpt +++ b/ext/standard/tests/general_functions/var_export_basic7.phpt @@ -2,12 +2,6 @@ Test var_export() function with valid null values --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing var_export() with valid null values ***\n"; // different valid null values diff --git a/ext/standard/tests/general_functions/var_export_basic8.phpt b/ext/standard/tests/general_functions/var_export_basic8.phpt index a52bf430d2..182bdd107e 100644 --- a/ext/standard/tests/general_functions/var_export_basic8.phpt +++ b/ext/standard/tests/general_functions/var_export_basic8.phpt @@ -2,12 +2,6 @@ var_export(): simple test with arrays and objects --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "\n\n-- Var export on a simple object --\n"; $o1 = new stdclass; $o1->p = '22'; diff --git a/ext/standard/tests/general_functions/var_export_error2.phpt b/ext/standard/tests/general_functions/var_export_error2.phpt index 83dd2aa297..1c1d04dcb9 100644 --- a/ext/standard/tests/general_functions/var_export_error2.phpt +++ b/ext/standard/tests/general_functions/var_export_error2.phpt @@ -2,16 +2,10 @@ Test var_export() function : error conditions - recursive object --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - $obj = new stdClass; $obj->p =& $obj; var_export($obj, true); ?> --EXPECTF-- -Warning: var_export does not handle circular references in %s on line 10 +Warning: var_export does not handle circular references in %s on line %d diff --git a/ext/standard/tests/general_functions/var_export_error3.phpt b/ext/standard/tests/general_functions/var_export_error3.phpt index 7c2bc54ef3..6c953e9821 100644 --- a/ext/standard/tests/general_functions/var_export_error3.phpt +++ b/ext/standard/tests/general_functions/var_export_error3.phpt @@ -2,15 +2,9 @@ Test var_export() function : error conditions - recursive array --FILE-- <?php -/* Prototype : mixed var_export(mixed var [, bool return]) - * Description: Outputs or returns a string representation of a variable - * Source code: ext/standard/var.c - * Alias to functions: - */ - $a[] =& $a; var_export($a, true); ?> --EXPECTF-- -Warning: var_export does not handle circular references in %s on line 9 +Warning: var_export does not handle circular references in %s on line %d diff --git a/ext/standard/tests/image/getimagesize_basic.phpt b/ext/standard/tests/image/getimagesize_basic.phpt index ad857243d7..f1a6d108d3 100644 --- a/ext/standard/tests/image/getimagesize_basic.phpt +++ b/ext/standard/tests/image/getimagesize_basic.phpt @@ -2,11 +2,6 @@ Test getimagesize() function : basic functionality --FILE-- <?php -/* Prototype : array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - */ - $imagetype_filenames = array( // GIF file "GIF image file" => "200x100.gif", diff --git a/ext/standard/tests/image/getimagesize_jpgapp.phpt b/ext/standard/tests/image/getimagesize_jpgapp.phpt index b4c6413a08..5577d94060 100644 --- a/ext/standard/tests/image/getimagesize_jpgapp.phpt +++ b/ext/standard/tests/image/getimagesize_jpgapp.phpt @@ -2,12 +2,6 @@ Test getimagesize() function : basic functionality - load APP info from jpeg. --FILE-- <?php -/* Prototype : proto array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - * Alias to functions: - */ - /* * Load APP info from jpeg */ diff --git a/ext/standard/tests/image/getimagesize_tif_mm.phpt b/ext/standard/tests/image/getimagesize_tif_mm.phpt index 6d76c2bb06..cd6f32f4d3 100644 --- a/ext/standard/tests/image/getimagesize_tif_mm.phpt +++ b/ext/standard/tests/image/getimagesize_tif_mm.phpt @@ -2,12 +2,6 @@ GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering --FILE-- <?php -/* Prototype : proto array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - * Alias to functions: - */ - echo "*** Testing getimagesize() : tiff_mm format ***\n"; var_dump(getimagesize(__DIR__ . "/2x2mm.tiff", $arr)); var_dump($arr); diff --git a/ext/standard/tests/image/getimagesize_variation2.phpt b/ext/standard/tests/image/getimagesize_variation2.phpt index 50cc3c0561..045d9141a6 100644 --- a/ext/standard/tests/image/getimagesize_variation2.phpt +++ b/ext/standard/tests/image/getimagesize_variation2.phpt @@ -2,12 +2,6 @@ Test getimagesize() function : usage variations - unexpected type for arg 2 --FILE-- <?php -/* Prototype : proto array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - * Alias to functions: - */ - function test_error_handler($err_no, $err_msg, $filename, $linenum) { echo "Error: $err_no - $err_msg\n"; } diff --git a/ext/standard/tests/image/getimagesize_variation3.phpt b/ext/standard/tests/image/getimagesize_variation3.phpt index b50e822d70..f6317db740 100644 --- a/ext/standard/tests/image/getimagesize_variation3.phpt +++ b/ext/standard/tests/image/getimagesize_variation3.phpt @@ -2,12 +2,6 @@ Test getimagesize() function : variation - Passing non image files --FILE-- <?php -/* Prototype : array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - */ - - $file_types_array = array ( //File containing text string "File with text data" => "test.txt", diff --git a/ext/standard/tests/image/getimagesize_variation4.phpt b/ext/standard/tests/image/getimagesize_variation4.phpt index d2e2c84554..fac3900417 100644 --- a/ext/standard/tests/image/getimagesize_variation4.phpt +++ b/ext/standard/tests/image/getimagesize_variation4.phpt @@ -8,11 +8,6 @@ Test getimagesize() function : variation - For shockwave-flash format ?> --FILE-- <?php -/* Prototype : array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - */ - echo "*** Testing getimagesize() : variation ***\n"; var_dump( getimagesize(__DIR__."/test13pix.swf", $info) ); diff --git a/ext/standard/tests/image/getimagesize_variation_005.phpt b/ext/standard/tests/image/getimagesize_variation_005.phpt index 93a8648c11..503ed7657c 100644 --- a/ext/standard/tests/image/getimagesize_variation_005.phpt +++ b/ext/standard/tests/image/getimagesize_variation_005.phpt @@ -8,11 +8,6 @@ Test getimagesize() function : basic functionality for shockwave-flash ?> --FILE-- <?php -/* Prototype : array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - */ - echo "*** Testing getimagesize() : basic functionality ***\n"; var_dump( getimagesize(__DIR__."/test13pix.swf", $info) ); diff --git a/ext/standard/tests/image/getimagesize_wbmp.phpt b/ext/standard/tests/image/getimagesize_wbmp.phpt index d0b0852a26..0b0ebe5234 100644 --- a/ext/standard/tests/image/getimagesize_wbmp.phpt +++ b/ext/standard/tests/image/getimagesize_wbmp.phpt @@ -2,12 +2,6 @@ GetImageSize() for wbmp format --FILE-- <?php -/* Prototype : proto array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - * Alias to functions: - */ - echo "*** Testing getimagesize() : wbmp format ***\n"; var_dump(getimagesize(__DIR__ . "/75x50.wbmp", $arr)); var_dump($arr); diff --git a/ext/standard/tests/image/getimagesize_xbm.phpt b/ext/standard/tests/image/getimagesize_xbm.phpt index bf8bdf924d..5ecd6ad206 100644 --- a/ext/standard/tests/image/getimagesize_xbm.phpt +++ b/ext/standard/tests/image/getimagesize_xbm.phpt @@ -2,12 +2,6 @@ GetImageSize() for xbm format --FILE-- <?php -/* Prototype : proto array getimagesize(string imagefile [, array info]) - * Description: Get the size of an image as 4-element array - * Source code: ext/standard/image.c - * Alias to functions: - */ - echo "*** Testing getimagesize() : xbm format ***\n"; var_dump(getimagesize(__DIR__ . "/75x50.xbm", $arr)); var_dump($arr); diff --git a/ext/standard/tests/image/image_type_to_mime_type_basic.phpt b/ext/standard/tests/image/image_type_to_mime_type_basic.phpt index 684056459e..bf5a1ee250 100644 --- a/ext/standard/tests/image/image_type_to_mime_type_basic.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type_basic.phpt @@ -3,12 +3,6 @@ image_type_to_mime_type() --FILE-- <?php -/* Prototype : string image_type_to_mime_type ( int $imagetype ) - * Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype. - * Source code: ext/standard/image.c - * Alias to functions: - */ - echo "Starting image_type_to_mime_type() test\n\n"; $image_types = array ( diff --git a/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt index 5123f373a7..19241d9dd0 100644 --- a/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt @@ -2,11 +2,6 @@ Test image_type_to_mime_type() function : usage variations - Pass decimal, octal, and hexadecimal values as imagetype --FILE-- <?php -/* Prototype : string image_type_to_mime_type(int imagetype) - * Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype - * Source code: ext/standard/image.c - */ - echo "*** Testing image_type_to_mime_type() : usage variations ***\n"; error_reporting(E_ALL ^ E_NOTICE); diff --git a/ext/standard/tests/image/image_type_to_mime_type_variation3.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation3.phpt index ac77faad33..49a53c468b 100644 --- a/ext/standard/tests/image/image_type_to_mime_type_variation3.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type_variation3.phpt @@ -4,11 +4,6 @@ image_type_to_mime_type() (passinf equivalent integer values) Sanjay Mantoor <sanjay.mantoor@gmail.com> --FILE-- <?php -/* Prototype : string image_type_to_mime_type(int imagetype) - * Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype - * Source code: ext/standard/image.c - */ - echo "*** Testing image_type_to_mime_type() : usage variations ***\n"; for($imagetype = 0; $imagetype <= IMAGETYPE_COUNT; ++$imagetype) { diff --git a/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt index baaca4650a..ca487e00a2 100644 --- a/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt @@ -8,12 +8,6 @@ Test image_type_to_mime_type() function : usage variations - Passing IMAGETYPE_I ?> --FILE-- <?php -/* Prototype : string image_type_to_mime_type(int imagetype) - * Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype - * Source code: ext/standard/image.c - */ - - echo "*** Testing image_type_to_mime_type() : usage variations ***\n"; error_reporting(E_ALL ^ E_NOTICE); diff --git a/ext/standard/tests/mail/bug66535.phpt b/ext/standard/tests/mail/bug66535.phpt index db947e1172..6006c75451 100644 --- a/ext/standard/tests/mail/bug66535.phpt +++ b/ext/standard/tests/mail/bug66535.phpt @@ -5,12 +5,6 @@ sendmail_path={MAIL:mailBug66535.out} mail.add_x_header = On --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : send email without additional headers ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/mail/bug69874.phpt b/ext/standard/tests/mail/bug69874.phpt index 89c966d085..7476b6f469 100644 --- a/ext/standard/tests/mail/bug69874.phpt +++ b/ext/standard/tests/mail/bug69874.phpt @@ -5,12 +5,6 @@ sendmail_path={MAIL:mailBug69874.out} mail.add_x_header = Off --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : send email without additional headers ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/mail/bug69874_2.phpt b/ext/standard/tests/mail/bug69874_2.phpt index 9c603a13ea..5465293f7d 100644 --- a/ext/standard/tests/mail/bug69874_2.phpt +++ b/ext/standard/tests/mail/bug69874_2.phpt @@ -5,12 +5,6 @@ sendmail_path={MAIL:mailBug69874_2.out} mail.add_x_header = On --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : send email without additional headers ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/mail/mail_basic.phpt b/ext/standard/tests/mail/mail_basic.phpt index fb8cb58e84..8027081077 100644 --- a/ext/standard/tests/mail/mail_basic.phpt +++ b/ext/standard/tests/mail/mail_basic.phpt @@ -5,12 +5,6 @@ sendmail_path={MAIL:mailBasic.out} mail.add_x_header = Off --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; diff --git a/ext/standard/tests/mail/mail_basic2.phpt b/ext/standard/tests/mail/mail_basic2.phpt index bee44f9f6b..44d8d86310 100644 --- a/ext/standard/tests/mail/mail_basic2.phpt +++ b/ext/standard/tests/mail/mail_basic2.phpt @@ -10,12 +10,6 @@ sendmail_path="cat > /tmp/php_test_mailBasic2.out" mail.add_x_header = Off --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; diff --git a/ext/standard/tests/mail/mail_basic5.phpt b/ext/standard/tests/mail/mail_basic5.phpt index 37e0d5ba3d..b427fbeb67 100644 --- a/ext/standard/tests/mail/mail_basic5.phpt +++ b/ext/standard/tests/mail/mail_basic5.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; diff --git a/ext/standard/tests/mail/mail_basic6.phpt b/ext/standard/tests/mail/mail_basic6.phpt index e7af072ff5..5a1cac7c65 100644 --- a/ext/standard/tests/mail/mail_basic6.phpt +++ b/ext/standard/tests/mail/mail_basic6.phpt @@ -10,12 +10,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message with invalid addtional_headers - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; diff --git a/ext/standard/tests/mail/mail_basic7.phpt b/ext/standard/tests/mail/mail_basic7.phpt index 9c9c61d835..54d020e46c 100644 --- a/ext/standard/tests/mail/mail_basic7.phpt +++ b/ext/standard/tests/mail/mail_basic7.phpt @@ -5,12 +5,6 @@ sendmail_path={MAIL:mailBasic7.out} mail.add_x_header = Off --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, mixed additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - error_reporting(-1); echo "*** Testing mail() : basic functionality ***\n"; @@ -142,21 +136,21 @@ A Message ************* TEST ****************** -- All Mail Content Parameters -- -Warning: mail(): 'orig-date' header must be at most one header. Array is passed for 'orig-date' in %s on line 59 +Warning: mail(): 'orig-date' header must be at most one header. Array is passed for 'orig-date' in %s on line %d -Warning: mail(): 'from' header must be at most one header. Array is passed for 'from' in %s on line 59 +Warning: mail(): 'from' header must be at most one header. Array is passed for 'from' in %s on line %d -Warning: mail(): 'sender' header must be at most one header. Array is passed for 'sender' in %s on line 59 +Warning: mail(): 'sender' header must be at most one header. Array is passed for 'sender' in %s on line %d -Warning: mail(): 'reply-to' header must be at most one header. Array is passed for 'reply-to' in %s on line 59 +Warning: mail(): 'reply-to' header must be at most one header. Array is passed for 'reply-to' in %s on line %d -Warning: mail(): Extra header cannot contain 'To' header in %s on line 59 +Warning: mail(): Extra header cannot contain 'To' header in %s on line %d -Warning: mail(): 'bcc' header must be at most one header. Array is passed for 'bcc' in %s on line 59 +Warning: mail(): 'bcc' header must be at most one header. Array is passed for 'bcc' in %s on line %d -Warning: mail(): 'message-id' header must be at most one header. Array is passed for 'message-id' in %s on line 59 +Warning: mail(): 'message-id' header must be at most one header. Array is passed for 'message-id' in %s on line %d -Warning: mail(): 'in-reply-to' header must be at most one header. Array is passed for 'in-reply-to' in %s on line 59 +Warning: mail(): 'in-reply-to' header must be at most one header. Array is passed for 'in-reply-to' in %s on line %d bool(true) To: user@example.com Subject: Test Subject @@ -167,19 +161,19 @@ A Message ************* TEST ****************** -- All Mail Content Parameters -- -Warning: mail(): Multiple header key must be numeric index (foo1) in %s on line 84 +Warning: mail(): Multiple header key must be numeric index (foo1) in %s on line %d -Warning: mail(): Multiple header values must be string (foo2) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo2) in %s on line %d -Warning: mail(): Multiple header values must be string (foo3) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo3) in %s on line %d -Warning: mail(): Multiple header values must be string (foo4) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo4) in %s on line %d -Warning: mail(): Multiple header values must be string (foo5) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo5) in %s on line %d -Warning: mail(): Multiple header values must be string (foo6) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo6) in %s on line %d -Warning: mail(): Multiple header values must be string (foo7) in %s on line 84 +Warning: mail(): Multiple header values must be string (foo7) in %s on line %d bool(true) To: user@example.com Subject: Test Subject @@ -191,15 +185,15 @@ A Message ************* TEST ****************** -- All Mail Content Parameters -- -Warning: mail(): Header field name (*:foo1) contains invalid chars in %s on line 112 +Warning: mail(): Header field name (*:foo1) contains invalid chars in %s on line %d -Warning: mail(): Header field name (foo2:::) contains invalid chars in %s on line 112 +Warning: mail(): Header field name (foo2:::) contains invalid chars in %s on line %d -Warning: mail(): Header field name () contains invalid chars in %s on line 112 +Warning: mail(): Header field name () contains invalid chars in %s on line %d -Warning: mail(): Header field name (foo7) contains invalid chars in %s on line 112 +Warning: mail(): Header field name (foo7) contains invalid chars in %s on line %d -Warning: mail(): Header field value (foo10 => abc) contains invalid chars or format in %s on line 112 +Warning: mail(): Header field value (foo10 => abc) contains invalid chars or format in %s on line %d bool(true) To: user@example.com Subject: Test Subject diff --git a/ext/standard/tests/mail/mail_basic_alt1-win32.phpt b/ext/standard/tests/mail/mail_basic_alt1-win32.phpt index 5952a14f59..0cffdfd2aa 100644 --- a/ext/standard/tests/mail/mail_basic_alt1-win32.phpt +++ b/ext/standard/tests/mail/mail_basic_alt1-win32.phpt @@ -13,12 +13,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - ini_set("SMTP", "localhost"); ini_set("smtp_port", 25); ini_set("sendmail_from", "user@example.com"); diff --git a/ext/standard/tests/mail/mail_basic_alt2-win32.phpt b/ext/standard/tests/mail/mail_basic_alt2-win32.phpt index 8c7a28983c..d90575610d 100644 --- a/ext/standard/tests/mail/mail_basic_alt2-win32.phpt +++ b/ext/standard/tests/mail/mail_basic_alt2-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; require_once(__DIR__.'/mail_include.inc'); $subject_prefix = "!**PHPT**!"; diff --git a/ext/standard/tests/mail/mail_basic_alt3-win32.phpt b/ext/standard/tests/mail/mail_basic_alt3-win32.phpt index 15fb701e28..1ae04bc40a 100644 --- a/ext/standard/tests/mail/mail_basic_alt3-win32.phpt +++ b/ext/standard/tests/mail/mail_basic_alt3-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; require_once(__DIR__.'/mail_include.inc'); $subject_prefix = "!**PHPT**!"; diff --git a/ext/standard/tests/mail/mail_basic_alt4-win32.phpt b/ext/standard/tests/mail/mail_basic_alt4-win32.phpt index 96c6fb11f5..1628a2da6f 100644 --- a/ext/standard/tests/mail/mail_basic_alt4-win32.phpt +++ b/ext/standard/tests/mail/mail_basic_alt4-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; require_once(__DIR__.'/mail_include.inc'); $subject_prefix = "!**PHPT**!"; diff --git a/ext/standard/tests/mail/mail_variation1.phpt b/ext/standard/tests/mail/mail_variation1.phpt index 3e4d346b0b..75adc62822 100644 --- a/ext/standard/tests/mail/mail_variation1.phpt +++ b/ext/standard/tests/mail/mail_variation1.phpt @@ -9,12 +9,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : variation ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/mail/mail_variation2.phpt b/ext/standard/tests/mail/mail_variation2.phpt index 9ab8071b4b..fd6d91312a 100644 --- a/ext/standard/tests/mail/mail_variation2.phpt +++ b/ext/standard/tests/mail/mail_variation2.phpt @@ -11,12 +11,6 @@ if(substr(PHP_OS, 0, 3) == "WIN") ?> --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - echo "*** Testing mail() : basic functionality ***\n"; diff --git a/ext/standard/tests/mail/mail_variation_alt1-win32.phpt b/ext/standard/tests/mail/mail_variation_alt1-win32.phpt index 155dc9815a..5ba36cea7b 100644 --- a/ext/standard/tests/mail/mail_variation_alt1-win32.phpt +++ b/ext/standard/tests/mail/mail_variation_alt1-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - ini_set("SMTP", "localhost"); ini_set("smtp_port", 2525); ini_set("sendmail_from", "user@example.com"); diff --git a/ext/standard/tests/mail/mail_variation_alt2-win32.phpt b/ext/standard/tests/mail/mail_variation_alt2-win32.phpt index 36d971329f..78ebbf9355 100644 --- a/ext/standard/tests/mail/mail_variation_alt2-win32.phpt +++ b/ext/standard/tests/mail/mail_variation_alt2-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - ini_set("SMTP", "localplace"); ini_set("smtp_port", 25); ini_set("sendmail_from", "user@example.com"); diff --git a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt index 96d5d796bb..d7fc0b72eb 100644 --- a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt +++ b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt @@ -12,12 +12,6 @@ require_once(__DIR__.'/mail_skipif.inc'); max_execution_time = 120 --FILE-- <?php -/* Prototype : int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) - * Description: Send an email message - * Source code: ext/standard/mail.c - * Alias to functions: - */ - ini_set("SMTP", "localhost"); ini_set("smtp_port", 25); diff --git a/ext/standard/tests/math/abs_basic.phpt b/ext/standard/tests/math/abs_basic.phpt index b7da2a49bd..65120efef6 100644 --- a/ext/standard/tests/math/abs_basic.phpt +++ b/ext/standard/tests/math/abs_basic.phpt @@ -4,11 +4,6 @@ Test abs() function : basic functionality precision = 14 --FILE-- <?php -/* Prototype : number abs ( mixed $number ) - * Description: Returns the absolute value of number. - * Source code: ext/standard/math.c - */ - echo "*** Testing abs() : basic functionality ***\n"; $values = array(23, diff --git a/ext/standard/tests/math/abs_variation.phpt b/ext/standard/tests/math/abs_variation.phpt index 9541c08bc2..4a40ab4e37 100644 --- a/ext/standard/tests/math/abs_variation.phpt +++ b/ext/standard/tests/math/abs_variation.phpt @@ -2,11 +2,6 @@ Test abs() function : usage variations - different data types as $number arg --FILE-- <?php -/* Prototype : number abs ( mixed $number ) - * Description: Returns the absolute value of number. - * Source code: ext/standard/math.c - */ - /* * Pass different data types as $number argument to abs() to test behaviour */ diff --git a/ext/standard/tests/math/acos_basic.phpt b/ext/standard/tests/math/acos_basic.phpt index 4f7962ce5e..4bf4f94609 100644 --- a/ext/standard/tests/math/acos_basic.phpt +++ b/ext/standard/tests/math/acos_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float acos(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/acos_variation.phpt b/ext/standard/tests/math/acos_variation.phpt index 3c04fd181d..88b035d0bf 100644 --- a/ext/standard/tests/math/acos_variation.phpt +++ b/ext/standard/tests/math/acos_variation.phpt @@ -5,7 +5,6 @@ precision=10 --FILE-- <?php /* - * proto float acos(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/acosh_basic.phpt b/ext/standard/tests/math/acosh_basic.phpt index aed150cba8..06d9ba8821 100644 --- a/ext/standard/tests/math/acosh_basic.phpt +++ b/ext/standard/tests/math/acosh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float acosh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/acosh_variation.phpt b/ext/standard/tests/math/acosh_variation.phpt index 923268127b..345a5f19cd 100644 --- a/ext/standard/tests/math/acosh_variation.phpt +++ b/ext/standard/tests/math/acosh_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float acosh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/asin_basic.phpt b/ext/standard/tests/math/asin_basic.phpt index 419a9ef343..2afbfcb772 100644 --- a/ext/standard/tests/math/asin_basic.phpt +++ b/ext/standard/tests/math/asin_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float asin(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/asin_variation.phpt b/ext/standard/tests/math/asin_variation.phpt index c59e43323e..f58e303064 100644 --- a/ext/standard/tests/math/asin_variation.phpt +++ b/ext/standard/tests/math/asin_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float asin(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/asinh_basic.phpt b/ext/standard/tests/math/asinh_basic.phpt index 16380da128..fb024b46ac 100644 --- a/ext/standard/tests/math/asinh_basic.phpt +++ b/ext/standard/tests/math/asinh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float asinh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/asinh_variation.phpt b/ext/standard/tests/math/asinh_variation.phpt index 0446681883..a2762233e7 100644 --- a/ext/standard/tests/math/asinh_variation.phpt +++ b/ext/standard/tests/math/asinh_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float asinh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/atan_basic.phpt b/ext/standard/tests/math/atan_basic.phpt index 9f41e58234..45e63e9dbd 100644 --- a/ext/standard/tests/math/atan_basic.phpt +++ b/ext/standard/tests/math/atan_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float atan(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/atan_variation.phpt b/ext/standard/tests/math/atan_variation.phpt index 619f432481..35b0390b5a 100644 --- a/ext/standard/tests/math/atan_variation.phpt +++ b/ext/standard/tests/math/atan_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float atan(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/atanh_basic.phpt b/ext/standard/tests/math/atanh_basic.phpt index 0a7040360b..7bb253df8c 100644 --- a/ext/standard/tests/math/atanh_basic.phpt +++ b/ext/standard/tests/math/atanh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float atanh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/atanh_variation.phpt b/ext/standard/tests/math/atanh_variation.phpt index 610aaab3fb..a03201825e 100644 --- a/ext/standard/tests/math/atanh_variation.phpt +++ b/ext/standard/tests/math/atanh_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float atanh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/base_convert_error.phpt b/ext/standard/tests/math/base_convert_error.phpt index 2f20aeeef5..e6e9d5b49e 100644 --- a/ext/standard/tests/math/base_convert_error.phpt +++ b/ext/standard/tests/math/base_convert_error.phpt @@ -2,11 +2,6 @@ Test base_convert() function : error conditions - incorrect input --FILE-- <?php -/* Prototype : string base_convert ( string $number , int $frombase , int $tobase ) - * Description: Convert a number between arbitrary bases. - * Source code: ext/standard/math.c - */ - echo "*** Testing base_convert() : error conditions ***\n"; // get a class diff --git a/ext/standard/tests/math/base_convert_variation1.phpt b/ext/standard/tests/math/base_convert_variation1.phpt index b0dba2b49b..0f08b2d8ab 100644 --- a/ext/standard/tests/math/base_convert_variation1.phpt +++ b/ext/standard/tests/math/base_convert_variation1.phpt @@ -2,11 +2,6 @@ Test base_convert() function : usage variations - different data types as $number argument --FILE-- <?php -/* Prototype : string base_convert ( string $number , int $frombase , int $tobase ) - * Description: Convert a number between arbitrary bases. - * Source code: ext/standard/math.c - */ - echo "*** Testing base_convert() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/math/bindec_variation1.phpt b/ext/standard/tests/math/bindec_variation1.phpt index d219f31302..5c6b2e1b1e 100644 --- a/ext/standard/tests/math/bindec_variation1.phpt +++ b/ext/standard/tests/math/bindec_variation1.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : number bindec ( string $binary_string ) - * Description: Returns the decimal equivalent of the binary number represented by the binary_string argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing bindec() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/bindec_variation1_64bit.phpt b/ext/standard/tests/math/bindec_variation1_64bit.phpt index 695c3f36ba..e83edbe59c 100644 --- a/ext/standard/tests/math/bindec_variation1_64bit.phpt +++ b/ext/standard/tests/math/bindec_variation1_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : number bindec ( string $binary_string ) - * Description: Returns the decimal equivalent of the binary number represented by the binary_string argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing bindec() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/ceil_basic.phpt b/ext/standard/tests/math/ceil_basic.phpt index 54b91836d1..a8b3ede2a2 100644 --- a/ext/standard/tests/math/ceil_basic.phpt +++ b/ext/standard/tests/math/ceil_basic.phpt @@ -4,11 +4,6 @@ Test ceil() - basic function test for ceil() precision=14 --FILE-- <?php -/* Prototype : float ceil ( float $value ) - * Description: Round fractions up. - * Source code: ext/standard/math.c - */ - echo "*** Testing ceil() : basic functionality ***\n"; $values = array(0, -0, diff --git a/ext/standard/tests/math/ceil_variation1.phpt b/ext/standard/tests/math/ceil_variation1.phpt index 2a494ebcdf..a21ffe609d 100644 --- a/ext/standard/tests/math/ceil_variation1.phpt +++ b/ext/standard/tests/math/ceil_variation1.phpt @@ -4,11 +4,6 @@ Test ceil() function : usage variations - different data types as $value arg precision=14 --FILE-- <?php -/* Prototype : float ceil ( float $value ) - * Description: Round fractions up. - * Source code: ext/standard/math.c - */ - echo "*** Testing ceil() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/cos_basic.phpt b/ext/standard/tests/math/cos_basic.phpt index 5e471ae07f..8763949bb4 100644 --- a/ext/standard/tests/math/cos_basic.phpt +++ b/ext/standard/tests/math/cos_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float cos(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/cos_variation.phpt b/ext/standard/tests/math/cos_variation.phpt index 1957e1332a..abe2f8c232 100644 --- a/ext/standard/tests/math/cos_variation.phpt +++ b/ext/standard/tests/math/cos_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float cos(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/cosh_basic.phpt b/ext/standard/tests/math/cosh_basic.phpt index 620bbbebcd..2a353b3715 100644 --- a/ext/standard/tests/math/cosh_basic.phpt +++ b/ext/standard/tests/math/cosh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float cosh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/cosh_variation.phpt b/ext/standard/tests/math/cosh_variation.phpt index bac44f262b..6b0bf0a0c8 100644 --- a/ext/standard/tests/math/cosh_variation.phpt +++ b/ext/standard/tests/math/cosh_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float cosh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/decbin_variation1.phpt b/ext/standard/tests/math/decbin_variation1.phpt index 581e88b283..76a9849353 100644 --- a/ext/standard/tests/math/decbin_variation1.phpt +++ b/ext/standard/tests/math/decbin_variation1.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string decbin ( int $number ) - * Description: Decimal to binary. - * Source code: ext/standard/math.c - */ - echo "*** Testing decbin() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/decbin_variation1_64bit.phpt b/ext/standard/tests/math/decbin_variation1_64bit.phpt index 91f79aaecb..cfaa600502 100644 --- a/ext/standard/tests/math/decbin_variation1_64bit.phpt +++ b/ext/standard/tests/math/decbin_variation1_64bit.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string decbin ( int $number ) - * Description: Decimal to binary. - * Source code: ext/standard/math.c - */ - echo "*** Testing decbin() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/dechex_variation1.phpt b/ext/standard/tests/math/dechex_variation1.phpt index fd1ea6def1..bd4ed35e3e 100644 --- a/ext/standard/tests/math/dechex_variation1.phpt +++ b/ext/standard/tests/math/dechex_variation1.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string dechex ( int $number ) - * Description: Returns a string containing a hexadecimal representation of the given number argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing dechex() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/dechex_variation1_64bit.phpt b/ext/standard/tests/math/dechex_variation1_64bit.phpt index a566001d62..ac815ea1dd 100644 --- a/ext/standard/tests/math/dechex_variation1_64bit.phpt +++ b/ext/standard/tests/math/dechex_variation1_64bit.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string dechex ( int $number ) - * Description: Returns a string containing a hexadecimal representation of the given number argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing dechex() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/decoct_variation1.phpt b/ext/standard/tests/math/decoct_variation1.phpt index 174fddf470..94d385de01 100644 --- a/ext/standard/tests/math/decoct_variation1.phpt +++ b/ext/standard/tests/math/decoct_variation1.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string decoct ( int $number ) - * Description: Returns a string containing an octal representation of the given number argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing decoct() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/decoct_variation1_64bit.phpt b/ext/standard/tests/math/decoct_variation1_64bit.phpt index 2ff2c4c48e..7c1a8f2145 100644 --- a/ext/standard/tests/math/decoct_variation1_64bit.phpt +++ b/ext/standard/tests/math/decoct_variation1_64bit.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string decoct ( int $number ) - * Description: Returns a string containing an octal representation of the given number argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing decoct() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/deg2rad_basic.phpt b/ext/standard/tests/math/deg2rad_basic.phpt index ea1eba6ddf..0049f6d4aa 100644 --- a/ext/standard/tests/math/deg2rad_basic.phpt +++ b/ext/standard/tests/math/deg2rad_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float deg2rad(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/deg2rad_variation.phpt b/ext/standard/tests/math/deg2rad_variation.phpt index 8a9874f847..a9b9516efc 100644 --- a/ext/standard/tests/math/deg2rad_variation.phpt +++ b/ext/standard/tests/math/deg2rad_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float deg2rad(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/expm1_basic.phpt b/ext/standard/tests/math/expm1_basic.phpt index f5faefd8bb..99a46e5599 100644 --- a/ext/standard/tests/math/expm1_basic.phpt +++ b/ext/standard/tests/math/expm1_basic.phpt @@ -4,12 +4,6 @@ Test expm1() - basic function test for expm1() serialize_precision=14 --FILE-- <?php -/* Prototype : float expm1 ( float $arg ) - * Description: Returns exp(number) - 1, computed in a way that is accurate even - * when the value of number is close to zero. - * Source code: ext/standard/math.c - */ - echo "*** Testing expm1() : basic functionality ***\n"; $values = array(10, 10.3, diff --git a/ext/standard/tests/math/floor_basic.phpt b/ext/standard/tests/math/floor_basic.phpt index 84153af08e..3e4650aaa6 100644 --- a/ext/standard/tests/math/floor_basic.phpt +++ b/ext/standard/tests/math/floor_basic.phpt @@ -4,11 +4,6 @@ Test floor() - basic function test for floor() precision=14 --FILE-- <?php -/* Prototype : float floor ( float $value ) - * Description: Round fractions down. - * Source code: ext/standard/math.c - */ - echo "*** Testing floor() : basic functionality ***\n"; $values = array(0, -0, diff --git a/ext/standard/tests/math/floor_variation1.phpt b/ext/standard/tests/math/floor_variation1.phpt index 1679d23989..95228b4418 100644 --- a/ext/standard/tests/math/floor_variation1.phpt +++ b/ext/standard/tests/math/floor_variation1.phpt @@ -4,11 +4,6 @@ Test floor() function : usage variations - different data types as $value arg precision=14 --FILE-- <?php -/* Prototype : float floor ( float $value ) - * Description: Round fractions down. - * Source code: ext/standard/math.c - */ - echo "*** Testing floor() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/hexdec_variation1.phpt b/ext/standard/tests/math/hexdec_variation1.phpt index 8b62d9458e..703d30f086 100644 --- a/ext/standard/tests/math/hexdec_variation1.phpt +++ b/ext/standard/tests/math/hexdec_variation1.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : number hexdec ( string $hex_string ) - * Description: Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing hexdec() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/hexdec_variation1_64bit.phpt b/ext/standard/tests/math/hexdec_variation1_64bit.phpt index 86ed97987b..9c76afec0b 100644 --- a/ext/standard/tests/math/hexdec_variation1_64bit.phpt +++ b/ext/standard/tests/math/hexdec_variation1_64bit.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : number hexdec ( string $hex_string ) - * Description: Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing hexdec() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt index cc2e73b3cd..78bed90921 100644 --- a/ext/standard/tests/math/hypot_basic.phpt +++ b/ext/standard/tests/math/hypot_basic.phpt @@ -5,11 +5,6 @@ precision=14 --FILE-- <?php -/* Prototype : float hypot ( float $x , float $y ) - * Description: Calculate the length of the hypotenuse of a right-angle triangle. - * Source code: ext/standard/math.c - */ - echo "*** Testing hypot() : basic functionality ***\n"; $valuesy = array(23, diff --git a/ext/standard/tests/math/log10_basic.phpt b/ext/standard/tests/math/log10_basic.phpt index 0997d3db4b..84400ae4c4 100644 --- a/ext/standard/tests/math/log10_basic.phpt +++ b/ext/standard/tests/math/log10_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float log10(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/log10_variation.phpt b/ext/standard/tests/math/log10_variation.phpt index e6af00ec2d..0795241471 100644 --- a/ext/standard/tests/math/log10_variation.phpt +++ b/ext/standard/tests/math/log10_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float log10(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/log1p_basic.phpt b/ext/standard/tests/math/log1p_basic.phpt index 9dce971f78..c7ffe2ec18 100644 --- a/ext/standard/tests/math/log1p_basic.phpt +++ b/ext/standard/tests/math/log1p_basic.phpt @@ -4,12 +4,6 @@ Test log1p() - basic function test log1p() precision=14 --FILE-- <?php -/* Prototype : float log1p ( float $arg ) - * Description: Returns log(1 + number), computed in a way that is accurate even - * when the value of number is close to zero - * Source code: ext/standard/math.c - */ - echo "*** Testing log1p() : basic functionality ***\n"; $values = array(23, diff --git a/ext/standard/tests/math/octdec_variation1.phpt b/ext/standard/tests/math/octdec_variation1.phpt index 1c4ec0ec86..6ee2b6f91c 100644 --- a/ext/standard/tests/math/octdec_variation1.phpt +++ b/ext/standard/tests/math/octdec_variation1.phpt @@ -4,11 +4,6 @@ Test octdec() function : usage variations - different data types as $octal_strin precision=14 --FILE-- <?php -/* Prototype : number octdec ( string $octal_string ) - * Description: Returns the decimal equivalent of the octal number represented by the octal_string argument. - * Source code: ext/standard/math.c - */ - echo "*** Testing octdec() : usage variations ***\n"; //get an unset variable $unset_var = 10; diff --git a/ext/standard/tests/math/pow_variation1.phpt b/ext/standard/tests/math/pow_variation1.phpt index f7e5a5c9e2..d141ddd787 100644 --- a/ext/standard/tests/math/pow_variation1.phpt +++ b/ext/standard/tests/math/pow_variation1.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : number pow ( number $base , number $exp ) - * Description: Exponential expression. - * Source code: ext/standard/math.c - */ - echo "*** Testing pow() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/math/pow_variation1_64bit.phpt b/ext/standard/tests/math/pow_variation1_64bit.phpt index 1743cf206a..64ef1e20f2 100644 --- a/ext/standard/tests/math/pow_variation1_64bit.phpt +++ b/ext/standard/tests/math/pow_variation1_64bit.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : number pow ( number $base , number $exp ) - * Description: Exponential expression. - * Source code: ext/standard/math.c - */ - echo "*** Testing pow() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/math/pow_variation2.phpt b/ext/standard/tests/math/pow_variation2.phpt index e120abebe4..c5fc862de4 100644 --- a/ext/standard/tests/math/pow_variation2.phpt +++ b/ext/standard/tests/math/pow_variation2.phpt @@ -4,11 +4,6 @@ Test pow() function : usage variations - different data types as $exp argument serialize_precision = 14 --FILE-- <?php -/* Prototype : number pow ( number $base , number $exp ) - * Description: Exponential expression. - * Source code: ext/standard/math.c - */ - echo "*** Testing pow() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/math/rad2deg_basic.phpt b/ext/standard/tests/math/rad2deg_basic.phpt index df5f837422..0c358ad0e4 100644 --- a/ext/standard/tests/math/rad2deg_basic.phpt +++ b/ext/standard/tests/math/rad2deg_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float rad2deg(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/rad2deg_variation.phpt b/ext/standard/tests/math/rad2deg_variation.phpt index aa2eb325b6..94a9339662 100644 --- a/ext/standard/tests/math/rad2deg_variation.phpt +++ b/ext/standard/tests/math/rad2deg_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float rad2deg(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/round_basic.phpt b/ext/standard/tests/math/round_basic.phpt index 70d5ae4806..8f2ded09f3 100644 --- a/ext/standard/tests/math/round_basic.phpt +++ b/ext/standard/tests/math/round_basic.phpt @@ -4,12 +4,6 @@ Test round() - basic function test for round() precision=14 --FILE-- <?php -/* Prototype : float round ( float $val [, int $precision ] ) - * Description: Returns the rounded value of val to specified precision (number of digits - * after the decimal point) - * Source code: ext/standard/math.c - */ - echo "*** Testing round() : basic functionality ***\n"; $values = array(123456789, diff --git a/ext/standard/tests/math/round_variation1.phpt b/ext/standard/tests/math/round_variation1.phpt index 43ad4deae7..ab8eecbe84 100644 --- a/ext/standard/tests/math/round_variation1.phpt +++ b/ext/standard/tests/math/round_variation1.phpt @@ -4,12 +4,6 @@ Test round() function : usage variations - different data types as $val argument precision=14 --FILE-- <?php -/* Prototype : float round ( float $val [, int $precision ] ) - * Description: Returns the rounded value of val to specified precision (number of digits - * after the decimal point) - * Source code: ext/standard/math.c - */ - echo "*** Testing round() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/math/sin_basic.phpt b/ext/standard/tests/math/sin_basic.phpt index 7c5b787a7a..480d47705e 100644 --- a/ext/standard/tests/math/sin_basic.phpt +++ b/ext/standard/tests/math/sin_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float sin(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/sin_variation.phpt b/ext/standard/tests/math/sin_variation.phpt index 8d4b1b8670..0695c5c05b 100644 --- a/ext/standard/tests/math/sin_variation.phpt +++ b/ext/standard/tests/math/sin_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float sin(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/sinh_basic.phpt b/ext/standard/tests/math/sinh_basic.phpt index 0cdd8f1179..8f23a8bd51 100644 --- a/ext/standard/tests/math/sinh_basic.phpt +++ b/ext/standard/tests/math/sinh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float sinh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/sinh_variation.phpt b/ext/standard/tests/math/sinh_variation.phpt index eb6a0f1cbd..4d5dbd1c41 100644 --- a/ext/standard/tests/math/sinh_variation.phpt +++ b/ext/standard/tests/math/sinh_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float sinh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/sqrt_basic.phpt b/ext/standard/tests/math/sqrt_basic.phpt index ef665a0216..385b19d7e3 100644 --- a/ext/standard/tests/math/sqrt_basic.phpt +++ b/ext/standard/tests/math/sqrt_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float sqrt(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/sqrt_variation.phpt b/ext/standard/tests/math/sqrt_variation.phpt index 6166de905c..0d7941aa3b 100644 --- a/ext/standard/tests/math/sqrt_variation.phpt +++ b/ext/standard/tests/math/sqrt_variation.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float sqrt(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/srand_basic.phpt b/ext/standard/tests/math/srand_basic.phpt index 663653e485..d3a5447553 100644 --- a/ext/standard/tests/math/srand_basic.phpt +++ b/ext/standard/tests/math/srand_basic.phpt @@ -2,11 +2,6 @@ Test srand() - basic function test for srand() --FILE-- <?php -/* Prototype : void srand ([ int $seed ] ) - * Description: Seed the random number generator. - * Source code: ext/standard/rand.c - */ - echo "*** Testing srand() : basic functionality ***\n"; // Should return NULL if given anything that it can convert to long diff --git a/ext/standard/tests/math/tan_basic.phpt b/ext/standard/tests/math/tan_basic.phpt index 15e7848c48..b4302ea70a 100644 --- a/ext/standard/tests/math/tan_basic.phpt +++ b/ext/standard/tests/math/tan_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float tan(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/tan_variation.phpt b/ext/standard/tests/math/tan_variation.phpt index 6aa57e75ff..58b9cb6b15 100644 --- a/ext/standard/tests/math/tan_variation.phpt +++ b/ext/standard/tests/math/tan_variation.phpt @@ -5,7 +5,6 @@ serialize_precision = 10 --FILE-- <?php /* - * proto float tan(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/math/tanh_basic.phpt b/ext/standard/tests/math/tanh_basic.phpt index d8288843a1..f78104035b 100644 --- a/ext/standard/tests/math/tanh_basic.phpt +++ b/ext/standard/tests/math/tanh_basic.phpt @@ -5,7 +5,6 @@ precision = 14 --FILE-- <?php /* - * proto float tanh(float number) * Function is implemented in ext/standard/math.c */ $file_path = __DIR__; diff --git a/ext/standard/tests/math/tanh_variation.phpt b/ext/standard/tests/math/tanh_variation.phpt index 5ea8d8a98f..035f4b15c7 100644 --- a/ext/standard/tests/math/tanh_variation.phpt +++ b/ext/standard/tests/math/tanh_variation.phpt @@ -5,7 +5,6 @@ precision = 10 --FILE-- <?php /* - * proto float tanh(float number) * Function is implemented in ext/standard/math.c */ diff --git a/ext/standard/tests/misc/get_browser_basic.phpt b/ext/standard/tests/misc/get_browser_basic.phpt index 85ac8e3493..353c0e53fd 100644 --- a/ext/standard/tests/misc/get_browser_basic.phpt +++ b/ext/standard/tests/misc/get_browser_basic.phpt @@ -4,15 +4,6 @@ Test get_browser() function : basic functionality browscap={PWD}/browscap.ini --FILE-- <?php -/* Prototype : mixed get_browser([string browser_name [, bool return_array]]) - * Description: Get information about the capabilities of a browser. - * If browser_name is omitted or null, HTTP_USER_AGENT is used. - * Returns an object by default; if return_array is true, returns an array. - * - * Source code: ext/standard/browscap.c - * Alias to functions: - */ - $browsers = include __DIR__ . DIRECTORY_SEPARATOR . 'browsernames.inc'; echo "*** Testing get_browser() : basic functionality ***\n"; diff --git a/ext/standard/tests/misc/get_browser_error.phpt b/ext/standard/tests/misc/get_browser_error.phpt index f1930b71d8..f1d645b026 100644 --- a/ext/standard/tests/misc/get_browser_error.phpt +++ b/ext/standard/tests/misc/get_browser_error.phpt @@ -4,15 +4,6 @@ Test get_browser() function : error functionality browscap={PWD}/browscap.ini --FILE-- <?php -/* Prototype : mixed get_browser([string browser_name [, bool return_array]]) - * Description: Get information about the capabilities of a browser. - * If browser_name is omitted or null, HTTP_USER_AGENT is used. - * Returns an object by default; if return_array is true, returns an array. - * - * Source code: ext/standard/browscap.c - * Alias to functions: - */ - $browsers = include __DIR__ . DIRECTORY_SEPARATOR . 'browsernames.inc'; echo "*** Testing get_browser() : error functionality ***\n"; diff --git a/ext/standard/tests/misc/get_browser_variation1.phpt b/ext/standard/tests/misc/get_browser_variation1.phpt index 58c3a24267..97c3240d83 100644 --- a/ext/standard/tests/misc/get_browser_variation1.phpt +++ b/ext/standard/tests/misc/get_browser_variation1.phpt @@ -4,15 +4,6 @@ Test get_browser() function : variation functionality: extra browser names browscap={PWD}/browscap.ini --FILE-- <?php -/* Prototype : mixed get_browser([string browser_name [, bool return_array]]) - * Description: Get information about the capabilities of a browser. - * If browser_name is omitted or null, HTTP_USER_AGENT is used. - * Returns an object by default; if return_array is true, returns an array. - * - * Source code: ext/standard/browscap.c - * Alias to functions: - */ - $browsers = include __DIR__ . DIRECTORY_SEPARATOR . 'browsernames.inc'; echo "*** Testing get_browser() : variation functionality: extra browser names ***\n"; diff --git a/ext/standard/tests/network/closelog_basic.phpt b/ext/standard/tests/network/closelog_basic.phpt index 8031da37a5..d52e55ae3e 100644 --- a/ext/standard/tests/network/closelog_basic.phpt +++ b/ext/standard/tests/network/closelog_basic.phpt @@ -2,12 +2,6 @@ Test closelog() function : basic functionality --FILE-- <?php -/* Prototype : bool closelog(void) - * Description: Close connection to system logger - * Source code: ext/standard/syslog.c - * Alias to functions: - */ - echo "*** Testing closelog() : basic functionality ***\n"; // Zero arguments diff --git a/ext/standard/tests/network/fsockopen_basic.phpt b/ext/standard/tests/network/fsockopen_basic.phpt index 4795008b5b..1ee1f621d1 100644 --- a/ext/standard/tests/network/fsockopen_basic.phpt +++ b/ext/standard/tests/network/fsockopen_basic.phpt @@ -2,12 +2,6 @@ Test fsockopen() function : basic functionality --FILE-- <?php -/* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]]) - * Description: Open Internet or Unix domain socket connection - * Source code: ext/standard/fsock.c - * Alias to functions: - */ - echo "*** Testing fsockopen() : basic functionality ***\n"; echo "Open a server socket\n"; diff --git a/ext/standard/tests/network/fsockopen_error.phpt b/ext/standard/tests/network/fsockopen_error.phpt index d5b6944192..0474d21d8e 100644 --- a/ext/standard/tests/network/fsockopen_error.phpt +++ b/ext/standard/tests/network/fsockopen_error.phpt @@ -2,13 +2,6 @@ Test fsockopen() function : error conditions --FILE-- <?php -/* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]]) - * Description: Open Internet or Unix domain socket connection - * Source code: ext/standard/fsock.c - * Alias to functions: - */ - - echo "*** Testing fsockopen() : basic error conditions ***\n"; echo "\n-- Attempting to connect to a non-existent socket --\n"; diff --git a/ext/standard/tests/network/gethostbyaddr_basic1.phpt b/ext/standard/tests/network/gethostbyaddr_basic1.phpt index 27605e7d2a..d0dc7a6dfa 100644 --- a/ext/standard/tests/network/gethostbyaddr_basic1.phpt +++ b/ext/standard/tests/network/gethostbyaddr_basic1.phpt @@ -2,11 +2,6 @@ Test gethostbyaddr() function : basic functionality --FILE-- <?php -/* Prototype : string gethostbyaddr ( string $ip_address ) - * Description: Get the Internet host name corresponding to a given IP address - * Source code: ext/standard/dns.c -*/ - echo "*** Testing gethostbyaddr() : basic functionality ***\n"; echo gethostbyaddr("127.0.0.1")."\n"; diff --git a/ext/standard/tests/network/gethostbyaddr_error.phpt b/ext/standard/tests/network/gethostbyaddr_error.phpt index a33a71185f..35b3f24558 100644 --- a/ext/standard/tests/network/gethostbyaddr_error.phpt +++ b/ext/standard/tests/network/gethostbyaddr_error.phpt @@ -2,13 +2,6 @@ Test gethostbyaddr() function : error conditions --FILE-- <?php -/* Prototype : proto string gethostbyaddr(string ip_address) - * Description: Get the Internet host name corresponding to a given IP address - * Source code: ext/standard/dns.c - * Alias to functions: - */ - - echo "Testing gethostbyaddr : error conditions\n"; echo "\n-- Testing gethostbyaddr function with invalid addresses --\n"; diff --git a/ext/standard/tests/network/gethostbyname_basic003.phpt b/ext/standard/tests/network/gethostbyname_basic003.phpt index d7df11ec76..eb7f5c33c5 100644 --- a/ext/standard/tests/network/gethostbyname_basic003.phpt +++ b/ext/standard/tests/network/gethostbyname_basic003.phpt @@ -2,11 +2,6 @@ Test gethostbyname() function : basic functionality --FILE-- <?php -/* Prototype : string gethostbyname ( string $hostname ) - * Description: Get the IPv4 address corresponding to a given Internet host name - * Source code: ext/standard/dns.c -*/ - echo "*** Testing gethostbyname() : basic functionality ***\n"; echo gethostbyname("localhost")."\n"; diff --git a/ext/standard/tests/network/gethostbynamel_basic1.phpt b/ext/standard/tests/network/gethostbynamel_basic1.phpt index 85e2ff473d..ca9d55d6c6 100644 --- a/ext/standard/tests/network/gethostbynamel_basic1.phpt +++ b/ext/standard/tests/network/gethostbynamel_basic1.phpt @@ -2,11 +2,6 @@ Test gethostbynamel() function : basic functionality --FILE-- <?php -/* Prototype : array gethostbynamel ( string $hostname ) - * Description: Get a list of IPv4 addresses corresponding to a given Internet host name - * Source code: ext/standard/dns.c -*/ - echo "*** Testing gethostbynamel() : basic functionality ***\n"; var_dump(gethostbynamel("localhost")); ?> diff --git a/ext/standard/tests/network/ip2long_variation2.phpt b/ext/standard/tests/network/ip2long_variation2.phpt index 56c74bb37e..bbcd4ea876 100644 --- a/ext/standard/tests/network/ip2long_variation2.phpt +++ b/ext/standard/tests/network/ip2long_variation2.phpt @@ -5,12 +5,6 @@ Test ip2long() function : usage variation 2, 32 bit <?php if (strtolower(substr(PHP_OS, 0, 3)) == 'aix') {die('skip not for AIX');} ?> --FILE-- <?php -/* Prototype : int ip2long(string ip_address) - * Description: Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - $ips = array( "1.1.011.011", "127.0.0.1", diff --git a/ext/standard/tests/network/ip2long_variation2_x64.phpt b/ext/standard/tests/network/ip2long_variation2_x64.phpt index 3ee59c9efb..95d45213f0 100644 --- a/ext/standard/tests/network/ip2long_variation2_x64.phpt +++ b/ext/standard/tests/network/ip2long_variation2_x64.phpt @@ -12,12 +12,6 @@ if(PHP_INT_SIZE != 8) {die('skip 64 bit only');} ?> --FILE-- <?php -/* Prototype : int ip2long(string ip_address) - * Description: Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address - * Source code: ext/standard/basic_functions.c - * Alias to functions: - */ - $ips = array( "1.1.011.011", "127.0.0.1", diff --git a/ext/standard/tests/network/syslog_basic.phpt b/ext/standard/tests/network/syslog_basic.phpt index 196b167f8b..128a73cbb8 100644 --- a/ext/standard/tests/network/syslog_basic.phpt +++ b/ext/standard/tests/network/syslog_basic.phpt @@ -2,12 +2,6 @@ Test syslog() function : basic functionality --FILE-- <?php -/* Prototype : bool syslog(int priority, string message) - * Description: Generate a system log message - * Source code: ext/standard/syslog.c - * Alias to functions: - */ - echo "*** Testing syslog() : basic functionality ***\n"; diff --git a/ext/standard/tests/serialize/serialization_arrays_001.phpt b/ext/standard/tests/serialize/serialization_arrays_001.phpt index 93c54787d0..c1fc093237 100644 --- a/ext/standard/tests/serialize/serialization_arrays_001.phpt +++ b/ext/standard/tests/serialize/serialization_arrays_001.phpt @@ -4,17 +4,6 @@ Test serialize() & unserialize() functions: arrays (circular references) serialize_precision=100 --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "\n--- Testing Circular reference of an array ---\n"; echo "-- Normal array --\n"; diff --git a/ext/standard/tests/serialize/serialization_arrays_002.phpt b/ext/standard/tests/serialize/serialization_arrays_002.phpt index 67ad5b5daa..beac5761f1 100644 --- a/ext/standard/tests/serialize/serialization_arrays_002.phpt +++ b/ext/standard/tests/serialize/serialization_arrays_002.phpt @@ -2,17 +2,6 @@ serialization: arrays with references amongst elements --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$a) { var_dump($a); $ser = serialize($a); diff --git a/ext/standard/tests/serialize/serialization_arrays_003.phpt b/ext/standard/tests/serialize/serialization_arrays_003.phpt index 8444f812a5..080ed54b32 100644 --- a/ext/standard/tests/serialize/serialization_arrays_003.phpt +++ b/ext/standard/tests/serialize/serialization_arrays_003.phpt @@ -2,17 +2,6 @@ serialization: arrays with references to an external variable --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$a) { var_dump($a); $ser = serialize($a); diff --git a/ext/standard/tests/serialize/serialization_arrays_004.phpt b/ext/standard/tests/serialize/serialization_arrays_004.phpt index b3d630ecf4..e3adc8a803 100644 --- a/ext/standard/tests/serialize/serialization_arrays_004.phpt +++ b/ext/standard/tests/serialize/serialization_arrays_004.phpt @@ -2,17 +2,6 @@ serialization: arrays with references to the containing array --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$a) { var_dump($a); $ser = serialize($a); diff --git a/ext/standard/tests/serialize/serialization_arrays_005.phpt b/ext/standard/tests/serialize/serialization_arrays_005.phpt index 93e3ae5135..7bd87138b2 100644 --- a/ext/standard/tests/serialize/serialization_arrays_005.phpt +++ b/ext/standard/tests/serialize/serialization_arrays_005.phpt @@ -2,17 +2,6 @@ serialization: arrays with references, nested --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$a) { var_dump($a); $ser = serialize($a); diff --git a/ext/standard/tests/serialize/serialization_error_002.phpt b/ext/standard/tests/serialize/serialization_error_002.phpt index 70f35e4f3b..4587235548 100644 --- a/ext/standard/tests/serialize/serialization_error_002.phpt +++ b/ext/standard/tests/serialize/serialization_error_002.phpt @@ -2,17 +2,6 @@ Test unserialize(): error is indistinguishable from deserialized boolean --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "*** Testing unserialize() error/boolean distinction ***\n"; $garbage = "obvious non-serialized data"; @@ -43,7 +32,7 @@ echo "Done"; *** Testing unserialize() error/boolean distinction *** string(4) "b:0;" -Notice: unserialize(): Error at offset 0 of 27 bytes in %s%eserialization_error_002.php on line 20 +Notice: unserialize(): Error at offset 0 of 27 bytes in %s on line %d bool(false) bool(false) unserialize error and deserialized false are identical? 1 diff --git a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt Binary files differindex ed9af46097..50a96b2f7b 100644 --- a/ext/standard/tests/serialize/serialization_miscTypes_001.phpt +++ b/ext/standard/tests/serialize/serialization_miscTypes_001.phpt diff --git a/ext/standard/tests/serialize/serialization_objects_001.phpt b/ext/standard/tests/serialize/serialization_objects_001.phpt Binary files differindex 7142a29049..d1f26604fc 100644 --- a/ext/standard/tests/serialize/serialization_objects_001.phpt +++ b/ext/standard/tests/serialize/serialization_objects_001.phpt diff --git a/ext/standard/tests/serialize/serialization_objects_002.phpt b/ext/standard/tests/serialize/serialization_objects_002.phpt Binary files differindex 369087b3ce..ab77ece334 100644 --- a/ext/standard/tests/serialize/serialization_objects_002.phpt +++ b/ext/standard/tests/serialize/serialization_objects_002.phpt diff --git a/ext/standard/tests/serialize/serialization_objects_003.phpt b/ext/standard/tests/serialize/serialization_objects_003.phpt index a13af74e22..e4b068b143 100644 --- a/ext/standard/tests/serialize/serialization_objects_003.phpt +++ b/ext/standard/tests/serialize/serialization_objects_003.phpt @@ -4,17 +4,6 @@ Test serialize() & unserialize() functions: objects (abstract classes) serialize_precision=100 --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "\n--- Testing Abstract Class ---\n"; // abstract class abstract class Name diff --git a/ext/standard/tests/serialize/serialization_objects_004.phpt b/ext/standard/tests/serialize/serialization_objects_004.phpt index df94923540..b2c7cd3dd8 100644 --- a/ext/standard/tests/serialize/serialization_objects_004.phpt +++ b/ext/standard/tests/serialize/serialization_objects_004.phpt @@ -2,17 +2,6 @@ Test serialize() & unserialize() functions: objects - ensure that COW references of objects are not serialized separately (unlike other types). --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - $x = new stdClass; $ref = &$x; var_dump(serialize(array($x, $x))); diff --git a/ext/standard/tests/serialize/serialization_objects_005.phpt b/ext/standard/tests/serialize/serialization_objects_005.phpt index 48325f4fba..41cc463c8e 100644 --- a/ext/standard/tests/serialize/serialization_objects_005.phpt +++ b/ext/standard/tests/serialize/serialization_objects_005.phpt @@ -2,17 +2,6 @@ Check behaviour of incomplete class --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - $serialized = 'O:1:"C":1:{s:1:"p";i:1;}'; $incomplete = unserialize($serialized); diff --git a/ext/standard/tests/serialize/serialization_objects_006.phpt b/ext/standard/tests/serialize/serialization_objects_006.phpt index 93fb726b4c..a077ba4ef6 100644 --- a/ext/standard/tests/serialize/serialization_objects_006.phpt +++ b/ext/standard/tests/serialize/serialization_objects_006.phpt @@ -2,17 +2,6 @@ Behaviour of incomplete class is preserved even when it was not created by unserialize(). --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - $a = new __PHP_Incomplete_Class; var_dump($a); var_dump($a->p); diff --git a/ext/standard/tests/serialize/serialization_objects_007.phpt b/ext/standard/tests/serialize/serialization_objects_007.phpt index 5082b7ff01..a971db16be 100644 --- a/ext/standard/tests/serialize/serialization_objects_007.phpt +++ b/ext/standard/tests/serialize/serialization_objects_007.phpt @@ -2,17 +2,6 @@ Ensure __autoload is called twice if unserialize_callback_func is defined. --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - spl_autoload_register(function ($name) { echo "in autoload($name)\n"; }); @@ -34,7 +23,7 @@ in autoload(FOO) in check(FOO) in autoload(FOO) -Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line 23 +Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line %d object(__PHP_Incomplete_Class)#%d (1) { ["__PHP_Incomplete_Class_Name"]=> string(3) "FOO" diff --git a/ext/standard/tests/serialize/serialization_objects_008.phpt b/ext/standard/tests/serialize/serialization_objects_008.phpt index 675911f3e1..3670ddde5b 100644 --- a/ext/standard/tests/serialize/serialization_objects_008.phpt +++ b/ext/standard/tests/serialize/serialization_objects_008.phpt @@ -2,24 +2,13 @@ Bad unserialize_callback_func --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - ini_set('unserialize_callback_func','Nonexistent'); $o = unserialize('O:3:"FOO":0:{}'); var_dump($o); echo "Done"; ?> --EXPECTF-- -Warning: unserialize(): defined (Nonexistent) but not found in %s on line 14 +Warning: unserialize(): defined (Nonexistent) but not found in %s on line %d object(__PHP_Incomplete_Class)#%d (1) { ["__PHP_Incomplete_Class_Name"]=> string(3) "FOO" diff --git a/ext/standard/tests/serialize/serialization_objects_009.phpt b/ext/standard/tests/serialize/serialization_objects_009.phpt index 74acc16ced..9485f3ef80 100644 --- a/ext/standard/tests/serialize/serialization_objects_009.phpt +++ b/ext/standard/tests/serialize/serialization_objects_009.phpt @@ -2,17 +2,6 @@ Custom unserialization of classes with no custom unserializer. --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - $ser = 'C:1:"C":6:{dasdas}'; $a = unserialize($ser); eval('class C {}'); diff --git a/ext/standard/tests/serialize/serialization_objects_010.phpt b/ext/standard/tests/serialize/serialization_objects_010.phpt index 51938710cd..7a97bb38af 100644 --- a/ext/standard/tests/serialize/serialization_objects_010.phpt +++ b/ext/standard/tests/serialize/serialization_objects_010.phpt @@ -2,17 +2,6 @@ Serialize() must return a string or NULL --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - Class C implements Serializable { public function serialize() { return $this; diff --git a/ext/standard/tests/serialize/serialization_objects_011.phpt b/ext/standard/tests/serialize/serialization_objects_011.phpt index 9f360c2cb9..ba721a3d98 100644 --- a/ext/standard/tests/serialize/serialization_objects_011.phpt +++ b/ext/standard/tests/serialize/serialization_objects_011.phpt @@ -2,17 +2,6 @@ Object serialization / unserialization with inherited and hidden properties. --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - Class A { private $APriv = "A.APriv"; protected $AProt = "A.AProt"; diff --git a/ext/standard/tests/serialize/serialization_objects_012.phpt b/ext/standard/tests/serialize/serialization_objects_012.phpt index b095ce97b9..9887e9f4db 100644 --- a/ext/standard/tests/serialize/serialization_objects_012.phpt +++ b/ext/standard/tests/serialize/serialization_objects_012.phpt @@ -2,17 +2,6 @@ Object serialization / unserialization: real references and COW references --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "\n\nArray containing same object twice:\n"; $obj = new stdclass; $a[0] = $obj; diff --git a/ext/standard/tests/serialize/serialization_objects_013.phpt b/ext/standard/tests/serialize/serialization_objects_013.phpt index 547d7f75e8..6e8a3c3a9a 100644 --- a/ext/standard/tests/serialize/serialization_objects_013.phpt +++ b/ext/standard/tests/serialize/serialization_objects_013.phpt @@ -2,17 +2,6 @@ Object serialization / unserialization: references amongst properties --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$obj) { var_dump($obj); $ser = serialize($obj); diff --git a/ext/standard/tests/serialize/serialization_objects_014.phpt b/ext/standard/tests/serialize/serialization_objects_014.phpt index b8bf6fd3bc..f8833120a2 100644 --- a/ext/standard/tests/serialize/serialization_objects_014.phpt +++ b/ext/standard/tests/serialize/serialization_objects_014.phpt @@ -2,17 +2,6 @@ Object serialization / unserialization: references to external values --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - function check(&$obj) { var_dump($obj); $ser = serialize($obj); diff --git a/ext/standard/tests/serialize/serialization_precision_001.phpt b/ext/standard/tests/serialize/serialization_precision_001.phpt index 4d17e943c2..f50a384c8b 100644 --- a/ext/standard/tests/serialize/serialization_precision_001.phpt +++ b/ext/standard/tests/serialize/serialization_precision_001.phpt @@ -4,17 +4,6 @@ Test serialize_precision (part 1) serialize_precision=10 --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - var_dump(serialize(0.1)); ?> --EXPECT-- diff --git a/ext/standard/tests/serialize/serialization_precision_002.phpt b/ext/standard/tests/serialize/serialization_precision_002.phpt index fa73130241..1aa9266fc1 100644 --- a/ext/standard/tests/serialize/serialization_precision_002.phpt +++ b/ext/standard/tests/serialize/serialization_precision_002.phpt @@ -4,17 +4,6 @@ Test serialize_precision (part 2) serialize_precision=75 --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - var_dump(serialize(0.1)); ?> --EXPECT-- diff --git a/ext/standard/tests/serialize/serialization_resources_001.phpt b/ext/standard/tests/serialize/serialization_resources_001.phpt index 1ec975e3f9..64925d4eb4 100644 --- a/ext/standard/tests/serialize/serialization_resources_001.phpt +++ b/ext/standard/tests/serialize/serialization_resources_001.phpt @@ -2,17 +2,6 @@ Test serialize() & unserialize() functions: resources --FILE-- <?php -/* Prototype : proto string serialize(mixed variable) - * Description: Returns a string representation of variable (which can later be unserialized) - * Source code: ext/standard/var.c - * Alias to functions: - */ -/* Prototype : proto mixed unserialize(string variable_representation) - * Description: Takes a string representation of variable and recreates it - * Source code: ext/standard/var.c - * Alias to functions: - */ - echo "\n--- Testing Resource ---\n"; $file_handle = fopen( __FILE__, "r" ); $serialized_data = serialize( $file_handle ); diff --git a/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt b/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt index 7bfa4f0510..61b6182e70 100644 --- a/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt +++ b/ext/standard/tests/streams/stream_get_meta_data_file_error.phpt @@ -2,12 +2,6 @@ Test stream_get_meta_data() function : error conditions --FILE-- <?php -/* Prototype : proto array stream_get_meta_data(resource fp) - * Description: Retrieves header/meta data from streams/file pointers - * Source code: ext/standard/streamsfuncs.c - * Alias to functions: socket_get_status - */ - echo "*** Testing stream_get_meta_data() : error conditions ***\n"; echo "\n-- Testing stream_get_meta_data() function with closed stream resource --\n"; diff --git a/ext/standard/tests/streams/stream_set_timeout_error.phpt b/ext/standard/tests/streams/stream_set_timeout_error.phpt index 64e9aa5773..58894b7d8c 100644 --- a/ext/standard/tests/streams/stream_set_timeout_error.phpt +++ b/ext/standard/tests/streams/stream_set_timeout_error.phpt @@ -2,12 +2,6 @@ Test stream_set_timeout() function : error conditions --FILE-- <?php -/* Prototype : proto bool stream_set_timeout(resource stream, int seconds, int microseconds) - * Description: Set timeout on stream read to seconds + microseonds - * Source code: ext/standard/streamsfuncs.c - * Alias to functions: socket_set_timeout - */ - echo "*** Testing stream_set_timeout() : error conditions ***\n"; for ($i=0; $i<100; $i++) { diff --git a/ext/standard/tests/strings/addslashes_basic.phpt b/ext/standard/tests/strings/addslashes_basic.phpt index 8b2c7fb2e4..41bb25ca71 100644 --- a/ext/standard/tests/strings/addslashes_basic.phpt +++ b/ext/standard/tests/strings/addslashes_basic.phpt @@ -2,12 +2,6 @@ Test addslashes() function : basic functionality --FILE-- <?php -/* Prototype : string addslashes ( string $str ) - * Description: Returns a string with backslashes before characters (single quotes, double quote, - * backslash and nul character) that need to be quoted in database queries etc. - * Source code: ext/standard/string.c -*/ - /* * Testing addslashes() with strings containing characters that can be prefixed with backslash * by the function diff --git a/ext/standard/tests/strings/addslashes_variation2.phpt b/ext/standard/tests/strings/addslashes_variation2.phpt index d4c0257b6e..e5cb60a45a 100644 --- a/ext/standard/tests/strings/addslashes_variation2.phpt +++ b/ext/standard/tests/strings/addslashes_variation2.phpt @@ -2,11 +2,6 @@ Test addslashes() function : usage variations - strings with characters to be backslashed --FILE-- <?php -/* Prototype : string addslashes ( string $str ) - * Description: Returns a string with backslashes before characters that need to be quoted in database queries etc. - * Source code: ext/standard/string.c -*/ - /* * Test addslashes() with various strings containing characters that can be backslashed */ diff --git a/ext/standard/tests/strings/basename_basic.phpt b/ext/standard/tests/strings/basename_basic.phpt Binary files differindex 0a598b8bfa..80d4789c7c 100644 --- a/ext/standard/tests/strings/basename_basic.phpt +++ b/ext/standard/tests/strings/basename_basic.phpt diff --git a/ext/standard/tests/strings/basename_invalid_path.phpt b/ext/standard/tests/strings/basename_invalid_path.phpt index 7ede6a9473..87878f3586 100644 --- a/ext/standard/tests/strings/basename_invalid_path.phpt +++ b/ext/standard/tests/strings/basename_invalid_path.phpt @@ -7,12 +7,6 @@ if((substr(PHP_OS, 0, 3) == "WIN")) ?> --FILE-- <?php -/* Prototype: string basename ( string $path [, string $suffix] ); - Description: Given a string containing a path to a file, - this function will return the base name of the file. - If the filename ends in suffix this will also be cut off. -*/ - setlocale(LC_CTYPE, "C"); var_dump(bin2hex(basename("\xff"))); var_dump(bin2hex(basename("a\xffb"))); diff --git a/ext/standard/tests/strings/basename_invalid_path_win.phpt b/ext/standard/tests/strings/basename_invalid_path_win.phpt index bd6435a4b0..27c298c37e 100644 --- a/ext/standard/tests/strings/basename_invalid_path_win.phpt +++ b/ext/standard/tests/strings/basename_invalid_path_win.phpt @@ -7,12 +7,6 @@ if((substr(PHP_OS, 0, 3) != "WIN")) ?> --FILE-- <?php -/* Prototype: string basename ( string $path [, string $suffix] ); - Description: Given a string containing a path to a file, - this function will return the base name of the file. - If the filename ends in suffix this will also be cut off. -*/ - var_dump(basename("\377")); echo "Done\n"; diff --git a/ext/standard/tests/strings/basename_variation.phpt b/ext/standard/tests/strings/basename_variation.phpt index 0bcb18e6ac..e41d370fc9 100644 --- a/ext/standard/tests/strings/basename_variation.phpt +++ b/ext/standard/tests/strings/basename_variation.phpt @@ -2,11 +2,6 @@ Test basename() function : usage variations --FILE-- <?php -/* Prototype: string basename ( string $path [, string $suffix] ); - Description: Given a string containing a path to a file, - this function will return the base name of the file. - If the filename ends in suffix this will also be cut off. -*/ $file_path_variations = array ( /* paths with shortcut home dir char, with suffix variation */ array("~/home/user/bar"), diff --git a/ext/standard/tests/strings/bin2hex_basic.phpt b/ext/standard/tests/strings/bin2hex_basic.phpt index 8842b8fea8..b397588506 100644 --- a/ext/standard/tests/strings/bin2hex_basic.phpt +++ b/ext/standard/tests/strings/bin2hex_basic.phpt @@ -3,11 +3,6 @@ Test bin2hex() function : basic functionality --FILE-- <?php -/* Prototype : string bin2hex ( string $str ) - * Description: Convert binary data into hexadecimal representation - * Source code: ext/standard/string.c -*/ - echo "*** Testing bin2hex() : basic functionality ***\n"; // array with different values for $string diff --git a/ext/standard/tests/strings/bug47481.phpt b/ext/standard/tests/strings/bug47481.phpt index a8f2e028a0..f25ceae3a5 100644 --- a/ext/standard/tests/strings/bug47481.phpt +++ b/ext/standard/tests/strings/bug47481.phpt @@ -2,11 +2,6 @@ Bug #47481 (natcasesort() does not sort extended ASCII characters correctly) --FILE-- <?php -/* Prototype : bool natcasesort(array &$array_arg) - * Description: Sort an array using case-insensitive natural sort - * Source code: ext/standard/array.c - */ - /* * Test natcasesort() with extended ASCII characters */ diff --git a/ext/standard/tests/strings/chop_basic.phpt b/ext/standard/tests/strings/chop_basic.phpt Binary files differindex 7e25ec12e3..c9302a80ae 100644 --- a/ext/standard/tests/strings/chop_basic.phpt +++ b/ext/standard/tests/strings/chop_basic.phpt diff --git a/ext/standard/tests/strings/chop_variation3.phpt b/ext/standard/tests/strings/chop_variation3.phpt Binary files differindex 1a4568dc28..be545a1cdc 100644 --- a/ext/standard/tests/strings/chop_variation3.phpt +++ b/ext/standard/tests/strings/chop_variation3.phpt diff --git a/ext/standard/tests/strings/chop_variation4.phpt b/ext/standard/tests/strings/chop_variation4.phpt Binary files differindex 192e07aa3a..0bb1c70203 100644 --- a/ext/standard/tests/strings/chop_variation4.phpt +++ b/ext/standard/tests/strings/chop_variation4.phpt diff --git a/ext/standard/tests/strings/chop_variation5.phpt b/ext/standard/tests/strings/chop_variation5.phpt index 7d915c2c86..c0fe43976f 100644 --- a/ext/standard/tests/strings/chop_variation5.phpt +++ b/ext/standard/tests/strings/chop_variation5.phpt @@ -2,11 +2,6 @@ Test chop() function : usage variations - miscellaneous arguments --FILE-- <?php -/* Prototype : string chop ( string $str [, string $charlist] ) - * Description: Strip whitespace (or other characters) from the end of a string - * Source code: ext/standard/string.c -*/ - /* * Testing chop() : with miscellaneous arguments */ diff --git a/ext/standard/tests/strings/chr_basic.phpt b/ext/standard/tests/strings/chr_basic.phpt index ec80d76213..3ba76ec397 100644 --- a/ext/standard/tests/strings/chr_basic.phpt +++ b/ext/standard/tests/strings/chr_basic.phpt @@ -3,11 +3,6 @@ Test chr() function : basic functionality --FILE-- <?php -/* Prototype : string chr ( int $ascii ) - * Description: Return a specific character - * Source code: ext/standard/string.c -*/ - echo "*** Testing chr() : basic functionality ***\n"; echo chr(72). chr(101) . chr(108) . chr(108). chr(111); // Hello diff --git a/ext/standard/tests/strings/chr_error.phpt b/ext/standard/tests/strings/chr_error.phpt index b6bd9973b6..59dfffd53b 100644 --- a/ext/standard/tests/strings/chr_error.phpt +++ b/ext/standard/tests/strings/chr_error.phpt @@ -3,11 +3,6 @@ Test chr() function : error conditions --FILE-- <?php -/* Prototype : string chr ( int $ascii ) - * Description: Return a specific character - * Source code: ext/standard/string.c -*/ - echo "*** Testing chr() : error conditions ***\n"; echo "\n-- Testing chr() function with no arguments --\n"; diff --git a/ext/standard/tests/strings/chr_variation1.phpt b/ext/standard/tests/strings/chr_variation1.phpt index fbf8e21f49..f9df308a7a 100644 --- a/ext/standard/tests/strings/chr_variation1.phpt +++ b/ext/standard/tests/strings/chr_variation1.phpt @@ -3,11 +3,6 @@ Test chr() function : usage variations - test values for $ascii argument --FILE-- <?php -/* Prototype : string chr ( int $ascii ) - * Description: Return a specific character - * Source code: ext/standard/string.c -*/ - echo "*** Testing chr() function: with unexpected inputs for 'ascii' argument ***\n"; //get an unset variable diff --git a/ext/standard/tests/strings/chunk_split_basic.phpt b/ext/standard/tests/strings/chunk_split_basic.phpt index cce8e4d64c..45263d4bc3 100644 --- a/ext/standard/tests/strings/chunk_split_basic.phpt +++ b/ext/standard/tests/strings/chunk_split_basic.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : basic functionality --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: -*/ - /* * Testing chunk_split() for basic functionality by passing all possible * arguments as well as with default arguments chunklen and ending diff --git a/ext/standard/tests/strings/chunk_split_variation10.phpt b/ext/standard/tests/strings/chunk_split_variation10.phpt index 755d4ab46a..d40d713f1d 100644 --- a/ext/standard/tests/strings/chunk_split_variation10.phpt +++ b/ext/standard/tests/strings/chunk_split_variation10.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - different single quoted strings for 'ending' argument --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different single quoted strings for 'ending' arguments to chunk_split() * 'chunklen' is set to 9.2 for this testcase diff --git a/ext/standard/tests/strings/chunk_split_variation11.phpt b/ext/standard/tests/strings/chunk_split_variation11.phpt index 67b0f3e76b..dff371ceaf 100644 --- a/ext/standard/tests/strings/chunk_split_variation11.phpt +++ b/ext/standard/tests/strings/chunk_split_variation11.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - different strings for 'ending' with heredoc 'str' --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different strings for 'ending' and heredoc string as 'str' to chunk_split() * 'chunklen' is set to 6E0 for this testcase diff --git a/ext/standard/tests/strings/chunk_split_variation12.phpt b/ext/standard/tests/strings/chunk_split_variation12.phpt index bafd9f44ae..8478cf7440 100644 --- a/ext/standard/tests/strings/chunk_split_variation12.phpt +++ b/ext/standard/tests/strings/chunk_split_variation12.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - different heredoc strings for 'ending' argument --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different heredoc strings as 'ending' argument to chunk_split() * 'chunklen' argument is set to 10 diff --git a/ext/standard/tests/strings/chunk_split_variation13.phpt b/ext/standard/tests/strings/chunk_split_variation13.phpt index 8e4da96e7b..b797ff45d2 100644 --- a/ext/standard/tests/strings/chunk_split_variation13.phpt +++ b/ext/standard/tests/strings/chunk_split_variation13.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argument --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: -*/ - /* * passing long string as 'str' and testing default value of chunklen which is 76 */ diff --git a/ext/standard/tests/strings/chunk_split_variation1_32bit.phpt b/ext/standard/tests/strings/chunk_split_variation1_32bit.phpt index f9825eb438..b2fd29ad88 100644 --- a/ext/standard/tests/strings/chunk_split_variation1_32bit.phpt +++ b/ext/standard/tests/strings/chunk_split_variation1_32bit.phpt @@ -7,12 +7,6 @@ if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled"); ?> --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 1 ***\n"; $a=str_repeat("B", 65535); diff --git a/ext/standard/tests/strings/chunk_split_variation2_32bit.phpt b/ext/standard/tests/strings/chunk_split_variation2_32bit.phpt index ca0948d999..0f777fbd38 100644 --- a/ext/standard/tests/strings/chunk_split_variation2_32bit.phpt +++ b/ext/standard/tests/strings/chunk_split_variation2_32bit.phpt @@ -6,12 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***\n"; $a=str_repeat("B", 65537); diff --git a/ext/standard/tests/strings/chunk_split_variation3.phpt b/ext/standard/tests/strings/chunk_split_variation3.phpt index 3992e212d5..56c524ef02 100644 --- a/ext/standard/tests/strings/chunk_split_variation3.phpt +++ b/ext/standard/tests/strings/chunk_split_variation3.phpt @@ -6,12 +6,6 @@ if (getenv("USE_ZEND_ALLOC") === "0") die("skip ZMM is disabled"); ?> --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - $chunk_length = 1; echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***\n"; diff --git a/ext/standard/tests/strings/chunk_split_variation4.phpt b/ext/standard/tests/strings/chunk_split_variation4.phpt index e7fc0744ee..b4945abd03 100644 --- a/ext/standard/tests/strings/chunk_split_variation4.phpt +++ b/ext/standard/tests/strings/chunk_split_variation4.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - different heredoc strings as 'str' argument --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Passing different heredoc strings as 'str' argument to the chunk_split() * with 'chunklen' 4 and default value of 'ending' that is "\r\n" diff --git a/ext/standard/tests/strings/chunk_split_variation5.phpt b/ext/standard/tests/strings/chunk_split_variation5.phpt Binary files differindex 7cdff8c6cd..31a7b2c038 100644 --- a/ext/standard/tests/strings/chunk_split_variation5.phpt +++ b/ext/standard/tests/strings/chunk_split_variation5.phpt diff --git a/ext/standard/tests/strings/chunk_split_variation6.phpt b/ext/standard/tests/strings/chunk_split_variation6.phpt index f7fcfb60f3..489c1f2e71 100644 --- a/ext/standard/tests/strings/chunk_split_variation6.phpt +++ b/ext/standard/tests/strings/chunk_split_variation6.phpt @@ -2,12 +2,6 @@ Test chunk_split() function : usage variations - single quoted strings for 'str' argument --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different single quoted strings as 'str' argument to the function * 'chunklen' is set to 7 and 'ending' is '):(' diff --git a/ext/standard/tests/strings/chunk_split_variation7.phpt b/ext/standard/tests/strings/chunk_split_variation7.phpt Binary files differindex fa9cc43086..9844f2097b 100644 --- a/ext/standard/tests/strings/chunk_split_variation7.phpt +++ b/ext/standard/tests/strings/chunk_split_variation7.phpt diff --git a/ext/standard/tests/strings/chunk_split_variation8.phpt b/ext/standard/tests/strings/chunk_split_variation8.phpt index cff7079607..4a21455ecf 100644 --- a/ext/standard/tests/strings/chunk_split_variation8.phpt +++ b/ext/standard/tests/strings/chunk_split_variation8.phpt @@ -6,12 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) - * Description: Returns split line - * Source code: ext/standard/string.c - * Alias to functions: -*/ - /* * passing different integer values for 'chunklen' and heredoc string for 'str' to chunk_split() */ diff --git a/ext/standard/tests/strings/chunk_split_variation9.phpt b/ext/standard/tests/strings/chunk_split_variation9.phpt Binary files differindex 36bb26b4bc..526a2cd569 100644 --- a/ext/standard/tests/strings/chunk_split_variation9.phpt +++ b/ext/standard/tests/strings/chunk_split_variation9.phpt diff --git a/ext/standard/tests/strings/convert_uudecode_basic.phpt b/ext/standard/tests/strings/convert_uudecode_basic.phpt index 0c378bdb22..8f5bd57265 100644 --- a/ext/standard/tests/strings/convert_uudecode_basic.phpt +++ b/ext/standard/tests/strings/convert_uudecode_basic.phpt @@ -3,11 +3,6 @@ Test convert_uudecode() function : basic functionality --FILE-- <?php -/* Prototype : string convert_uudecode ( string $data ) - * Description: Decode a uuencoded string - * Source code: ext/standard/uuencode.c -*/ - echo "*** Testing convert_uudecode() : basic functionality ***\n"; // array with different values for $string diff --git a/ext/standard/tests/strings/convert_uuencode_basic.phpt b/ext/standard/tests/strings/convert_uuencode_basic.phpt index 8a4f57fa87..af665ef769 100644 --- a/ext/standard/tests/strings/convert_uuencode_basic.phpt +++ b/ext/standard/tests/strings/convert_uuencode_basic.phpt @@ -3,11 +3,6 @@ Test convert_uuencode() function : basic functionality --FILE-- <?php -/* Prototype : string convert_uuencode ( string $data ) - * Description: Uuencode a string - * Source code: ext/standard/uuencode.c -*/ - echo "*** Testing convert_uuencode() : basic functionality ***\n"; // array with different values for $string diff --git a/ext/standard/tests/strings/count_chars_basic.phpt b/ext/standard/tests/strings/count_chars_basic.phpt index 0e5c3455e8..50f5aecd6b 100644 --- a/ext/standard/tests/strings/count_chars_basic.phpt +++ b/ext/standard/tests/strings/count_chars_basic.phpt @@ -3,12 +3,6 @@ Test count_chars() function : basic functionality --FILE-- <?php -/* Prototype : mixed count_chars ( string $string [, int $mode ] ) - * Description: Return information about characters used in a string - * Source code: ext/standard/string.c -*/ - - echo "*** Testing count_chars() : basic functionality ***\n"; $string = "Return information about characters used in a string"; diff --git a/ext/standard/tests/strings/crc32_basic.phpt b/ext/standard/tests/strings/crc32_basic.phpt index 9c7794b96f..6452fe7dd4 100644 --- a/ext/standard/tests/strings/crc32_basic.phpt +++ b/ext/standard/tests/strings/crc32_basic.phpt @@ -2,12 +2,6 @@ Test crc32() function : basic functionality --FILE-- <?php -/* Prototype : string crc32(string $str) - * Description: Calculate the crc32 polynomial of a string - * Source code: ext/standard/crc32.c - * Alias to functions: none -*/ - /* * Testing crc32() : basic functionality */ diff --git a/ext/standard/tests/strings/crc32_variation2.phpt b/ext/standard/tests/strings/crc32_variation2.phpt index 76e57c57f7..b4e12adfb8 100644 --- a/ext/standard/tests/strings/crc32_variation2.phpt +++ b/ext/standard/tests/strings/crc32_variation2.phpt @@ -7,12 +7,6 @@ if (PHP_INT_SIZE != 4) ?> --FILE-- <?php -/* Prototype : string crc32(string $str) - * Description: Calculate the crc32 polynomial of a string - * Source code: ext/standard/crc32.c - * Alias to functions: none -*/ - /* * Testing crc32() : with different strings in single quotes passed to the function */ diff --git a/ext/standard/tests/strings/crc32_variation3.phpt b/ext/standard/tests/strings/crc32_variation3.phpt index 44ab68d1ed..1f5905f3a9 100644 --- a/ext/standard/tests/strings/crc32_variation3.phpt +++ b/ext/standard/tests/strings/crc32_variation3.phpt @@ -7,12 +7,6 @@ if (PHP_INT_SIZE != 4) ?> --FILE-- <?php -/* Prototype : string crc32(string $str) - * Description: Calculate the crc32 polynomial of a string - * Source code: ext/standard/crc32.c - * Alias to functions: none -*/ - /* * Testing crc32() : with different strings in double quotes passed to the function */ diff --git a/ext/standard/tests/strings/crc32_variation4.phpt b/ext/standard/tests/strings/crc32_variation4.phpt index 6953994a74..d4a6ae5600 100644 --- a/ext/standard/tests/strings/crc32_variation4.phpt +++ b/ext/standard/tests/strings/crc32_variation4.phpt @@ -7,12 +7,6 @@ if (PHP_INT_SIZE != 4) ?> --FILE-- <?php -/* Prototype : string crc32(string $str) - * Description: Calculate the crc32 polynomial of a string - * Source code: ext/standard/crc32.c - * Alias to functions: none -*/ - /* * Testing crc32() : with different heredoc strings passed to the str argument */ diff --git a/ext/standard/tests/strings/dirname_basic.phpt b/ext/standard/tests/strings/dirname_basic.phpt index 1fafffde3f..b3f8734433 100644 --- a/ext/standard/tests/strings/dirname_basic.phpt +++ b/ext/standard/tests/strings/dirname_basic.phpt @@ -2,9 +2,6 @@ Test dirname() function : basic functionality --FILE-- <?php -/* Prototype: string dirname ( string $path ); - Description: Returns directory name component of path. -*/ $file_paths = array ( /* simple paths */ "bar", diff --git a/ext/standard/tests/strings/dirname_error.phpt b/ext/standard/tests/strings/dirname_error.phpt index 4bc01b6ff8..16b0e94939 100644 --- a/ext/standard/tests/strings/dirname_error.phpt +++ b/ext/standard/tests/strings/dirname_error.phpt @@ -2,9 +2,6 @@ Test dirname() function : error conditions --FILE-- <?php -/* Prototype: string dirname ( string $path ); - Description: Returns directory name component of path. -*/ echo "*** Testing error conditions ***\n"; // Bad arg diff --git a/ext/standard/tests/strings/dirname_multi.phpt b/ext/standard/tests/strings/dirname_multi.phpt index 58e9aaec8a..1c7875ad15 100644 --- a/ext/standard/tests/strings/dirname_multi.phpt +++ b/ext/standard/tests/strings/dirname_multi.phpt @@ -7,9 +7,6 @@ if((substr(PHP_OS, 0, 3) == "WIN")) ?> --FILE-- <?php -/* Prototype: string dirname ( string $path [, int nb]); - Description: Returns directory name component of path. -*/ for ($i=0 ; $i<5 ; $i++) { try { var_dump(dirname("/foo/bar/baz", $i)); diff --git a/ext/standard/tests/strings/dirname_multi_win.phpt b/ext/standard/tests/strings/dirname_multi_win.phpt index c6b0a59aa1..fa1f307a93 100644 --- a/ext/standard/tests/strings/dirname_multi_win.phpt +++ b/ext/standard/tests/strings/dirname_multi_win.phpt @@ -7,10 +7,6 @@ if((substr(PHP_OS, 0, 3) != "WIN")) ?> --FILE-- <?php -/* Prototype: string dirname ( string $path [, int nb]); - Description: Returns directory name component of path. -*/ - for ($i=0 ; $i<5 ; $i++) { try { var_dump(dirname("/foo/bar/baz", $i)); diff --git a/ext/standard/tests/strings/dirname_variation.phpt b/ext/standard/tests/strings/dirname_variation.phpt index 314fd3e742..5b8e22f5ae 100644 --- a/ext/standard/tests/strings/dirname_variation.phpt +++ b/ext/standard/tests/strings/dirname_variation.phpt @@ -2,9 +2,6 @@ Test dirname() function : usage variations --FILE-- <?php -/* Prototype: string dirname ( string $path ); - Description: Returns directory name component of path. -*/ class temp { function __toString() { diff --git a/ext/standard/tests/strings/explode1.phpt b/ext/standard/tests/strings/explode1.phpt index 4d62aa029d..a15290f29f 100644 --- a/ext/standard/tests/strings/explode1.phpt +++ b/ext/standard/tests/strings/explode1.phpt @@ -5,13 +5,6 @@ error_reporting=2047 precision=14 --FILE-- <?php -/* Prototype: array explode ( string $delimiter, string $string [, int $limit] ); - Description: Returns an array of strings, each of which is a substring of string - formed by splitting it on boundaries formed by the string delimiter. - If limit is set, the returned array will contain a maximum of limit - elements with the last element containing the rest of string. -*/ - echo "*** Testing explode() for basic operations ***\n"; $delimiters = array ( "", // len=0 diff --git a/ext/standard/tests/strings/explode_variation4.phpt b/ext/standard/tests/strings/explode_variation4.phpt index 9a6a862f8b..988f31ea34 100644 --- a/ext/standard/tests/strings/explode_variation4.phpt +++ b/ext/standard/tests/strings/explode_variation4.phpt @@ -3,11 +3,6 @@ Test explode() function : usage variations - match longer string --FILE-- <?php -/* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) - * Description: Split a string by string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing explode() function: match longer string ***\n"; $pizza = "piece1 piece2 piece3 piece4 piece5 piece6 p"; diff --git a/ext/standard/tests/strings/explode_variation5.phpt b/ext/standard/tests/strings/explode_variation5.phpt index d5c1938eaf..7d825b95b3 100644 --- a/ext/standard/tests/strings/explode_variation5.phpt +++ b/ext/standard/tests/strings/explode_variation5.phpt @@ -3,11 +3,6 @@ Test explode() function : usage variations - positive and negative limits --FILE-- <?php -/* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) - * Description: Split a string by string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing explode() function: positive and negative limits ***\n"; $str = 'one||two||three||four'; diff --git a/ext/standard/tests/strings/explode_variation6.phpt b/ext/standard/tests/strings/explode_variation6.phpt index 0dcce23077..9475e4de77 100644 --- a/ext/standard/tests/strings/explode_variation6.phpt +++ b/ext/standard/tests/strings/explode_variation6.phpt @@ -3,11 +3,6 @@ Test explode() function : usage variations - misc tests --FILE-- <?php -/* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) - * Description: Split a string by string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing explode() function: misc tests ***\n"; $str = "one\x00two\x00three\x00four"; diff --git a/ext/standard/tests/strings/explode_variation7.phpt b/ext/standard/tests/strings/explode_variation7.phpt index 877da0edc0..683afd9c8d 100644 --- a/ext/standard/tests/strings/explode_variation7.phpt +++ b/ext/standard/tests/strings/explode_variation7.phpt @@ -6,11 +6,6 @@ edgarsandi - <edgar.r.sandi@gmail.com> --FILE-- <?php -/* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) - * Description: Split a string by string. - * Source code: ext/standard/string.c -*/ - var_dump(count(explode('|', implode('|', range(1,65)), -1))); ?> diff --git a/ext/standard/tests/strings/get_html_translation_table_basic1.phpt b/ext/standard/tests/strings/get_html_translation_table_basic1.phpt index 83892a381a..4f4920c7ac 100644 --- a/ext/standard/tests/strings/get_html_translation_table_basic1.phpt +++ b/ext/standard/tests/strings/get_html_translation_table_basic1.phpt @@ -2,11 +2,6 @@ Test get_html_translation_table() function : basic functionality - with default args --FILE-- <?php -/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charset_hint]]] ) - * Description: Returns the internal translation table used by htmlspecialchars and htmlentities - * Source code: ext/standard/html.c -*/ - /* Test get_html_translation_table() when table is specified as HTML_ENTITIES */ diff --git a/ext/standard/tests/strings/get_html_translation_table_basic2.phpt b/ext/standard/tests/strings/get_html_translation_table_basic2.phpt index 1ab2ffab25..df61096aae 100644 --- a/ext/standard/tests/strings/get_html_translation_table_basic2.phpt +++ b/ext/standard/tests/strings/get_html_translation_table_basic2.phpt @@ -2,11 +2,6 @@ Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & diff quote_style --FILE-- <?php -/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charset_hint]]] ) - * Description: Returns the internal translation table used by htmlspecialchars and htmlentities - * Source code: ext/standard/html.c -*/ - /* Test get_html_translation_table() when table is specified as HTML_ENTITIES */ //set locale to en_US.UTF-8 diff --git a/ext/standard/tests/strings/get_html_translation_table_basic3.phpt b/ext/standard/tests/strings/get_html_translation_table_basic3.phpt index 9fe832eab2..0927bd44c0 100644 --- a/ext/standard/tests/strings/get_html_translation_table_basic3.phpt +++ b/ext/standard/tests/strings/get_html_translation_table_basic3.phpt @@ -2,11 +2,6 @@ Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS --FILE-- <?php -/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charset_hint]]] ) - * Description: Returns the internal translation table used by htmlspecialchars and htmlentities - * Source code: ext/standard/html.c -*/ - /* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */ echo "*** Testing get_html_translation_table() : basic functionality ***\n"; diff --git a/ext/standard/tests/strings/get_html_translation_table_basic4.phpt b/ext/standard/tests/strings/get_html_translation_table_basic4.phpt index 8ec12b2364..136c9df6a1 100644 --- a/ext/standard/tests/strings/get_html_translation_table_basic4.phpt +++ b/ext/standard/tests/strings/get_html_translation_table_basic4.phpt @@ -2,12 +2,6 @@ Test get_html_translation_table() function : basic functionality - charset WINDOWS-1252 --FILE-- <?php -/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charset_hint]]] ) - * Description: Returns the internal translation table used by htmlspecialchars and htmlentities - * Source code: ext/standard/html.c -*/ - - echo "*** Testing get_html_translation_table() : basic functionality/Windows-1252 ***\n"; echo "-- with table = HTML_ENTITIES --\n"; diff --git a/ext/standard/tests/strings/hebrev_basic.phpt b/ext/standard/tests/strings/hebrev_basic.phpt index 83e2cc8a8f..9a6cbedce2 100644 --- a/ext/standard/tests/strings/hebrev_basic.phpt +++ b/ext/standard/tests/strings/hebrev_basic.phpt @@ -3,11 +3,6 @@ Test hebrev() function : basic functionality --FILE-- <?php -/* Prototype : string hebrev ( string $hebrew_text [, int $max_chars_per_line ] ) - * Description: Convert logical Hebrew text to visual text - * Source code: ext/standard/string.c -*/ - echo "*** Testing hebrev() : basic functionality ***\n"; $hebrew_text = "The hebrev function converts logical Hebrew text to visual text.\nThe function tries to avoid breaking words.\n"; diff --git a/ext/standard/tests/strings/htmlspecialchars.phpt b/ext/standard/tests/strings/htmlspecialchars.phpt index 5677da6fe2..095225f534 100644 --- a/ext/standard/tests/strings/htmlspecialchars.phpt +++ b/ext/standard/tests/strings/htmlspecialchars.phpt @@ -2,10 +2,6 @@ Test htmlspecialchars() function --FILE-- <?php -/* Prototype: string htmlspecialchars ( string $string [, int $quote_style [, string $charset]] ); - Description: Convert special characters to HTML entities -*/ - /* retrieving htmlspecialchars from the ANSI character table */ echo "*** Retrieving htmlspecialchars for 256 characters ***\n"; for($i=0; $i<256; $i++) diff --git a/ext/standard/tests/strings/htmlspecialchars_basic.phpt b/ext/standard/tests/strings/htmlspecialchars_basic.phpt index 9bb4e4f82c..578814beff 100644 --- a/ext/standard/tests/strings/htmlspecialchars_basic.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_basic.phpt @@ -2,11 +2,6 @@ Test htmlspecialchars() function : basic functionality --FILE-- <?php -/* Prototype : string htmlspecialchars ( string $string [, int $quote_style [, string $charset [, bool $double_encode ]]] ) - * Description: Convert special characters to HTML entities - * Source code: ext/standard/string.c -*/ - echo "*** Testing htmlspecialchars() : basic functionality ***\n"; $s1 = "abc<>\"&\n"; diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_basic.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_basic.phpt index c43d385563..d3e3166fb9 100644 --- a/ext/standard/tests/strings/htmlspecialchars_decode_basic.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_decode_basic.phpt @@ -2,11 +2,6 @@ Test htmlspecialchars_decode() function : basic functionality --FILE-- <?php -/* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style]) - * Description: Convert special HTML entities back to characters - * Source code: ext/standard/html.c -*/ - echo "*** Testing htmlspecialchars_decode() : basic functionality ***\n"; diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_variation3.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_variation3.phpt index de96c04db4..93058d1853 100644 --- a/ext/standard/tests/strings/htmlspecialchars_decode_variation3.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_decode_variation3.phpt @@ -2,11 +2,6 @@ Test htmlspecialchars_decode() function : usage variations - heredoc strings for 'string' argument --FILE-- <?php -/* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style]) - * Description: Convert special HTML entities back to characters - * Source code: ext/standard/html.c -*/ - /* * testing htmlspecialchars_decode() with various heredoc strings as argument for $string */ diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_variation4.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_variation4.phpt index 7520dee09c..bdbddcf8a9 100644 --- a/ext/standard/tests/strings/htmlspecialchars_decode_variation4.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_decode_variation4.phpt @@ -2,11 +2,6 @@ Test htmlspecialchars_decode() function : usage variations - single quoted strings for 'string' argument --FILE-- <?php -/* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style]) - * Description: Convert special HTML entities back to characters - * Source code: ext/standard/html.c -*/ - /* * Testing htmlspecialchars_decode() with various single quoted strings as argument for $string */ diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_variation5.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_variation5.phpt index b07f21acf6..9937ca9b54 100644 --- a/ext/standard/tests/strings/htmlspecialchars_decode_variation5.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_decode_variation5.phpt @@ -2,11 +2,6 @@ Test htmlspecialchars_decode() function : usage variations - double quoted strings for 'string' argument --FILE-- <?php -/* Prototype : string htmlspecialchars_decode(string $string [, int $quote_style]) - * Description: Convert special HTML entities back to characters - * Source code: ext/standard/html.c -*/ - /* * testing htmlspecialchars_decode() for various double quoted strings as argument for $string */ diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt Binary files differindex 8a6100ac45..9a828b911d 100644 --- a/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt +++ b/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt diff --git a/ext/standard/tests/strings/http_build_query_variation1.phpt b/ext/standard/tests/strings/http_build_query_variation1.phpt index 7b73982c0c..d1eaffb25b 100644 --- a/ext/standard/tests/strings/http_build_query_variation1.phpt +++ b/ext/standard/tests/strings/http_build_query_variation1.phpt @@ -4,11 +4,6 @@ Test http_build_query() function: usage variations - first arguments as object Adam Gegotek <adam [dot] gegotek [at] gmail [dot] com> --FILE-- <?php -/* Prototype : string http_build_query ( mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738 ]]] ) - * Description: Generates a URL-encoded query string from the associative (or indexed) array provided. - * Source code: ext/standard/http.c -*/ - class UrlBuilder { public $name = 'homepage'; diff --git a/ext/standard/tests/strings/http_build_query_variation2.phpt b/ext/standard/tests/strings/http_build_query_variation2.phpt index 2b8ca148ff..777cd6c0ec 100644 --- a/ext/standard/tests/strings/http_build_query_variation2.phpt +++ b/ext/standard/tests/strings/http_build_query_variation2.phpt @@ -4,11 +4,6 @@ Test http_build_query() function: usage variations - first arguments as multidim Adam Gegotek <adam [dot] gegotek [at] gmail [dot] com> --FILE-- <?php -/* Prototype : string http_build_query ( mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738 ]]] ) - * Description: Generates a URL-encoded query string from the associative (or indexed) array provided. - * Source code: ext/standard/http.c -*/ - $mDimensional = array( 20, 5 => 13, diff --git a/ext/standard/tests/strings/http_build_query_variation3.phpt b/ext/standard/tests/strings/http_build_query_variation3.phpt index c9b03141bf..d3d11a705d 100644 --- a/ext/standard/tests/strings/http_build_query_variation3.phpt +++ b/ext/standard/tests/strings/http_build_query_variation3.phpt @@ -4,11 +4,6 @@ Test http_build_query() function: usage variations - testing four parameter adde Adam Gegotek <adam [dot] gegotek [at] gmail [dot] com> --FILE-- <?php -/* Prototype : string http_build_query ( mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738 ]]] ) - * Description: Generates a URL-encoded query string from the associative (or indexed) array provided. - * Source code: ext/standard/http.c -*/ - $oDimensional = array( "name" => "main page", "sort" => "desc,admin", diff --git a/ext/standard/tests/strings/implode1.phpt b/ext/standard/tests/strings/implode1.phpt Binary files differindex 64c31048c8..bd0e03c6d5 100644 --- a/ext/standard/tests/strings/implode1.phpt +++ b/ext/standard/tests/strings/implode1.phpt diff --git a/ext/standard/tests/strings/join_basic.phpt b/ext/standard/tests/strings/join_basic.phpt index 0429fe0b49..8e8c554ee9 100644 --- a/ext/standard/tests/strings/join_basic.phpt +++ b/ext/standard/tests/strings/join_basic.phpt @@ -2,12 +2,6 @@ Test join() function : basic functionality --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - echo "*** Testing join() : basic functionality ***\n"; // Initialize all required variables diff --git a/ext/standard/tests/strings/join_error.phpt b/ext/standard/tests/strings/join_error.phpt index e77b20c744..f52c4c1184 100644 --- a/ext/standard/tests/strings/join_error.phpt +++ b/ext/standard/tests/strings/join_error.phpt @@ -2,12 +2,6 @@ Test join() function: error conditions --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - echo "*** Testing join() : error conditions ***\n"; // Less than expected number of arguments diff --git a/ext/standard/tests/strings/join_variation1.phpt b/ext/standard/tests/strings/join_variation1.phpt index 970d5da330..2e394c08a8 100644 --- a/ext/standard/tests/strings/join_variation1.phpt +++ b/ext/standard/tests/strings/join_variation1.phpt @@ -2,12 +2,6 @@ Test join() function : usage variations - unexpected values for 'glue' argument --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - /* * testing join() by passing different unexpected value for glue argument */ diff --git a/ext/standard/tests/strings/join_variation2.phpt b/ext/standard/tests/strings/join_variation2.phpt index 169b912cd9..b48c35ca94 100644 --- a/ext/standard/tests/strings/join_variation2.phpt +++ b/ext/standard/tests/strings/join_variation2.phpt @@ -2,12 +2,6 @@ Test join() function : usage variations - unexpected values for 'pieces' argument(Bug#42789) --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - /* * test join() by passing different unexpected value for pieces argument */ diff --git a/ext/standard/tests/strings/join_variation3.phpt b/ext/standard/tests/strings/join_variation3.phpt index 4e3b50a1fd..dc6661f3bf 100644 --- a/ext/standard/tests/strings/join_variation3.phpt +++ b/ext/standard/tests/strings/join_variation3.phpt @@ -2,12 +2,6 @@ Test join() function : usage variations - different values for 'pieces' argument --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - /* * test join() by giving different pieces values */ diff --git a/ext/standard/tests/strings/join_variation4.phpt b/ext/standard/tests/strings/join_variation4.phpt Binary files differindex 162576bb93..6a9ff44297 100644 --- a/ext/standard/tests/strings/join_variation4.phpt +++ b/ext/standard/tests/strings/join_variation4.phpt diff --git a/ext/standard/tests/strings/join_variation5.phpt b/ext/standard/tests/strings/join_variation5.phpt index 60c1d681e1..50dd08cbf2 100644 --- a/ext/standard/tests/strings/join_variation5.phpt +++ b/ext/standard/tests/strings/join_variation5.phpt @@ -2,12 +2,6 @@ Test join() function : usage variations - sub array as argument --FILE-- <?php -/* Prototype : string join( string $glue, array $pieces ) - * Description: Join array elements with a string - * Source code: ext/standard/string.c - * Alias of function: implode() -*/ - /* * test join() by passing pieces as array containing sub array(s) */ diff --git a/ext/standard/tests/strings/join_variation6.phpt b/ext/standard/tests/strings/join_variation6.phpt Binary files differindex 08938bfad7..010e449085 100644 --- a/ext/standard/tests/strings/join_variation6.phpt +++ b/ext/standard/tests/strings/join_variation6.phpt diff --git a/ext/standard/tests/strings/ltrim_basic.phpt b/ext/standard/tests/strings/ltrim_basic.phpt index 61994364a8..094ae223f0 100644 --- a/ext/standard/tests/strings/ltrim_basic.phpt +++ b/ext/standard/tests/strings/ltrim_basic.phpt @@ -3,11 +3,6 @@ Test ltrim() function : basic functionality --FILE-- <?php -/* Prototype : string ltrim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the beginning of a string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing ltrim() : basic functionality ***\n"; $text = " \t\r\n\0\x0B ---These are a few words--- "; diff --git a/ext/standard/tests/strings/ltrim_error.phpt b/ext/standard/tests/strings/ltrim_error.phpt index 9da128c890..28d30f5874 100644 --- a/ext/standard/tests/strings/ltrim_error.phpt +++ b/ext/standard/tests/strings/ltrim_error.phpt @@ -3,12 +3,6 @@ Test ltrim() function : error conditions --FILE-- <?php -/* Prototype : string ltrim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the beginning of a string. - * Source code: ext/standard/string.c -*/ - - echo "*** Testing ltrim() : error conditions ***\n"; $hello = " Hello World\n"; diff --git a/ext/standard/tests/strings/md5_basic1.phpt b/ext/standard/tests/strings/md5_basic1.phpt index 6e8dfe7fde..d0af237122 100644 --- a/ext/standard/tests/strings/md5_basic1.phpt +++ b/ext/standard/tests/strings/md5_basic1.phpt @@ -2,11 +2,6 @@ Test md5() function : basic functionality --FILE-- <?php -/* Prototype : string md5 ( string $str [, bool $raw_output= false ] ) - * Description: Calculate the md5 hash of a string - * Source code: ext/standard/md5.c -*/ - echo "*** Testing md5() : basic functionality ***\n"; var_dump(md5("apple")); ?> diff --git a/ext/standard/tests/strings/md5_basic2.phpt b/ext/standard/tests/strings/md5_basic2.phpt index 0e2db58e95..a7920648e4 100644 --- a/ext/standard/tests/strings/md5_basic2.phpt +++ b/ext/standard/tests/strings/md5_basic2.phpt @@ -2,11 +2,6 @@ Test md5() function : basic functionality - with raw output --FILE-- <?php -/* Prototype : string md5 ( string $str [, bool $raw_output= false ] ) - * Description: Calculate the md5 hash of a string - * Source code: ext/standard/md5.c -*/ - echo "*** Testing md5() : basic functionality - with raw output***\n"; $str = "Hello World"; $md5_raw = md5($str, true); diff --git a/ext/standard/tests/strings/md5_file.phpt b/ext/standard/tests/strings/md5_file.phpt Binary files differindex 200bb3b739..4bc9096017 100644 --- a/ext/standard/tests/strings/md5_file.phpt +++ b/ext/standard/tests/strings/md5_file.phpt diff --git a/ext/standard/tests/strings/nl2br_variation1.phpt b/ext/standard/tests/strings/nl2br_variation1.phpt index 1d1d6592b4..d7de19bff6 100644 --- a/ext/standard/tests/strings/nl2br_variation1.phpt +++ b/ext/standard/tests/strings/nl2br_variation1.phpt @@ -2,11 +2,6 @@ Test nl2br() function : usage variations - double quoted strings for 'str' argument --FILE-- <?php -/* Prototype : string nl2br(string $str); - * Description: Inserts HTML line breaks before all newlines in a string - * Source code: ext/standard/string.c -*/ - /* Test nl2br() function by passing double quoted strings containing various * combinations of new line chars to 'str' argument */ diff --git a/ext/standard/tests/strings/nl2br_variation2.phpt b/ext/standard/tests/strings/nl2br_variation2.phpt index 79be6f5f03..88e9769325 100644 --- a/ext/standard/tests/strings/nl2br_variation2.phpt +++ b/ext/standard/tests/strings/nl2br_variation2.phpt @@ -2,11 +2,6 @@ Test nl2br() function : usage variations - single quoted strings for 'str' argument --FILE-- <?php -/* Prototype : string nl2br(string $str); - * Description: Inserts HTML line breaks before all newlines in a string - * Source code: ext/standard/string.c -*/ - /* Test nl2br() function by passing single quoted strings containing various * combinations of new line chars to 'str' argument */ diff --git a/ext/standard/tests/strings/nl2br_variation3.phpt b/ext/standard/tests/strings/nl2br_variation3.phpt index 587518d1ee..e066a592b4 100644 --- a/ext/standard/tests/strings/nl2br_variation3.phpt +++ b/ext/standard/tests/strings/nl2br_variation3.phpt @@ -2,11 +2,6 @@ Test nl2br() function : usage variations - heredoc strings for 'str' argument --FILE-- <?php -/* Prototype : string nl2br(string $str); - * Description: Inserts HTML line breaks before all newlines in a string. - * Source code: ext/standard/string.c -*/ - /* Test nl2br() function by passing heredoc strings containing various * combinations of new line chars to 'str' argument */ diff --git a/ext/standard/tests/strings/nl2br_variation4.phpt b/ext/standard/tests/strings/nl2br_variation4.phpt index 04244dccce..85d7131520 100644 --- a/ext/standard/tests/strings/nl2br_variation4.phpt +++ b/ext/standard/tests/strings/nl2br_variation4.phpt @@ -2,11 +2,6 @@ Test nl2br() function : usage variations - html values for 'str' argument --FILE-- <?php -/* Prototype : string nl2br(string $str) - * Description: Inserts HTML line breaks before all newlines in a string. - * Source code: ext/standard/string.c -*/ - /* * Test nl2br() function by passing html string inputs containing line breaks and * new line chars for 'str' diff --git a/ext/standard/tests/strings/nl_langinfo_basic.phpt b/ext/standard/tests/strings/nl_langinfo_basic.phpt index c686caf25d..c0f6d7efa8 100644 --- a/ext/standard/tests/strings/nl_langinfo_basic.phpt +++ b/ext/standard/tests/strings/nl_langinfo_basic.phpt @@ -9,11 +9,6 @@ if( substr(PHP_OS, 0, 3) == 'WIN'){ --FILE-- <?php -/* Prototype : string nl_langinfo ( int $item ) - * Description: Query language and locale information - * Source code: ext/standard/string.c -*/ - echo "*** Testing nl_langinfo() : basic functionality ***\n"; $original = setlocale(LC_ALL, 'C'); diff --git a/ext/standard/tests/strings/number_format_basic.phpt b/ext/standard/tests/strings/number_format_basic.phpt index f06a55cb63..2566f36574 100644 --- a/ext/standard/tests/strings/number_format_basic.phpt +++ b/ext/standard/tests/strings/number_format_basic.phpt @@ -2,12 +2,6 @@ Test number_format() - basic function test number_format() --FILE-- <?php -/* Prototype : string number_format ( float $number [, int $decimals ] ) - * string number_format ( float $number , int $decimals , string $dec_point , string $thousands_sep ) - * Description: Format a number with grouped thousands - * Source code: ext/standard/string.c - */ - echo "*** Testing number_format() : basic functionality ***\n"; $values = array(1234.5678, diff --git a/ext/standard/tests/strings/ord_basic.phpt b/ext/standard/tests/strings/ord_basic.phpt index c7d6891a09..0921dfda55 100644 --- a/ext/standard/tests/strings/ord_basic.phpt +++ b/ext/standard/tests/strings/ord_basic.phpt @@ -3,11 +3,6 @@ Test ord() function : basic functionality --FILE-- <?php -/* Prototype : int ord ( string $string ) - * Description: Return ASCII value of character - * Source code: ext/standard/string.c -*/ - echo "*** Testing ord() : basic functionality ***\n"; var_dump(ord("a")); diff --git a/ext/standard/tests/strings/parse_str_basic1.phpt b/ext/standard/tests/strings/parse_str_basic1.phpt index 38652ba0fa..c63b22734f 100644 --- a/ext/standard/tests/strings/parse_str_basic1.phpt +++ b/ext/standard/tests/strings/parse_str_basic1.phpt @@ -3,11 +3,6 @@ Test parse_str() function : basic functionality --FILE-- <?php -/* Prototype : void parse_str ( string $str , array &$arr ) - * Description: Parses the string into variables - * Source code: ext/standard/string.c -*/ - echo "*** Testing parse_str() : basic functionality ***\n"; echo "\nBasic test WITH undefined var for result arg\n"; diff --git a/ext/standard/tests/strings/parse_str_basic2.phpt b/ext/standard/tests/strings/parse_str_basic2.phpt index 15bd3024d6..2996f8c6a3 100644 --- a/ext/standard/tests/strings/parse_str_basic2.phpt +++ b/ext/standard/tests/strings/parse_str_basic2.phpt @@ -4,11 +4,6 @@ Test parse_str() function : non-default arg_separator.input specified arg_separator.input = "/" --FILE-- <?php -/* Prototype : void parse_str ( string $str [, array &$arr ] ) - * Description: Parses the string into variables - * Source code: ext/standard/string.c -*/ - echo "*** Testing parse_str() : non-default arg_separator.input specified ***\n"; $s1 = "first=val1/second=val2/third=val3"; diff --git a/ext/standard/tests/strings/parse_str_basic3.phpt b/ext/standard/tests/strings/parse_str_basic3.phpt Binary files differindex 0ea88a365b..a15edd529f 100644 --- a/ext/standard/tests/strings/parse_str_basic3.phpt +++ b/ext/standard/tests/strings/parse_str_basic3.phpt diff --git a/ext/standard/tests/strings/parse_str_basic4.phpt b/ext/standard/tests/strings/parse_str_basic4.phpt index 5b128c7cfc..ce8e00c090 100644 --- a/ext/standard/tests/strings/parse_str_basic4.phpt +++ b/ext/standard/tests/strings/parse_str_basic4.phpt @@ -2,11 +2,6 @@ Test parse_str() function : test with badly formed strings --FILE-- <?php -/* Prototype : void parse_str ( string $str [, array &$arr ] ) - * Description: Parses the string into variables - * Source code: ext/standard/string.c -*/ - echo "\nTest string with badly formed strings\n"; $str = "arr[1=sid&arr[4][2=fred"; var_dump(parse_str($str, $res)); diff --git a/ext/standard/tests/strings/print_basic.phpt b/ext/standard/tests/strings/print_basic.phpt index 9d8c8a618c..094e709e9a 100644 --- a/ext/standard/tests/strings/print_basic.phpt +++ b/ext/standard/tests/strings/print_basic.phpt @@ -3,12 +3,6 @@ Test print() function : basic functionality --FILE-- <?php -/* Prototype : int print ( string $arg ) - * Description: Output a string - * Source code: n/a, print is a language construct not an extension function - * Test based on php.net manual example. -*/ - echo "*** Testing print() : basic functionality ***\n"; echo "\n-- Iteration 1 --\n"; diff --git a/ext/standard/tests/strings/print_variation1.phpt b/ext/standard/tests/strings/print_variation1.phpt index e5849ecfdf..1288a242d8 100644 --- a/ext/standard/tests/strings/print_variation1.phpt +++ b/ext/standard/tests/strings/print_variation1.phpt @@ -3,12 +3,6 @@ Test print() function : usage variations --FILE-- <?php -/* Prototype : int print ( string $arg ) - * Description: Output a string - * Source code: n/a, print is a language construct not an extension function - * Test based on php.net manual example. -*/ - echo "*** Testing print() function: with unexpected inputs for 'arg' argument ***\n"; //get an unset variable diff --git a/ext/standard/tests/strings/printf_basic1.phpt b/ext/standard/tests/strings/printf_basic1.phpt index b2cbe22375..f0b6f2e4e4 100644 --- a/ext/standard/tests/strings/printf_basic1.phpt +++ b/ext/standard/tests/strings/printf_basic1.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - string format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using string format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/printf_basic2.phpt b/ext/standard/tests/strings/printf_basic2.phpt index d7ed15e29e..5a5df0ad68 100644 --- a/ext/standard/tests/strings/printf_basic2.phpt +++ b/ext/standard/tests/strings/printf_basic2.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using integer format ***\n"; diff --git a/ext/standard/tests/strings/printf_basic3.phpt b/ext/standard/tests/strings/printf_basic3.phpt index b5ee1b82b0..0e26dbd585 100644 --- a/ext/standard/tests/strings/printf_basic3.phpt +++ b/ext/standard/tests/strings/printf_basic3.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - float format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using float format ***\n"; diff --git a/ext/standard/tests/strings/printf_basic4.phpt b/ext/standard/tests/strings/printf_basic4.phpt index cc1b533db6..3cc00cce4d 100644 --- a/ext/standard/tests/strings/printf_basic4.phpt +++ b/ext/standard/tests/strings/printf_basic4.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - bool format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using bool format ***\n"; diff --git a/ext/standard/tests/strings/printf_basic5.phpt b/ext/standard/tests/strings/printf_basic5.phpt index e50e9d58b8..90b16051fd 100644 --- a/ext/standard/tests/strings/printf_basic5.phpt +++ b/ext/standard/tests/strings/printf_basic5.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - char format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using char format ***\n"; diff --git a/ext/standard/tests/strings/printf_basic6.phpt b/ext/standard/tests/strings/printf_basic6.phpt index f84d703089..30872440c2 100644 --- a/ext/standard/tests/strings/printf_basic6.phpt +++ b/ext/standard/tests/strings/printf_basic6.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using exponential format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/printf_basic7.phpt b/ext/standard/tests/strings/printf_basic7.phpt index 1a7c24d895..19c1f42104 100644 --- a/ext/standard/tests/strings/printf_basic7.phpt +++ b/ext/standard/tests/strings/printf_basic7.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using unsigned format ***\n"; diff --git a/ext/standard/tests/strings/printf_basic8.phpt b/ext/standard/tests/strings/printf_basic8.phpt index 5df156a553..800d6cc1e7 100644 --- a/ext/standard/tests/strings/printf_basic8.phpt +++ b/ext/standard/tests/strings/printf_basic8.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/printf_basic9.phpt b/ext/standard/tests/strings/printf_basic9.phpt index b86da032e8..b24f862a09 100644 --- a/ext/standard/tests/strings/printf_basic9.phpt +++ b/ext/standard/tests/strings/printf_basic9.phpt @@ -2,11 +2,6 @@ Test printf() function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : basic functionality - using hexadecimal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/printf_error.phpt b/ext/standard/tests/strings/printf_error.phpt index e9fc0a4383..819bb7d1e0 100644 --- a/ext/standard/tests/strings/printf_error.phpt +++ b/ext/standard/tests/strings/printf_error.phpt @@ -2,11 +2,6 @@ Test printf() function : error conditions --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : error conditions ***\n"; // Zero arguments diff --git a/ext/standard/tests/strings/printf_variation1.phpt b/ext/standard/tests/strings/printf_variation1.phpt index 8fed7737fc..55237168c5 100644 --- a/ext/standard/tests/strings/printf_variation1.phpt +++ b/ext/standard/tests/strings/printf_variation1.phpt @@ -2,11 +2,6 @@ Test printf() function : usage variations - unexpected values for format argument --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - /* * Testing printf() : with different unexpected values for format argument other than the strings */ diff --git a/ext/standard/tests/strings/printf_variation2.phpt b/ext/standard/tests/strings/printf_variation2.phpt index d0335b455e..1ee44a61e6 100644 --- a/ext/standard/tests/strings/printf_variation2.phpt +++ b/ext/standard/tests/strings/printf_variation2.phpt @@ -2,11 +2,6 @@ Test printf() function : usage variations - with all types of values for arg1 argument --FILE-- <?php -/* Prototype : int printf ( string $format [, mixed $args [, mixed $... ]] ) - * Description: Produces output according to format . - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing printf() : with different types of values passed for arg1 argument ***\n"; // initialing required variables diff --git a/ext/standard/tests/strings/quoted_printable_decode_basic.phpt b/ext/standard/tests/strings/quoted_printable_decode_basic.phpt index b40080cdf3..5b23f1a711 100644 --- a/ext/standard/tests/strings/quoted_printable_decode_basic.phpt +++ b/ext/standard/tests/strings/quoted_printable_decode_basic.phpt @@ -2,11 +2,6 @@ Test quoted_printable_decode() function : basic functionality --FILE-- <?php -/* Prototype : string quoted_printable_decode ( string $str ) - * Description: Convert a quoted-printable string to an 8 bit string - * Source code: ext/standard/string.c -*/ - echo "*** Testing quoted_printable_decode() : basic functionality ***\n"; $str = "=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A= diff --git a/ext/standard/tests/strings/quotemeta_basic.phpt b/ext/standard/tests/strings/quotemeta_basic.phpt index 87b0718bd3..5ea93e6913 100644 --- a/ext/standard/tests/strings/quotemeta_basic.phpt +++ b/ext/standard/tests/strings/quotemeta_basic.phpt @@ -3,11 +3,6 @@ Test quotemeta() function : basic functionality --FILE-- <?php -/* Prototype : string quotemeta ( string $str ) - * Description: Quote meta characters - * Source code: ext/standard/string.c -*/ - echo "*** Testing quotemeta() : basic functionality ***\n"; var_dump(quotemeta("Hello how are you ?")); diff --git a/ext/standard/tests/strings/rtrim_basic.phpt b/ext/standard/tests/strings/rtrim_basic.phpt index d58a9e4a95..ed0ca83b2f 100644 --- a/ext/standard/tests/strings/rtrim_basic.phpt +++ b/ext/standard/tests/strings/rtrim_basic.phpt @@ -3,11 +3,6 @@ Test rtrim() function : basic functionality --FILE-- <?php -/* Prototype : string rtrim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the end of a string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing rtrim() : basic functionality ***\n"; $text = "---These are a few words--- \t\r\n\0\x0B "; diff --git a/ext/standard/tests/strings/rtrim_error.phpt b/ext/standard/tests/strings/rtrim_error.phpt index ef45f723f3..4717a400a6 100644 --- a/ext/standard/tests/strings/rtrim_error.phpt +++ b/ext/standard/tests/strings/rtrim_error.phpt @@ -3,12 +3,6 @@ Test rtrim() function : error conditions --FILE-- <?php -/* Prototype : string rtrim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the end of a string. - * Source code: ext/standard/string.c -*/ - - echo "*** Testing rtrim() : error conditions ***\n"; $hello = " Hello World\n"; diff --git a/ext/standard/tests/strings/setlocale_basic1.phpt b/ext/standard/tests/strings/setlocale_basic1.phpt index 08c4cf4424..3a1b4acea4 100644 --- a/ext/standard/tests/strings/setlocale_basic1.phpt +++ b/ext/standard/tests/strings/setlocale_basic1.phpt @@ -11,20 +11,8 @@ if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "d ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , - * or FALSE if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* test setlocale by specifying a specific locale as input */ -/* Prototype : array list_system_locales( void ) - Description: To get the currently installed locle in this platform - Arguments : Nil - Returns : set of locale as array -*/ function list_system_locales() { // start the buffering of next command to internal output buffer ob_start(); diff --git a/ext/standard/tests/strings/setlocale_basic2.phpt b/ext/standard/tests/strings/setlocale_basic2.phpt index 75ae1545d9..c4cf909719 100644 --- a/ext/standard/tests/strings/setlocale_basic2.phpt +++ b/ext/standard/tests/strings/setlocale_basic2.phpt @@ -11,20 +11,8 @@ if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "d ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* Test the setlocale() when an array is provided as input containing list of locales */ -/* Prototype : array list_system_locales( void ) - * Description: To get the currently installed locle in this platform - * Arguments : Nil - * Returns : set of locale as array -*/ function list_system_locales() { // start the buffering of next command to internal output buffer ob_start(); diff --git a/ext/standard/tests/strings/setlocale_basic3.phpt b/ext/standard/tests/strings/setlocale_basic3.phpt index 46beeda10e..37acde5f9a 100644 --- a/ext/standard/tests/strings/setlocale_basic3.phpt +++ b/ext/standard/tests/strings/setlocale_basic3.phpt @@ -11,20 +11,8 @@ if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) { ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* Test the setlocale() when multiple locales are provided as argument */ -/* Prototype : array list_system_locales( void ) - Description: To get the currently installed locle in this platform - Arguments : Nil - Returns : set of locale as array -*/ function list_system_locales() { // start the buffering of next command to internal output buffer ob_start(); diff --git a/ext/standard/tests/strings/setlocale_error.phpt b/ext/standard/tests/strings/setlocale_error.phpt index c2b18b1992..2d73b8d1ae 100644 --- a/ext/standard/tests/strings/setlocale_error.phpt +++ b/ext/standard/tests/strings/setlocale_error.phpt @@ -10,12 +10,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - echo "*** Testing setlocale() : error conditions ***\n"; echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n"; diff --git a/ext/standard/tests/strings/setlocale_variation1.phpt b/ext/standard/tests/strings/setlocale_variation1.phpt index a44dbc7e9e..3238e5f7b8 100644 --- a/ext/standard/tests/strings/setlocale_variation1.phpt +++ b/ext/standard/tests/strings/setlocale_variation1.phpt @@ -11,20 +11,8 @@ if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) { ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* Test the setlocale() when multiple valid/invalid locales are provided as argument */ -/* Prototype : array list_system_locales( void ) - Description: To get the currently installed locle in this platform - Arguments : Nil - Returns : set of locale as array -*/ function list_system_locales() { // start the buffering of next command to internal output buffer ob_start(); diff --git a/ext/standard/tests/strings/setlocale_variation2.phpt b/ext/standard/tests/strings/setlocale_variation2.phpt index 41a706c8bf..a24551f937 100644 --- a/ext/standard/tests/strings/setlocale_variation2.phpt +++ b/ext/standard/tests/strings/setlocale_variation2.phpt @@ -8,13 +8,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* setlocale() to set all available locales in the system and check the success count */ echo "*** Testing setlocale() : usage variations ***\n"; @@ -25,11 +18,6 @@ function good_locale($locale) { return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1'; } -/* Prototype : array list_system_locales( void ) - * Description: To get the currently installed locle in this platform - * Arguments : Nil - * Returns : set of locale as array -*/ function list_system_locales() { // start the buffering of next command to internal output buffer ob_start(); diff --git a/ext/standard/tests/strings/setlocale_variation3.phpt b/ext/standard/tests/strings/setlocale_variation3.phpt index dcdab87bdc..2875795e3f 100644 --- a/ext/standard/tests/strings/setlocale_variation3.phpt +++ b/ext/standard/tests/strings/setlocale_variation3.phpt @@ -11,13 +11,6 @@ if (setlocale(LC_ALL,'en_US.utf8') === false) { ?> --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - * : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - * if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* If locale is "0", the locale setting is not affected, only the current setting is returned */ echo "*** Testing setlocale() : usage variations - setting system locale = 0 ***\n"; diff --git a/ext/standard/tests/strings/setlocale_variation4.phpt b/ext/standard/tests/strings/setlocale_variation4.phpt index 68728206b7..540d9066e2 100644 --- a/ext/standard/tests/strings/setlocale_variation4.phpt +++ b/ext/standard/tests/strings/setlocale_variation4.phpt @@ -13,13 +13,6 @@ if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') = LC_ALL=en_US.utf8; --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - * : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - * if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /*If locale is NULL, the locale names will be set from the values of environment variables with the same names as the above ENV settings */ echo "*** Testing setlocale() : usage variations - Setting system locale = null ***\n"; diff --git a/ext/standard/tests/strings/setlocale_variation5.phpt b/ext/standard/tests/strings/setlocale_variation5.phpt index 0ba6d89024..6e624e64c3 100644 --- a/ext/standard/tests/strings/setlocale_variation5.phpt +++ b/ext/standard/tests/strings/setlocale_variation5.phpt @@ -13,13 +13,6 @@ if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') = LC_ALL=en_US.utf8; --FILE-- <?php -/* Prototype : string setlocale (int $category , string $locale [,string $..] ) - * : string setlocale(int $category , array $locale); - * Description: Sets locale information.Returns the new current locale , or FALSE - * if locale functionality is not implemented in this platform. - * Source code: ext/standard/string.c -*/ - /* If locale is empty string "", the locale names will be set from the values of environment variables with the same names as from ENV */ echo "*** Testing setlocale() : usage variations - setting system locale = \"\" ***\n"; diff --git a/ext/standard/tests/strings/sha1_basic.phpt b/ext/standard/tests/strings/sha1_basic.phpt index 1c179da202..bd8c448edf 100644 --- a/ext/standard/tests/strings/sha1_basic.phpt +++ b/ext/standard/tests/strings/sha1_basic.phpt @@ -3,9 +3,6 @@ sha1() with ASCII output. --FILE-- <?php -/* Prototype: string sha1 ( string $str [, bool $raw_output ] ) - * Description: Calculate the sha1 hash of a string - */ echo "*** Testing sha1() : basic functionality ***\n"; diff --git a/ext/standard/tests/strings/sha1_file.phpt b/ext/standard/tests/strings/sha1_file.phpt index 7a55cedee6..3d4dbfe2cf 100644 --- a/ext/standard/tests/strings/sha1_file.phpt +++ b/ext/standard/tests/strings/sha1_file.phpt @@ -3,9 +3,6 @@ Test sha1_file() function with ASCII output and raw binary output. Based on ext/ --FILE-- <?php -/* Prototype: string sha1_file( string filename[, bool raw_output] ) - * Description: Calculate the sha1 hash of a file - */ echo "*** Testing sha1_file() : basic functionality ***\n"; diff --git a/ext/standard/tests/strings/similar_text_basic.phpt b/ext/standard/tests/strings/similar_text_basic.phpt index 1a0b30f891..5d5f15c69f 100644 --- a/ext/standard/tests/strings/similar_text_basic.phpt +++ b/ext/standard/tests/strings/similar_text_basic.phpt @@ -7,10 +7,6 @@ Mats Lindh <mats at lindh.no> precision=14 --FILE-- <?php -/* Prototype : proto int similar_text(string str1, string str2 [, float percent]) -* Description: Calculates the similarity between two strings -* Source code: ext/standard/string.c -*/ var_dump(similar_text("abcdefgh", "efg")); var_dump(similar_text("abcdefgh", "mno")); var_dump(similar_text("abcdefghcc", "c")); diff --git a/ext/standard/tests/strings/soundex_basic.phpt b/ext/standard/tests/strings/soundex_basic.phpt index 7c536f1d34..208265a4a2 100644 --- a/ext/standard/tests/strings/soundex_basic.phpt +++ b/ext/standard/tests/strings/soundex_basic.phpt @@ -2,10 +2,6 @@ Test soundex() function : basic functionality --FILE-- <?php -/* Prototype : string soundex ( string $str ) - * Description: Calculate the soundex key of a string - * Source code: ext/standard/string.c -*/ echo "*** Testing soundex() : basic functionality ***\n"; var_dump(soundex("Euler")); diff --git a/ext/standard/tests/strings/sprintf_basic1.phpt b/ext/standard/tests/strings/sprintf_basic1.phpt index b9327687e9..23ac21de3f 100644 --- a/ext/standard/tests/strings/sprintf_basic1.phpt +++ b/ext/standard/tests/strings/sprintf_basic1.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - string format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : basic functionality - using string format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/sprintf_basic2.phpt b/ext/standard/tests/strings/sprintf_basic2.phpt index 8d682ad9f9..639545acb4 100644 --- a/ext/standard/tests/strings/sprintf_basic2.phpt +++ b/ext/standard/tests/strings/sprintf_basic2.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : basic functionality - using integer format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic3.phpt b/ext/standard/tests/strings/sprintf_basic3.phpt index 343437615a..d82097d142 100644 --- a/ext/standard/tests/strings/sprintf_basic3.phpt +++ b/ext/standard/tests/strings/sprintf_basic3.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - float format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : basic functionality - using float format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic4.phpt b/ext/standard/tests/strings/sprintf_basic4.phpt index 21a9ea280b..18a4b4554c 100644 --- a/ext/standard/tests/strings/sprintf_basic4.phpt +++ b/ext/standard/tests/strings/sprintf_basic4.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - bool format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using bool format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic5.phpt b/ext/standard/tests/strings/sprintf_basic5.phpt index 85660544bc..0244524a01 100644 --- a/ext/standard/tests/strings/sprintf_basic5.phpt +++ b/ext/standard/tests/strings/sprintf_basic5.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - char format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using char format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic6.phpt b/ext/standard/tests/strings/sprintf_basic6.phpt index 913817015b..99a85ddde3 100644 --- a/ext/standard/tests/strings/sprintf_basic6.phpt +++ b/ext/standard/tests/strings/sprintf_basic6.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using exponential format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/sprintf_basic7.phpt b/ext/standard/tests/strings/sprintf_basic7.phpt index 0b3140dd0d..63cf1975bb 100644 --- a/ext/standard/tests/strings/sprintf_basic7.phpt +++ b/ext/standard/tests/strings/sprintf_basic7.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using unsigned format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic7_64bit.phpt b/ext/standard/tests/strings/sprintf_basic7_64bit.phpt index c3cd33656e..212800e561 100644 --- a/ext/standard/tests/strings/sprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/sprintf_basic7_64bit.phpt @@ -4,11 +4,6 @@ Test sprintf() function : basic functionality - unsigned format <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using unsigned format ***\n"; diff --git a/ext/standard/tests/strings/sprintf_basic8.phpt b/ext/standard/tests/strings/sprintf_basic8.phpt index f705e7bd1d..5c8cdb5d5a 100644 --- a/ext/standard/tests/strings/sprintf_basic8.phpt +++ b/ext/standard/tests/strings/sprintf_basic8.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/sprintf_basic8_64bit.phpt b/ext/standard/tests/strings/sprintf_basic8_64bit.phpt index ec4063eef7..528d82c66a 100644 --- a/ext/standard/tests/strings/sprintf_basic8_64bit.phpt +++ b/ext/standard/tests/strings/sprintf_basic8_64bit.phpt @@ -4,11 +4,6 @@ Test sprintf() function : basic functionality - octal format <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/sprintf_basic9.phpt b/ext/standard/tests/strings/sprintf_basic9.phpt index 53c8777cfd..0f923f86bf 100644 --- a/ext/standard/tests/strings/sprintf_basic9.phpt +++ b/ext/standard/tests/strings/sprintf_basic9.phpt @@ -2,11 +2,6 @@ Test sprintf() function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : basic functionality - using hexadecimal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/sprintf_error.phpt b/ext/standard/tests/strings/sprintf_error.phpt index a65bf318d3..89ff16b72b 100644 --- a/ext/standard/tests/strings/sprintf_error.phpt +++ b/ext/standard/tests/strings/sprintf_error.phpt @@ -2,11 +2,6 @@ Test sprintf() function : error conditions --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c - */ - echo "*** Testing sprintf() : error conditions ***\n"; // Zero arguments diff --git a/ext/standard/tests/strings/sprintf_variation1.phpt b/ext/standard/tests/strings/sprintf_variation1.phpt index 56ff4f0b4c..a75e67b96e 100644 --- a/ext/standard/tests/strings/sprintf_variation1.phpt +++ b/ext/standard/tests/strings/sprintf_variation1.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - unexpected values for format argument --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Testing sprintf() : with different unexpected values for format argument other than the strings */ diff --git a/ext/standard/tests/strings/sprintf_variation10.phpt b/ext/standard/tests/strings/sprintf_variation10.phpt index 796cb91a03..5a62047e9d 100644 --- a/ext/standard/tests/strings/sprintf_variation10.phpt +++ b/ext/standard/tests/strings/sprintf_variation10.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - float formats with integer values --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : float formats with integer values ***\n"; // array of int type values diff --git a/ext/standard/tests/strings/sprintf_variation15.phpt b/ext/standard/tests/strings/sprintf_variation15.phpt Binary files differindex 66d85647ff..e23fe1147f 100644 --- a/ext/standard/tests/strings/sprintf_variation15.phpt +++ b/ext/standard/tests/strings/sprintf_variation15.phpt diff --git a/ext/standard/tests/strings/sprintf_variation2.phpt b/ext/standard/tests/strings/sprintf_variation2.phpt index 0f8290a9a7..0695f9e6ad 100644 --- a/ext/standard/tests/strings/sprintf_variation2.phpt +++ b/ext/standard/tests/strings/sprintf_variation2.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - with all types of values for arg1 argument --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : with different types of values passed for arg1 argument ***\n"; // initialing required variables diff --git a/ext/standard/tests/strings/sprintf_variation27.phpt b/ext/standard/tests/strings/sprintf_variation27.phpt Binary files differindex 746a6074e3..d0430d2049 100644 --- a/ext/standard/tests/strings/sprintf_variation27.phpt +++ b/ext/standard/tests/strings/sprintf_variation27.phpt diff --git a/ext/standard/tests/strings/sprintf_variation28.phpt b/ext/standard/tests/strings/sprintf_variation28.phpt index eecce60d98..53c6bd015f 100644 --- a/ext/standard/tests/strings/sprintf_variation28.phpt +++ b/ext/standard/tests/strings/sprintf_variation28.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : octal formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation28_64bit.phpt b/ext/standard/tests/strings/sprintf_variation28_64bit.phpt index 403d8c687f..331cb4be7c 100644 --- a/ext/standard/tests/strings/sprintf_variation28_64bit.phpt +++ b/ext/standard/tests/strings/sprintf_variation28_64bit.phpt @@ -4,11 +4,6 @@ Test sprintf() function : usage variations - octal formats with integer values <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : octal formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation3.phpt b/ext/standard/tests/strings/sprintf_variation3.phpt index c5c1b6ccf3..e82adc7a2d 100644 --- a/ext/standard/tests/strings/sprintf_variation3.phpt +++ b/ext/standard/tests/strings/sprintf_variation3.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - int formats with int values --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : integer formats with integer values ***\n"; // different valid integer values diff --git a/ext/standard/tests/strings/sprintf_variation34.phpt b/ext/standard/tests/strings/sprintf_variation34.phpt index 4c4f15a170..a02f5cda6e 100644 --- a/ext/standard/tests/strings/sprintf_variation34.phpt +++ b/ext/standard/tests/strings/sprintf_variation34.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : hexa formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation34_64bit.phpt b/ext/standard/tests/strings/sprintf_variation34_64bit.phpt index 305c14c25b..aaaca43885 100644 --- a/ext/standard/tests/strings/sprintf_variation34_64bit.phpt +++ b/ext/standard/tests/strings/sprintf_variation34_64bit.phpt @@ -4,11 +4,6 @@ Test sprintf() function : usage variations - hexa formats with integer values <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : hexa formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation40.phpt b/ext/standard/tests/strings/sprintf_variation40.phpt index f4b04d9a9e..9b3890f15d 100644 --- a/ext/standard/tests/strings/sprintf_variation40.phpt +++ b/ext/standard/tests/strings/sprintf_variation40.phpt @@ -8,11 +8,6 @@ if (PHP_INT_SIZE != 4) { ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : unsigned formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation40_64bit.phpt b/ext/standard/tests/strings/sprintf_variation40_64bit.phpt index 57a740210c..da9b6949a1 100644 --- a/ext/standard/tests/strings/sprintf_variation40_64bit.phpt +++ b/ext/standard/tests/strings/sprintf_variation40_64bit.phpt @@ -4,11 +4,6 @@ Test sprintf() function : usage variations - unsigned formats with integer value <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : unsigned formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation46.phpt b/ext/standard/tests/strings/sprintf_variation46.phpt index 05750ee31e..aafea5c53e 100644 --- a/ext/standard/tests/strings/sprintf_variation46.phpt +++ b/ext/standard/tests/strings/sprintf_variation46.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - scientific formats with integer values --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : scientific formats with integer values ***\n"; // array of integer values diff --git a/ext/standard/tests/strings/sprintf_variation47.phpt b/ext/standard/tests/strings/sprintf_variation47.phpt index 8e50645b50..f0187b8918 100644 --- a/ext/standard/tests/strings/sprintf_variation47.phpt +++ b/ext/standard/tests/strings/sprintf_variation47.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - scientific formats with float values --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : scientific formats with float values ***\n"; // array of float values diff --git a/ext/standard/tests/strings/sprintf_variation52.phpt b/ext/standard/tests/strings/sprintf_variation52.phpt index bd7872133a..f41d7a182c 100644 --- a/ext/standard/tests/strings/sprintf_variation52.phpt +++ b/ext/standard/tests/strings/sprintf_variation52.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - typical format strings --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : with typical format strings ***\n"; // initialising required variables diff --git a/ext/standard/tests/strings/sprintf_variation53.phpt b/ext/standard/tests/strings/sprintf_variation53.phpt index b3a034c5a7..26f84a508d 100644 --- a/ext/standard/tests/strings/sprintf_variation53.phpt +++ b/ext/standard/tests/strings/sprintf_variation53.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - with whitespaces in format strings --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : with white spaces in format strings ***\n"; // initializing the format array diff --git a/ext/standard/tests/strings/sprintf_variation9.phpt b/ext/standard/tests/strings/sprintf_variation9.phpt index 59d7348426..e2f4d11324 100644 --- a/ext/standard/tests/strings/sprintf_variation9.phpt +++ b/ext/standard/tests/strings/sprintf_variation9.phpt @@ -2,11 +2,6 @@ Test sprintf() function : usage variations - float formats with float values --FILE-- <?php -/* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing sprintf() : float formats with float values ***\n"; // array of float type values diff --git a/ext/standard/tests/strings/sscanf_basic1.phpt b/ext/standard/tests/strings/sscanf_basic1.phpt index 388d80ea73..0c2adaaae8 100644 --- a/ext/standard/tests/strings/sscanf_basic1.phpt +++ b/ext/standard/tests/strings/sscanf_basic1.phpt @@ -2,11 +2,6 @@ Test sscanf() function : basic functionality - string format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - /* * Testing sscanf() : basic functionality */ diff --git a/ext/standard/tests/strings/sscanf_basic2.phpt b/ext/standard/tests/strings/sscanf_basic2.phpt index 2c29bcacce..f42cb450c9 100644 --- a/ext/standard/tests/strings/sscanf_basic2.phpt +++ b/ext/standard/tests/strings/sscanf_basic2.phpt @@ -2,11 +2,6 @@ Test sscanf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - /* * Testing sscanf() : basic functionality */ diff --git a/ext/standard/tests/strings/sscanf_basic3.phpt b/ext/standard/tests/strings/sscanf_basic3.phpt index e30f67aa44..fd25f314f9 100644 --- a/ext/standard/tests/strings/sscanf_basic3.phpt +++ b/ext/standard/tests/strings/sscanf_basic3.phpt @@ -3,11 +3,6 @@ Test sscanf() function : basic functionality - float format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality -- using float format ***\n"; $str = "Part: Widget Length: 111.53 Width: 22.345 Depth: 12.4"; diff --git a/ext/standard/tests/strings/sscanf_basic4.phpt b/ext/standard/tests/strings/sscanf_basic4.phpt index 2cf05383d5..beb21aeea5 100644 --- a/ext/standard/tests/strings/sscanf_basic4.phpt +++ b/ext/standard/tests/strings/sscanf_basic4.phpt @@ -3,11 +3,6 @@ Test sscanf() function : basic functionality - char format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality - using char format ***\n"; $str = "X = A + B - C"; diff --git a/ext/standard/tests/strings/sscanf_basic5.phpt b/ext/standard/tests/strings/sscanf_basic5.phpt index 16012f26cf..6346dfcf5b 100644 --- a/ext/standard/tests/strings/sscanf_basic5.phpt +++ b/ext/standard/tests/strings/sscanf_basic5.phpt @@ -3,11 +3,6 @@ Test sscanf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality -using exponential format ***\n"; $str = "10.12345 10.12345E3 10.12345e3 -10.12345e4" ; diff --git a/ext/standard/tests/strings/sscanf_basic6.phpt b/ext/standard/tests/strings/sscanf_basic6.phpt index 4b109b9584..dad84c3e63 100644 --- a/ext/standard/tests/strings/sscanf_basic6.phpt +++ b/ext/standard/tests/strings/sscanf_basic6.phpt @@ -9,11 +9,6 @@ if (PHP_INT_SIZE != 4) { --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality - using unsigned format ***\n"; $str = "-11 +11 11 -11.234 +11.234 11.234"; diff --git a/ext/standard/tests/strings/sscanf_basic7.phpt b/ext/standard/tests/strings/sscanf_basic7.phpt index daa93715d6..1d228ae617 100644 --- a/ext/standard/tests/strings/sscanf_basic7.phpt +++ b/ext/standard/tests/strings/sscanf_basic7.phpt @@ -3,11 +3,6 @@ Test sscanf() function : basic functionality - octal format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality - using octal format ***\n"; $str = "0123 -0123 +0123 0129 -0129 +0129"; diff --git a/ext/standard/tests/strings/sscanf_basic8.phpt b/ext/standard/tests/strings/sscanf_basic8.phpt index 0adcb3d516..1534b63629 100644 --- a/ext/standard/tests/strings/sscanf_basic8.phpt +++ b/ext/standard/tests/strings/sscanf_basic8.phpt @@ -3,11 +3,6 @@ Test sscanf() function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ - echo "*** Testing sscanf() : basic functionality - - using hexadecimal format ***\n"; $str = "129 12F 123B -123B 01ABC 1G"; diff --git a/ext/standard/tests/strings/sscanf_error.phpt b/ext/standard/tests/strings/sscanf_error.phpt index 0af8f9ed14..e04b5e2cbb 100644 --- a/ext/standard/tests/strings/sscanf_error.phpt +++ b/ext/standard/tests/strings/sscanf_error.phpt @@ -3,10 +3,6 @@ Test sscanf() function : error conditions --FILE-- <?php -/* Prototype : mixed sscanf ( string $str , string $format [, mixed &$... ] ) - * Description: Parses input from a string according to a format - * Source code: ext/standard/string.c -*/ echo "*** Testing sscanf() : error conditions ***\n"; $str = "Hello World"; diff --git a/ext/standard/tests/strings/str_contains.phpt b/ext/standard/tests/strings/str_contains.phpt index f54cd1c00c..efca334fee 100644 --- a/ext/standard/tests/strings/str_contains.phpt +++ b/ext/standard/tests/strings/str_contains.phpt @@ -2,10 +2,6 @@ Test str_contains() function --FILE-- <?php -/* Prototype: str_contains ( string $haystack , string $needle ) : bool - Description: Check if a string contains another string - Source code: ext/standard/string.c -*/ var_dump(str_contains("test string", "test")); var_dump(str_contains("test string", "string")); var_dump(str_contains("test string", "strin")); diff --git a/ext/standard/tests/strings/str_ends_with.phpt b/ext/standard/tests/strings/str_ends_with.phpt index 8aa5f0aa1c..92e4fc65f1 100644 --- a/ext/standard/tests/strings/str_ends_with.phpt +++ b/ext/standard/tests/strings/str_ends_with.phpt @@ -2,9 +2,6 @@ str_ends_with() function - unit tests for str_ends_with() --FILE-- <?php -/* Prototype: bool str_ends_with (string $haystack, string $needle); - Description: Determine if $haystack ends with $needle -*/ $testStr = "beginningMiddleEnd"; var_dump(str_ends_with($testStr, "End")); var_dump(str_ends_with($testStr, "end")); diff --git a/ext/standard/tests/strings/str_pad_variation1.phpt b/ext/standard/tests/strings/str_pad_variation1.phpt index 25b062d7a1..d0f953a184 100644 --- a/ext/standard/tests/strings/str_pad_variation1.phpt +++ b/ext/standard/tests/strings/str_pad_variation1.phpt @@ -8,11 +8,6 @@ if (getenv("USE_ZEND_ALLOC") === "0") { ?> --FILE-- <?php -/* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $pad_type ]] ) - * Description: Pad a string to a certain length with another string - * Source code: ext/standard/string.c -*/ - /* Test str_pad() function: with unexpected inputs for '$pad_length' * and expected type for '$input' */ diff --git a/ext/standard/tests/strings/str_pad_variation5.phpt b/ext/standard/tests/strings/str_pad_variation5.phpt index 41a70e675a..1a65366c82 100644 --- a/ext/standard/tests/strings/str_pad_variation5.phpt +++ b/ext/standard/tests/strings/str_pad_variation5.phpt @@ -11,11 +11,6 @@ if (getenv("USE_ZEND_ALLOC") === "0") { ?> --FILE-- <?php -/* Prototype : string str_pad ( string $input , int $pad_length [, string $pad_string [, int $pad_type ]] ) - * Description: Pad a string to a certain length with another string - * Source code: ext/standard/string.c -*/ - /* Test str_pad() function: with unexpected inputs for '$pad_length' * and expected type for '$input' */ diff --git a/ext/standard/tests/strings/str_repeat.phpt b/ext/standard/tests/strings/str_repeat.phpt Binary files differindex 73a17818ef..7919dfda21 100644 --- a/ext/standard/tests/strings/str_repeat.phpt +++ b/ext/standard/tests/strings/str_repeat.phpt diff --git a/ext/standard/tests/strings/str_replace_basic.phpt b/ext/standard/tests/strings/str_replace_basic.phpt index 7de2d498bb..bbabf198ee 100644 --- a/ext/standard/tests/strings/str_replace_basic.phpt +++ b/ext/standard/tests/strings/str_replace_basic.phpt @@ -4,13 +4,6 @@ Test str_replace() function basic function precision=14 --FILE-- <?php -/* - Prototype: mixed str_replace(mixed $search, mixed $replace, - mixed $subject [, int &$count]); - Description: Replace all occurrences of the search string with - the replacement string -*/ - echo "\n*** Testing str_replace() on basic operations ***\n"; var_dump( str_replace("", "", "") ); diff --git a/ext/standard/tests/strings/str_replace_variation1.phpt b/ext/standard/tests/strings/str_replace_variation1.phpt index 78b483ad93..aa7360a7f1 100644 --- a/ext/standard/tests/strings/str_replace_variation1.phpt +++ b/ext/standard/tests/strings/str_replace_variation1.phpt @@ -4,14 +4,6 @@ Test str_replace() function - test search values precision=14 --FILE-- <?php -/* - Prototype: mixed str_replace(mixed $search, mixed $replace, - mixed $subject [, int &$count]); - Description: Replace all occurrences of the search string with - the replacement string -*/ - - echo "\n*** Testing str_replace() with various search values ***"; $search_arr = array( TRUE, FALSE, 1, 0, -1, "1", "0", "-1", NULL, array(), "php", ""); diff --git a/ext/standard/tests/strings/str_replace_variation2.phpt b/ext/standard/tests/strings/str_replace_variation2.phpt Binary files differindex 92a1e8a975..1e92ff2bd2 100644 --- a/ext/standard/tests/strings/str_replace_variation2.phpt +++ b/ext/standard/tests/strings/str_replace_variation2.phpt diff --git a/ext/standard/tests/strings/str_replace_variation3.phpt b/ext/standard/tests/strings/str_replace_variation3.phpt index fba241924f..3c0562615a 100644 --- a/ext/standard/tests/strings/str_replace_variation3.phpt +++ b/ext/standard/tests/strings/str_replace_variation3.phpt @@ -5,8 +5,6 @@ precision=14 --FILE-- <?php /* - Prototype: mixed str_replace(mixed $search, mixed $replace, - mixed $subject [, int &$count]); Description: Replace all occurrences of the search string with the replacement string */ diff --git a/ext/standard/tests/strings/str_rot13_basic.phpt b/ext/standard/tests/strings/str_rot13_basic.phpt index bc071be2b4..5a71a93769 100644 --- a/ext/standard/tests/strings/str_rot13_basic.phpt +++ b/ext/standard/tests/strings/str_rot13_basic.phpt @@ -2,10 +2,6 @@ Test soundex() function : basic functionality --FILE-- <?php -/* Prototype : string str_rot13 ( string $str ) - * Description: Perform the rot13 transform on a string - * Source code: ext/standard/string.c -*/ echo "*** Testing str_rot13() : basic functionality ***\n"; echo "\nBasic tests\n"; diff --git a/ext/standard/tests/strings/str_shuffle_basic.phpt b/ext/standard/tests/strings/str_shuffle_basic.phpt index 8e857ff4ec..d077b30556 100644 --- a/ext/standard/tests/strings/str_shuffle_basic.phpt +++ b/ext/standard/tests/strings/str_shuffle_basic.phpt @@ -2,11 +2,6 @@ Test str_shuffle() function : basic functionality --FILE-- <?php -/* Prototype : string str_shuffle ( string $str ) - * Description: Randomly shuffles a string - * Source code: ext/standard/string.c -*/ - /* * Testing str_shuffle() : basic functionality */ diff --git a/ext/standard/tests/strings/str_split_basic.phpt b/ext/standard/tests/strings/str_split_basic.phpt index b9cc8068bc..ce0f1004c7 100644 --- a/ext/standard/tests/strings/str_split_basic.phpt +++ b/ext/standard/tests/strings/str_split_basic.phpt @@ -2,14 +2,6 @@ Test str_split() function : basic functionality --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - echo "*** Testing str_split() : basic functionality ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/str_split_variation3.phpt b/ext/standard/tests/strings/str_split_variation3.phpt Binary files differindex 6c2a3c83f8..dc8d9783fb 100644 --- a/ext/standard/tests/strings/str_split_variation3.phpt +++ b/ext/standard/tests/strings/str_split_variation3.phpt diff --git a/ext/standard/tests/strings/str_split_variation4.phpt b/ext/standard/tests/strings/str_split_variation4.phpt index caeba8a6f2..b10fd0c7d9 100644 --- a/ext/standard/tests/strings/str_split_variation4.phpt +++ b/ext/standard/tests/strings/str_split_variation4.phpt @@ -2,14 +2,6 @@ Test str_split() function : usage variations - different single quoted strings for 'str' argument --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different single quoted strings as 'str' argument to str_split() * split_length is set to 5 diff --git a/ext/standard/tests/strings/str_split_variation5.phpt b/ext/standard/tests/strings/str_split_variation5.phpt index 81247bc0ab..02c7d61eb1 100644 --- a/ext/standard/tests/strings/str_split_variation5.phpt +++ b/ext/standard/tests/strings/str_split_variation5.phpt @@ -2,14 +2,6 @@ Test str_split() function : usage variations - different heredoc strings as 'str' argument --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length] ) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Passing different heredoc strings as 'str' argument to the str_split() * with 'split_length' 10 diff --git a/ext/standard/tests/strings/str_split_variation6.phpt b/ext/standard/tests/strings/str_split_variation6.phpt index 4425baa01c..21843a618a 100644 --- a/ext/standard/tests/strings/str_split_variation6.phpt +++ b/ext/standard/tests/strings/str_split_variation6.phpt @@ -6,14 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different integer values for 'split_length' argument to str_split() */ diff --git a/ext/standard/tests/strings/str_split_variation6_64bit.phpt b/ext/standard/tests/strings/str_split_variation6_64bit.phpt index 4c52f9f68e..090459aac9 100644 --- a/ext/standard/tests/strings/str_split_variation6_64bit.phpt +++ b/ext/standard/tests/strings/str_split_variation6_64bit.phpt @@ -6,14 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different integer values for 'split_length' argument to str_split() */ diff --git a/ext/standard/tests/strings/str_split_variation7.phpt b/ext/standard/tests/strings/str_split_variation7.phpt index e1e1b1d6b4..f38ad89c60 100644 --- a/ext/standard/tests/strings/str_split_variation7.phpt +++ b/ext/standard/tests/strings/str_split_variation7.phpt @@ -6,14 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_split() */ diff --git a/ext/standard/tests/strings/str_split_variation7_64bit.phpt b/ext/standard/tests/strings/str_split_variation7_64bit.phpt index 1de0906b98..aa888ec846 100644 --- a/ext/standard/tests/strings/str_split_variation7_64bit.phpt +++ b/ext/standard/tests/strings/str_split_variation7_64bit.phpt @@ -6,14 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : array str_split(string $str [, int $split_length]) - * Description: Convert a string to an array. If split_length is - specified, break the string down into chunks each - split_length characters long. - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_split() */ diff --git a/ext/standard/tests/strings/str_starts_with.phpt b/ext/standard/tests/strings/str_starts_with.phpt index 776d945dae..552b298334 100644 --- a/ext/standard/tests/strings/str_starts_with.phpt +++ b/ext/standard/tests/strings/str_starts_with.phpt @@ -2,9 +2,6 @@ str_starts_with() function - unit tests for str_starts_with() --FILE-- <?php -/* Prototype: bool str_starts_with (string $haystack, string $needle); - Description: Determine if $haystack begins with $needle -*/ $testStr = "beginningMiddleEnd"; var_dump(str_starts_with($testStr, "beginning")); var_dump(str_starts_with($testStr, "Beginning")); diff --git a/ext/standard/tests/strings/strcspn_basic.phpt b/ext/standard/tests/strings/strcspn_basic.phpt index d31756050c..88ef76619b 100644 --- a/ext/standard/tests/strings/strcspn_basic.phpt +++ b/ext/standard/tests/strings/strcspn_basic.phpt @@ -2,13 +2,6 @@ Test strcspn() function : basic functionality --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided, it works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : basic functionality */ diff --git a/ext/standard/tests/strings/strcspn_variation10.phpt b/ext/standard/tests/strings/strcspn_variation10.phpt index 0b933b8049..fd69a5a576 100644 --- a/ext/standard/tests/strings/strcspn_variation10.phpt +++ b/ext/standard/tests/strings/strcspn_variation10.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with varying mask & default start and len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with varying mask and default start and len arguments */ diff --git a/ext/standard/tests/strings/strcspn_variation11.phpt b/ext/standard/tests/strings/strcspn_variation11.phpt index 9acefd074c..f491177f6b 100644 --- a/ext/standard/tests/strings/strcspn_variation11.phpt +++ b/ext/standard/tests/strings/strcspn_variation11.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with varying start and default len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with varying start and default len arguments */ diff --git a/ext/standard/tests/strings/strcspn_variation12.phpt b/ext/standard/tests/strings/strcspn_variation12.phpt index 83530aee71..c4103e8a99 100644 --- a/ext/standard/tests/strings/strcspn_variation12.phpt +++ b/ext/standard/tests/strings/strcspn_variation12.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with varying start and len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with varying start and len arguments */ diff --git a/ext/standard/tests/strings/strcspn_variation6.phpt b/ext/standard/tests/strings/strcspn_variation6.phpt index dc8ceb6ddf..7ac6f354a5 100644 --- a/ext/standard/tests/strings/strcspn_variation6.phpt +++ b/ext/standard/tests/strings/strcspn_variation6.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with heredoc string, varying mask and default start and len arguments */ diff --git a/ext/standard/tests/strings/strcspn_variation7.phpt b/ext/standard/tests/strings/strcspn_variation7.phpt index 6c88b45f28..2b89e1efa3 100644 --- a/ext/standard/tests/strings/strcspn_variation7.phpt +++ b/ext/standard/tests/strings/strcspn_variation7.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with heredoc strings, varying start and default len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [, int start [,int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with heredoc string, varying start and default len arguments */ diff --git a/ext/standard/tests/strings/strcspn_variation8.phpt b/ext/standard/tests/strings/strcspn_variation8.phpt index 388d9156a5..6689d2b52f 100644 --- a/ext/standard/tests/strings/strcspn_variation8.phpt +++ b/ext/standard/tests/strings/strcspn_variation8.phpt @@ -2,13 +2,6 @@ Test strcspn() function : usage variations - with heredoc strings, varying start and len args --FILE-- <?php -/* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters not found in mask. - If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strcspn() : with heredoc string, varying start and len arguments */ diff --git a/ext/standard/tests/strings/strip_tags_basic1.phpt b/ext/standard/tests/strings/strip_tags_basic1.phpt index 77cab23876..b930e5851b 100644 --- a/ext/standard/tests/strings/strip_tags_basic1.phpt +++ b/ext/standard/tests/strings/strip_tags_basic1.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : basic functionality - with default arguments --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - echo "*** Testing strip_tags() : basic functionality ***\n"; // array of arguments diff --git a/ext/standard/tests/strings/strip_tags_basic2.phpt b/ext/standard/tests/strings/strip_tags_basic2.phpt index 854c267b22..6d961bc133 100644 --- a/ext/standard/tests/strings/strip_tags_basic2.phpt +++ b/ext/standard/tests/strings/strip_tags_basic2.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : basic functionality - with all arguments --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - echo "*** Testing strip_tags() : basic functionality ***\n"; // Calling strip_tags() with all possible arguments diff --git a/ext/standard/tests/strings/strip_tags_variation10.phpt b/ext/standard/tests/strings/strip_tags_variation10.phpt index f04f06a527..73e775a13e 100644 --- a/ext/standard/tests/strings/strip_tags_variation10.phpt +++ b/ext/standard/tests/strings/strip_tags_variation10.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - single quoted strings --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving single quoted strings as values for $str argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation2.phpt b/ext/standard/tests/strings/strip_tags_variation2.phpt index 1a504530d2..794933e7c0 100644 --- a/ext/standard/tests/strings/strip_tags_variation2.phpt +++ b/ext/standard/tests/strings/strip_tags_variation2.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - unexpected values for 'allowable_tags' --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving unexpected values for $allowable_tags argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation4.phpt b/ext/standard/tests/strings/strip_tags_variation4.phpt index 484438ef6e..f82be502a1 100644 --- a/ext/standard/tests/strings/strip_tags_variation4.phpt +++ b/ext/standard/tests/strings/strip_tags_variation4.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - invalid values for 'str' and valid 'allowable_tags' --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving invalid values for $str and valid values for $allowable_tags argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation5.phpt b/ext/standard/tests/strings/strip_tags_variation5.phpt index e96d2c55c1..71406c289e 100644 --- a/ext/standard/tests/strings/strip_tags_variation5.phpt +++ b/ext/standard/tests/strings/strip_tags_variation5.phpt @@ -2,12 +2,6 @@ Test strip_tags() function : usage variations - heredoc strings --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - - /* * testing functionality of strip_tags() by giving heredoc strings as values for $str argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation6.phpt b/ext/standard/tests/strings/strip_tags_variation6.phpt index 3fbda44023..be46406e02 100644 --- a/ext/standard/tests/strings/strip_tags_variation6.phpt +++ b/ext/standard/tests/strings/strip_tags_variation6.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - binary safe checking --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing whether strip_tags() is binary safe or not */ diff --git a/ext/standard/tests/strings/strip_tags_variation7.phpt b/ext/standard/tests/strings/strip_tags_variation7.phpt index 7c2d9255d6..0c00a6c14c 100644 --- a/ext/standard/tests/strings/strip_tags_variation7.phpt +++ b/ext/standard/tests/strings/strip_tags_variation7.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - invalid values for 'str' and 'allowable_tags' --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving invalid values for $str and $allowable_tags argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation8.phpt b/ext/standard/tests/strings/strip_tags_variation8.phpt index e44e296c5d..5a61568d4e 100644 --- a/ext/standard/tests/strings/strip_tags_variation8.phpt +++ b/ext/standard/tests/strings/strip_tags_variation8.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - valid value for 'str' and invalid values for 'allowable_tags' --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving valid value for $str and invalid values for $allowable_tags argument */ diff --git a/ext/standard/tests/strings/strip_tags_variation9.phpt b/ext/standard/tests/strings/strip_tags_variation9.phpt index a4e9951ba5..fc4936525d 100644 --- a/ext/standard/tests/strings/strip_tags_variation9.phpt +++ b/ext/standard/tests/strings/strip_tags_variation9.phpt @@ -2,11 +2,6 @@ Test strip_tags() function : usage variations - double quoted strings --FILE-- <?php -/* Prototype : string strip_tags(string $str [, string $allowable_tags]) - * Description: Strips HTML and PHP tags from a string - * Source code: ext/standard/string.c -*/ - /* * testing functionality of strip_tags() by giving double quoted strings as values for $str argument */ diff --git a/ext/standard/tests/strings/stripcslashes_basic.phpt b/ext/standard/tests/strings/stripcslashes_basic.phpt index 70538b75b0..fecef85c42 100644 --- a/ext/standard/tests/strings/stripcslashes_basic.phpt +++ b/ext/standard/tests/strings/stripcslashes_basic.phpt @@ -3,12 +3,6 @@ Test stripcslashes() function : basic functionality --FILE-- <?php -/* Prototype : string stripcslashes ( string $str ) - * Description: Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., - * octal and hexadecimal representation. - * Source code: ext/standard/string.c -*/ - echo "*** Testing stripcslashes() : basic functionality ***\n"; var_dump(stripcslashes('\H\e\l\l\o \W\or\l\d')); var_dump(stripcslashes('Hello World\\r\\n')); diff --git a/ext/standard/tests/strings/stripos_basic1.phpt b/ext/standard/tests/strings/stripos_basic1.phpt index a9424b60c3..51e6ce2e4f 100644 --- a/ext/standard/tests/strings/stripos_basic1.phpt +++ b/ext/standard/tests/strings/stripos_basic1.phpt @@ -2,11 +2,6 @@ Test stripos() function : basic functionality - with default arguments --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - echo "*** Testing stripos() function: basic functionality ***\n"; $heredoc_str = <<<Identifier Hello, World diff --git a/ext/standard/tests/strings/stripos_basic2.phpt b/ext/standard/tests/strings/stripos_basic2.phpt index b2dbece174..02949fbbd3 100644 --- a/ext/standard/tests/strings/stripos_basic2.phpt +++ b/ext/standard/tests/strings/stripos_basic2.phpt @@ -2,11 +2,6 @@ Test stripos() function : basic functionality - with all arguments --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - echo "*** Testing stripos() function: basic functionality ***\n"; $heredoc_str = <<<Identifier Hello, World diff --git a/ext/standard/tests/strings/stripos_error.phpt b/ext/standard/tests/strings/stripos_error.phpt index 57ad35135f..a3e805a709 100644 --- a/ext/standard/tests/strings/stripos_error.phpt +++ b/ext/standard/tests/strings/stripos_error.phpt @@ -2,11 +2,6 @@ Test stripos() function : error conditions --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - echo "*** Testing stripos() function: error conditions ***\n"; echo "\n-- Offset beyond the end of the string --\n"; diff --git a/ext/standard/tests/strings/stripos_variation1.phpt b/ext/standard/tests/strings/stripos_variation1.phpt index c34917ffce..47a0b10b5e 100644 --- a/ext/standard/tests/strings/stripos_variation1.phpt +++ b/ext/standard/tests/strings/stripos_variation1.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - double quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing double quoted strings for 'haystack' & 'needle' arguments */ echo "*** Testing stripos() function: with double quoted strings ***\n"; diff --git a/ext/standard/tests/strings/stripos_variation10.phpt b/ext/standard/tests/strings/stripos_variation10.phpt index 92592de0f5..156023c728 100644 --- a/ext/standard/tests/strings/stripos_variation10.phpt +++ b/ext/standard/tests/strings/stripos_variation10.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - unexpected inputs for 'needle' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function with unexpected inputs for 'needle' and * an expected type of input for 'haystack' argument */ diff --git a/ext/standard/tests/strings/stripos_variation11.phpt b/ext/standard/tests/strings/stripos_variation11.phpt index b1e72e3e4c..6d9df2bd2e 100644 --- a/ext/standard/tests/strings/stripos_variation11.phpt +++ b/ext/standard/tests/strings/stripos_variation11.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - unexpected inputs for 'haystack' and 'needle' arguments --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function with unexpected inputs for 'haystack' and 'needle' arguments */ echo "*** Testing stripos() function with unexpected values for haystack and needle ***\n"; diff --git a/ext/standard/tests/strings/stripos_variation12.phpt b/ext/standard/tests/strings/stripos_variation12.phpt index cc419787d6..71fb0924f2 100644 --- a/ext/standard/tests/strings/stripos_variation12.phpt +++ b/ext/standard/tests/strings/stripos_variation12.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - null terminated strings for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function with null terminated strings for 'haystack' argument * in order to check the binary safe */ diff --git a/ext/standard/tests/strings/stripos_variation13.phpt b/ext/standard/tests/strings/stripos_variation13.phpt index a641489755..e86548ee6d 100644 --- a/ext/standard/tests/strings/stripos_variation13.phpt +++ b/ext/standard/tests/strings/stripos_variation13.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - null terminated strings for 'needle' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function with null terminated strings for 'needle' argument * in order to check binary safe */ diff --git a/ext/standard/tests/strings/stripos_variation2.phpt b/ext/standard/tests/strings/stripos_variation2.phpt index 294b088d02..bc176eecfe 100644 --- a/ext/standard/tests/strings/stripos_variation2.phpt +++ b/ext/standard/tests/strings/stripos_variation2.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - single quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing single quoted strings to 'haystack' & 'needle' arguments */ echo "*** Testing stripos() function: with single quoted strings ***\n"; diff --git a/ext/standard/tests/strings/stripos_variation3.phpt b/ext/standard/tests/strings/stripos_variation3.phpt index 32faf63871..894d262aef 100644 --- a/ext/standard/tests/strings/stripos_variation3.phpt +++ b/ext/standard/tests/strings/stripos_variation3.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - multi line heredoc string for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing multi-line heredoc string for haystack and * with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripos_variation4.phpt b/ext/standard/tests/strings/stripos_variation4.phpt index f9b43e15ba..b4e4b071d1 100644 --- a/ext/standard/tests/strings/stripos_variation4.phpt +++ b/ext/standard/tests/strings/stripos_variation4.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - heredoc string containing special chars for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing heredoc string containing special chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripos_variation5.phpt b/ext/standard/tests/strings/stripos_variation5.phpt index 095937fabf..7368903e7c 100644 --- a/ext/standard/tests/strings/stripos_variation5.phpt +++ b/ext/standard/tests/strings/stripos_variation5.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - heredoc string containing escape chars for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing heredoc string containing escape chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripos_variation6.phpt b/ext/standard/tests/strings/stripos_variation6.phpt index fc441e1088..d2be564d02 100644 --- a/ext/standard/tests/strings/stripos_variation6.phpt +++ b/ext/standard/tests/strings/stripos_variation6.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - heredoc string containing quotes for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing heredoc string containing quotes for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripos_variation7.phpt b/ext/standard/tests/strings/stripos_variation7.phpt index f6b1239973..b9aa7db118 100644 --- a/ext/standard/tests/strings/stripos_variation7.phpt +++ b/ext/standard/tests/strings/stripos_variation7.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - empty heredoc string for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function by passing empty heredoc string for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripos_variation8.phpt b/ext/standard/tests/strings/stripos_variation8.phpt index 41ff384c38..675e557c62 100644 --- a/ext/standard/tests/strings/stripos_variation8.phpt +++ b/ext/standard/tests/strings/stripos_variation8.phpt @@ -2,11 +2,6 @@ Test stripos() function : usage variations - repetitive chars for 'haystack' argument --FILE-- <?php -/* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of first occurrence of a case-insensitive string - * Source code: ext/standard/string.c -*/ - /* Test stripos() function with strings containing repetitive chars for haystak * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/stripslashes_basic.phpt b/ext/standard/tests/strings/stripslashes_basic.phpt Binary files differindex 3e0fb6f2ab..f1da924fee 100644 --- a/ext/standard/tests/strings/stripslashes_basic.phpt +++ b/ext/standard/tests/strings/stripslashes_basic.phpt diff --git a/ext/standard/tests/strings/stripslashes_variation2.phpt b/ext/standard/tests/strings/stripslashes_variation2.phpt Binary files differindex fdca660c4d..d0d474d14d 100644 --- a/ext/standard/tests/strings/stripslashes_variation2.phpt +++ b/ext/standard/tests/strings/stripslashes_variation2.phpt diff --git a/ext/standard/tests/strings/stripslashes_variation3.phpt b/ext/standard/tests/strings/stripslashes_variation3.phpt index 54a8b3d02e..a2e909b230 100644 --- a/ext/standard/tests/strings/stripslashes_variation3.phpt +++ b/ext/standard/tests/strings/stripslashes_variation3.phpt @@ -2,11 +2,6 @@ Test stripslashes() function : usage variations - strings with newline and tab characters --FILE-- <?php -/* Prototype : string stripslashes ( string $str ) - * Description: Returns an un-quoted string - * Source code: ext/standard/string.c -*/ - /* * Test stripslashes() with strings containing newline and tab characters. */ diff --git a/ext/standard/tests/strings/stripslashes_variation4.phpt b/ext/standard/tests/strings/stripslashes_variation4.phpt index 32e0c2fdc3..8eca3f2352 100644 --- a/ext/standard/tests/strings/stripslashes_variation4.phpt +++ b/ext/standard/tests/strings/stripslashes_variation4.phpt @@ -2,11 +2,6 @@ Test stripslashes() function : usage variations - double dimensional arrays --FILE-- <?php -/* Prototype : string stripslashes ( string $str ) - * Description: Returns an un-quoted string - * Source code: ext/standard/string.c -*/ - /* * Test stripslashes() with double dimensional arrays */ diff --git a/ext/standard/tests/strings/stristr_basic.phpt b/ext/standard/tests/strings/stristr_basic.phpt index f95f9d2b1e..922e11b7d5 100644 --- a/ext/standard/tests/strings/stristr_basic.phpt +++ b/ext/standard/tests/strings/stristr_basic.phpt @@ -2,9 +2,6 @@ Test stristr() function : basic functionality --FILE-- <?php -/* Prototype: string stristr ( string $haystack , mixed $needle [, bool $before_needle ] ) - Description: Case-insensitive strstr(). -*/ echo "*** Testing stristr() : basic functionality ***\n"; diff --git a/ext/standard/tests/strings/stristr_variation2.phpt b/ext/standard/tests/strings/stristr_variation2.phpt index 27cecec3c2..fdc48a0922 100644 --- a/ext/standard/tests/strings/stristr_variation2.phpt +++ b/ext/standard/tests/strings/stristr_variation2.phpt @@ -3,10 +3,6 @@ Test stristr() function : usage variations - test values for $needle argument --FILE-- <?php -/* Prototype: string stristr ( string $haystack, string $needle ); - Description: Case-insensitive strstr(). -*/ - echo "*** Testing stristr() function: with unexpected inputs for 'needle' argument ***\n"; //get an unset variable diff --git a/ext/standard/tests/strings/strlen_basic.phpt b/ext/standard/tests/strings/strlen_basic.phpt index fce6d70da0..428d1a1709 100644 --- a/ext/standard/tests/strings/strlen_basic.phpt +++ b/ext/standard/tests/strings/strlen_basic.phpt @@ -3,11 +3,6 @@ Test strlen() function : basic functionality --FILE-- <?php -/* Prototype : int strlen ( string $string ) - * Description: Get string length - * Source code: ext/standard/string.c -*/ - echo "*** Testing strlen() : basic functionality ***\n"; var_dump(strlen("abcdef")); var_dump(strlen(" ab de ")); diff --git a/ext/standard/tests/strings/strnatcasecmp_basic.phpt b/ext/standard/tests/strings/strnatcasecmp_basic.phpt index 5968980642..fd799051ec 100644 --- a/ext/standard/tests/strings/strnatcasecmp_basic.phpt +++ b/ext/standard/tests/strings/strnatcasecmp_basic.phpt @@ -4,12 +4,6 @@ Test strnatcasecmp() function : basic functionality Felix De Vliegher <felix.devliegher@gmail.com> --FILE-- <?php -/* Prototype : int strnatcasecmp(string s1, string s2) - * Description: Returns the result of case-insensitive string comparison using 'natural' algorithm - * Source code: ext/standard/string.c - * Alias to functions: - */ - function str_dump($one, $two) { var_dump(strnatcasecmp($one, $two)); } diff --git a/ext/standard/tests/strings/strnatcasecmp_variation1.phpt b/ext/standard/tests/strings/strnatcasecmp_variation1.phpt index 44d2a09c5a..dff57b3372 100644 --- a/ext/standard/tests/strings/strnatcasecmp_variation1.phpt +++ b/ext/standard/tests/strings/strnatcasecmp_variation1.phpt @@ -4,12 +4,6 @@ Test strnatcasecmp() function : variation Felix De Vliegher <felix.devliegher@gmail.com> --FILE-- <?php -/* Prototype : int strnatcasecmp(string s1, string s2) - * Description: Returns the result of case-insensitive string comparison using 'natural' algorithm - * Source code: ext/standard/string.c - * Alias to functions: - */ - /* Preparation */ class a { diff --git a/ext/standard/tests/strings/strnatcmp_basic.phpt b/ext/standard/tests/strings/strnatcmp_basic.phpt index 8f303e7395..e7cb3586f9 100644 --- a/ext/standard/tests/strings/strnatcmp_basic.phpt +++ b/ext/standard/tests/strings/strnatcmp_basic.phpt @@ -2,10 +2,6 @@ Test strnatcmp() function : basic functionality --FILE-- <?php -/* Prototype : int strnatcmp ( string $str1 , string $str2 ) - * Description: String comparisons using a "natural order" algorithm - * Source code: ext/standard/string.c -*/ echo "*** Testing strnatcmp() : basic functionality ***\n"; $a1 = "abc1"; diff --git a/ext/standard/tests/strings/strnatcmp_leftalign.phpt b/ext/standard/tests/strings/strnatcmp_leftalign.phpt index d00b3b83f0..bdff3d2181 100644 --- a/ext/standard/tests/strings/strnatcmp_leftalign.phpt +++ b/ext/standard/tests/strings/strnatcmp_leftalign.phpt @@ -4,11 +4,6 @@ Test strnatcmp() function : left align, whitespace, digits Sol Richardson <sr5732358@hotmail.com> --FILE-- <?php -/* Prototype : int strnatcmp ( string $str1 , string $str2 ) -* Description: String comparisons using a "natural order" algorithm -* Source code: ext/standard/string.c -*/ - echo "-- Testing strnatcmp() function whitespace, left-align, digit --\n"; echo "-- Leading whitespace, digits, string 1 longer --\n"; $str1 = " 00"; diff --git a/ext/standard/tests/strings/strncasecmp_basic.phpt b/ext/standard/tests/strings/strncasecmp_basic.phpt index c021483359..39c06c4591 100644 --- a/ext/standard/tests/strings/strncasecmp_basic.phpt +++ b/ext/standard/tests/strings/strncasecmp_basic.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function : basic functionality --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - echo "*** Testing strncasecmp() function: basic functionality ***\n"; echo "-- Testing strncasecmp() with single quoted string --\n"; diff --git a/ext/standard/tests/strings/strncasecmp_error.phpt b/ext/standard/tests/strings/strncasecmp_error.phpt index f120f4af82..6b303c0607 100644 --- a/ext/standard/tests/strings/strncasecmp_error.phpt +++ b/ext/standard/tests/strings/strncasecmp_error.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function : error conditions --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - echo "*** Testing strncasecmp() function: error conditions ***\n"; $str1 = 'string_val'; $str2 = 'string_val'; diff --git a/ext/standard/tests/strings/strncasecmp_variation1.phpt b/ext/standard/tests/strings/strncasecmp_variation1.phpt index eabc164481..a63879bef8 100644 --- a/ext/standard/tests/strings/strncasecmp_variation1.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation1.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function: usage variations - case-sensitivity --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with upper-case and lower-case alphabets as inputs for 'str1' and 'str2' */ echo "*** Test strncasecmp() function: with alphabets ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation2.phpt b/ext/standard/tests/strings/strncasecmp_variation2.phpt index a6f8c1ebb8..19b56f3e1e 100644 --- a/ext/standard/tests/strings/strncasecmp_variation2.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation2.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function: usage variations - double quoted strings --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with various double quoted strings for 'str1', 'str2' */ echo "*** Test strncasecmp() function: with double quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation3.phpt b/ext/standard/tests/strings/strncasecmp_variation3.phpt index b6d0f2917b..c81ef24bb7 100644 --- a/ext/standard/tests/strings/strncasecmp_variation3.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation3.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function: usage variations - various lengths --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() with various lengths */ echo "*** Test strncasecmp() function: with different lengths ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation6.phpt b/ext/standard/tests/strings/strncasecmp_variation6.phpt index 5c6bdf6d22..78a0ddd549 100644 --- a/ext/standard/tests/strings/strncasecmp_variation6.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation6.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function : usage variations - binary safe - all ASCII chars --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with binary values passed to 'str1' & 'str2' */ echo "*** Test strncasecmp() function: with binary inputs ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation7.phpt b/ext/standard/tests/strings/strncasecmp_variation7.phpt index 0c711ea42f..ed9a89e25a 100644 --- a/ext/standard/tests/strings/strncasecmp_variation7.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation7.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function : usage variations - binary safe --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with null terminated strings and binary values passed to 'str1' & 'str2' */ echo "*** Test strncasecmp() function: with null terminated strings and binary inputs ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation8.phpt b/ext/standard/tests/strings/strncasecmp_variation8.phpt index 680653af90..b0a6f2fcc4 100644 --- a/ext/standard/tests/strings/strncasecmp_variation8.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation8.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function: usage variations - single quoted strings --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with various single quoted strings for 'str1', 'str2' */ echo "*** Test strncasecmp() function: with single quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strncasecmp_variation9.phpt b/ext/standard/tests/strings/strncasecmp_variation9.phpt index caa2deccf2..72e8e1e443 100644 --- a/ext/standard/tests/strings/strncasecmp_variation9.phpt +++ b/ext/standard/tests/strings/strncasecmp_variation9.phpt @@ -2,11 +2,6 @@ Test strncasecmp() function: usage variations - heredoc strings --FILE-- <?php -/* Prototype : int strncasecmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-insensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncasecmp() function with here-doc strings for 'str1', 'str2' */ echo "*** Test strncasecmp() function: with here-doc strings ***\n"; diff --git a/ext/standard/tests/strings/strncmp_basic.phpt b/ext/standard/tests/strings/strncmp_basic.phpt index a836e591a5..f0344f4c74 100644 --- a/ext/standard/tests/strings/strncmp_basic.phpt +++ b/ext/standard/tests/strings/strncmp_basic.phpt @@ -2,11 +2,6 @@ Test strncmp() function : basic functionality --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - echo "*** Testing strncmp() function: basic functionality ***\n"; echo "-- Testing strncmp() with single quoted string --\n"; diff --git a/ext/standard/tests/strings/strncmp_error.phpt b/ext/standard/tests/strings/strncmp_error.phpt index e67b5d77e9..d5566a3f05 100644 --- a/ext/standard/tests/strings/strncmp_error.phpt +++ b/ext/standard/tests/strings/strncmp_error.phpt @@ -2,11 +2,6 @@ Test strncmp() function : error conditions --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with more/less number of args and invalid args */ echo "*** Testing strncmp() function: error conditions ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation1.phpt b/ext/standard/tests/strings/strncmp_variation1.phpt index 7bc91784b3..03353b4206 100644 --- a/ext/standard/tests/strings/strncmp_variation1.phpt +++ b/ext/standard/tests/strings/strncmp_variation1.phpt @@ -2,11 +2,6 @@ Test strncmp() function: usage variations - case-sensitivity --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with upper-case and lower-case alphabets as inputs for 'str1' and 'str2' */ echo "*** Test strncmp() function: with alphabets ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation2.phpt b/ext/standard/tests/strings/strncmp_variation2.phpt index 3c74522417..d871a96005 100644 --- a/ext/standard/tests/strings/strncmp_variation2.phpt +++ b/ext/standard/tests/strings/strncmp_variation2.phpt @@ -2,11 +2,6 @@ Test strncmp() function: usage variations - double quoted strings --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with double quoted strings for 'str1', 'str2' */ echo "*** Test strncmp() function: with double quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation3.phpt b/ext/standard/tests/strings/strncmp_variation3.phpt index 6a703c7050..6375f630f8 100644 --- a/ext/standard/tests/strings/strncmp_variation3.phpt +++ b/ext/standard/tests/strings/strncmp_variation3.phpt @@ -2,11 +2,6 @@ Test strncmp() function: usage variations - different lengths --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() with various lengths */ echo "*** Test strncmp() function: with different lengths ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation7.phpt b/ext/standard/tests/strings/strncmp_variation7.phpt index 6634b22c4e..0bdc2c4a58 100644 --- a/ext/standard/tests/strings/strncmp_variation7.phpt +++ b/ext/standard/tests/strings/strncmp_variation7.phpt @@ -2,11 +2,6 @@ Test strncmp() function : usage variations - binary safe(null terminated strings) --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminated strings */ echo "*** Test strncmp() function: Checking with the null terminated strings ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation8.phpt b/ext/standard/tests/strings/strncmp_variation8.phpt index 9d8c841d68..ff4864e15e 100644 --- a/ext/standard/tests/strings/strncmp_variation8.phpt +++ b/ext/standard/tests/strings/strncmp_variation8.phpt @@ -2,11 +2,6 @@ Test strncmp() function: usage variations - single quoted strings --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with single quoted strings for 'str1', 'str2' */ echo "*** Test strncmp() function: with single quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strncmp_variation9.phpt b/ext/standard/tests/strings/strncmp_variation9.phpt index 194642fad4..baa9691d78 100644 --- a/ext/standard/tests/strings/strncmp_variation9.phpt +++ b/ext/standard/tests/strings/strncmp_variation9.phpt @@ -2,11 +2,6 @@ Test strncmp() function: usage variations - different inputs(heredoc strings) --FILE-- <?php -/* Prototype : int strncmp ( string $str1, string $str2, int $len ); - * Description: Binary safe case-sensitive string comparison of the first n characters - * Source code: Zend/zend_builtin_functions.c -*/ - /* Test strncmp() function with different strings for 'str1', 'str2' and considering case sensitive */ echo "*** Test strncmp() function: with different input strings ***\n"; diff --git a/ext/standard/tests/strings/strpbrk_basic.phpt b/ext/standard/tests/strings/strpbrk_basic.phpt index f5a0306eaf..a9a798fe51 100644 --- a/ext/standard/tests/strings/strpbrk_basic.phpt +++ b/ext/standard/tests/strings/strpbrk_basic.phpt @@ -2,12 +2,6 @@ Test strpbrk() function : basic functionality --FILE-- <?php -/* Prototype : array strpbrk(string haystack, string char_list) - * Description: Search a string for any of a set of characters - * Source code: ext/standard/string.c - * Alias to functions: - */ - echo "*** Testing strpbrk() : basic functionality ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/strpbrk_error.phpt b/ext/standard/tests/strings/strpbrk_error.phpt index 2c6584f8bd..78550ab009 100644 --- a/ext/standard/tests/strings/strpbrk_error.phpt +++ b/ext/standard/tests/strings/strpbrk_error.phpt @@ -2,12 +2,6 @@ Test strpbrk() function : error conditions --FILE-- <?php -/* Prototype : array strpbrk(string haystack, string char_list) - * Description: Search a string for any of a set of characters - * Source code: ext/standard/string.c - * Alias to functions: - */ - $haystack = 'This is a Simple text.'; echo "-- Testing strpbrk() function with empty second argument --\n"; diff --git a/ext/standard/tests/strings/strpos.phpt b/ext/standard/tests/strings/strpos.phpt Binary files differindex 1c9045b76a..e7c35ab270 100644 --- a/ext/standard/tests/strings/strpos.phpt +++ b/ext/standard/tests/strings/strpos.phpt diff --git a/ext/standard/tests/strings/strrchr_basic.phpt b/ext/standard/tests/strings/strrchr_basic.phpt index 822a755322..23ae46fd14 100644 --- a/ext/standard/tests/strings/strrchr_basic.phpt +++ b/ext/standard/tests/strings/strrchr_basic.phpt @@ -2,11 +2,6 @@ Test strrchr() function : basic functionality --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing strrchr() function: basic functionality ***\n"; var_dump( strrchr("Hello, World", "H") ); //needle as single char var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack diff --git a/ext/standard/tests/strings/strrchr_variation1.phpt b/ext/standard/tests/strings/strrchr_variation1.phpt Binary files differindex f28571ba7f..9617f5fff2 100644 --- a/ext/standard/tests/strings/strrchr_variation1.phpt +++ b/ext/standard/tests/strings/strrchr_variation1.phpt diff --git a/ext/standard/tests/strings/strrchr_variation10.phpt b/ext/standard/tests/strings/strrchr_variation10.phpt index 269c2e09cc..4f28ad4e6b 100644 --- a/ext/standard/tests/strings/strrchr_variation10.phpt +++ b/ext/standard/tests/strings/strrchr_variation10.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - unexpected inputs for needle --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function: with unexpected inputs for needle * and expected type for haystack */ diff --git a/ext/standard/tests/strings/strrchr_variation11.phpt b/ext/standard/tests/strings/strrchr_variation11.phpt index 7944ff82c6..287d81c11c 100644 --- a/ext/standard/tests/strings/strrchr_variation11.phpt +++ b/ext/standard/tests/strings/strrchr_variation11.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - unexpected inputs for haystack and needle --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function with unexpected inputs for haystack and needle */ echo "*** Testing strrchr() function: with unexpected inputs for haystack and needle ***\n"; diff --git a/ext/standard/tests/strings/strrchr_variation12.phpt b/ext/standard/tests/strings/strrchr_variation12.phpt Binary files differindex a17902604a..972ff3e703 100644 --- a/ext/standard/tests/strings/strrchr_variation12.phpt +++ b/ext/standard/tests/strings/strrchr_variation12.phpt diff --git a/ext/standard/tests/strings/strrchr_variation2.phpt b/ext/standard/tests/strings/strrchr_variation2.phpt index e6e510dd55..72bb3fb0d3 100644 --- a/ext/standard/tests/strings/strrchr_variation2.phpt +++ b/ext/standard/tests/strings/strrchr_variation2.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - single quoted strings --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing various single quoted strings to 'haystack' & 'needle' */ echo "*** Testing strrchr() function: with various single quoted strings ***"; diff --git a/ext/standard/tests/strings/strrchr_variation3.phpt b/ext/standard/tests/strings/strrchr_variation3.phpt index a9695fad6f..b536dd5b6b 100644 --- a/ext/standard/tests/strings/strrchr_variation3.phpt +++ b/ext/standard/tests/strings/strrchr_variation3.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - multi line heredoc string for 'haystack' --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing multi-line heredoc string for haystack and * with various needles */ diff --git a/ext/standard/tests/strings/strrchr_variation4.phpt b/ext/standard/tests/strings/strrchr_variation4.phpt index 1bef8a9512..dfec9f8233 100644 --- a/ext/standard/tests/strings/strrchr_variation4.phpt +++ b/ext/standard/tests/strings/strrchr_variation4.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack' --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing heredoc string containing special chars for haystack * and with various needles */ diff --git a/ext/standard/tests/strings/strrchr_variation6.phpt b/ext/standard/tests/strings/strrchr_variation6.phpt index fff943b179..cec657c6d4 100644 --- a/ext/standard/tests/strings/strrchr_variation6.phpt +++ b/ext/standard/tests/strings/strrchr_variation6.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - heredoc string containing quote chars for 'haystack' --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing heredoc string containing quote chars for haystack * and with various needles */ diff --git a/ext/standard/tests/strings/strrchr_variation7.phpt b/ext/standard/tests/strings/strrchr_variation7.phpt index bd58189c20..f27c47491a 100644 --- a/ext/standard/tests/strings/strrchr_variation7.phpt +++ b/ext/standard/tests/strings/strrchr_variation7.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - heredoc string containing blank line for 'haystack' --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing heredoc string containing * blank-line for haystack and with various needles */ diff --git a/ext/standard/tests/strings/strrchr_variation8.phpt b/ext/standard/tests/strings/strrchr_variation8.phpt index 31a727ed6f..826db29dfd 100644 --- a/ext/standard/tests/strings/strrchr_variation8.phpt +++ b/ext/standard/tests/strings/strrchr_variation8.phpt @@ -2,11 +2,6 @@ Test strrchr() function : usage variations - empty heredoc string for 'haystack' --FILE-- <?php -/* Prototype : string strrchr(string $haystack, string $needle); - * Description: Finds the last occurrence of a character in a string. - * Source code: ext/standard/string.c -*/ - /* Test strrchr() function by passing empty heredoc string for haystack * and with various needles */ diff --git a/ext/standard/tests/strings/strrev_basic.phpt b/ext/standard/tests/strings/strrev_basic.phpt index 64687272c0..357ae5140f 100644 --- a/ext/standard/tests/strings/strrev_basic.phpt +++ b/ext/standard/tests/strings/strrev_basic.phpt @@ -2,11 +2,6 @@ Test strrev() function : basic functionality --FILE-- <?php -/* Prototype : string strrev(string $str); - * Description: Reverse a string - * Source code: ext/standard/string.c -*/ - echo "*** Testing strrev() : basic functionality ***\n"; $heredoc = <<<EOD Hello, world diff --git a/ext/standard/tests/strings/strrev_variation1.phpt b/ext/standard/tests/strings/strrev_variation1.phpt Binary files differindex b13579f20b..0ed3acd5b5 100644 --- a/ext/standard/tests/strings/strrev_variation1.phpt +++ b/ext/standard/tests/strings/strrev_variation1.phpt diff --git a/ext/standard/tests/strings/strrev_variation2.phpt b/ext/standard/tests/strings/strrev_variation2.phpt Binary files differindex d8ddda476c..92f45d7df9 100644 --- a/ext/standard/tests/strings/strrev_variation2.phpt +++ b/ext/standard/tests/strings/strrev_variation2.phpt diff --git a/ext/standard/tests/strings/strrev_variation3.phpt b/ext/standard/tests/strings/strrev_variation3.phpt Binary files differindex 6648c1b7fc..c83a241d09 100644 --- a/ext/standard/tests/strings/strrev_variation3.phpt +++ b/ext/standard/tests/strings/strrev_variation3.phpt diff --git a/ext/standard/tests/strings/strripos_basic1.phpt b/ext/standard/tests/strings/strripos_basic1.phpt index 4f8f8e8451..06e503af14 100644 --- a/ext/standard/tests/strings/strripos_basic1.phpt +++ b/ext/standard/tests/strings/strripos_basic1.phpt @@ -2,11 +2,6 @@ Test strripos() function : basic functionality - with default arguments --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - echo "*** Testing strripos() function: basic functionality ***\n"; $heredoc_str = <<<EOD Hello, World diff --git a/ext/standard/tests/strings/strripos_basic2.phpt b/ext/standard/tests/strings/strripos_basic2.phpt index e13a8e5747..18625fb726 100644 --- a/ext/standard/tests/strings/strripos_basic2.phpt +++ b/ext/standard/tests/strings/strripos_basic2.phpt @@ -2,11 +2,6 @@ Test strripos() function : basic functionality - with all arguments --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - echo "*** Testing strripos() function: basic functionality ***\n"; $heredoc_str = <<<EOD Hello, World diff --git a/ext/standard/tests/strings/strripos_variation1.phpt b/ext/standard/tests/strings/strripos_variation1.phpt index d8188bdd87..75330184ff 100644 --- a/ext/standard/tests/strings/strripos_variation1.phpt +++ b/ext/standard/tests/strings/strripos_variation1.phpt @@ -2,11 +2,6 @@ Test strripos() function : usage variations - double quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - /* Test strripos() function by passing double quoted strings for 'haystack' & 'needle' arguments */ echo "*** Testing strripos() function: with double quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strripos_variation2.phpt b/ext/standard/tests/strings/strripos_variation2.phpt index 55753c5c9b..5a409c28d1 100644 --- a/ext/standard/tests/strings/strripos_variation2.phpt +++ b/ext/standard/tests/strings/strripos_variation2.phpt @@ -2,11 +2,6 @@ Test strripos() function : usage variations - single quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - /* Test strripos() function by passing single quoted strings to 'haystack' & 'needle' arguments */ echo "*** Testing strripos() function: with single quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strripos_variation3.phpt b/ext/standard/tests/strings/strripos_variation3.phpt index f7a1f0ab20..df61842a6c 100644 --- a/ext/standard/tests/strings/strripos_variation3.phpt +++ b/ext/standard/tests/strings/strripos_variation3.phpt @@ -2,11 +2,6 @@ Test strripos() function : usage variations - multi line heredoc string for 'haystack' argument --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - /* Test strripos() function by passing multi-line heredoc string for haystack and * with various needles & offsets */ diff --git a/ext/standard/tests/strings/strripos_variation4.phpt b/ext/standard/tests/strings/strripos_variation4.phpt index 4c8e6a44dc..bd27fd95f5 100644 --- a/ext/standard/tests/strings/strripos_variation4.phpt +++ b/ext/standard/tests/strings/strripos_variation4.phpt @@ -2,11 +2,6 @@ Test strripos() function : usage variations - heredoc string containing special chars for 'haystack' argument --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - /* Test strripos() function by passing heredoc string containing special chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strripos_variation5.phpt b/ext/standard/tests/strings/strripos_variation5.phpt index 18572cc8d1..40bb331fa1 100644 --- a/ext/standard/tests/strings/strripos_variation5.phpt +++ b/ext/standard/tests/strings/strripos_variation5.phpt @@ -2,11 +2,6 @@ Test strripos() function : usage variations - heredoc string containing escape chars for 'haystack' argument --FILE-- <?php -/* Prototype : int strripos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack' - * Source code: ext/standard/string.c -*/ - /* Test strripos() function by passing heredoc string containing escape chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_basic1.phpt b/ext/standard/tests/strings/strrpos_basic1.phpt index e8fc24ade3..f5ab1a37b7 100644 --- a/ext/standard/tests/strings/strrpos_basic1.phpt +++ b/ext/standard/tests/strings/strrpos_basic1.phpt @@ -2,11 +2,6 @@ Test strrpos() function : basic functionality - with default arguments --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack' - * Source code: ext/standard/string.c -*/ - echo "*** Testing strrpos() function: basic functionality ***\n"; $heredoc_str = <<<EOD Hello, World diff --git a/ext/standard/tests/strings/strrpos_basic2.phpt b/ext/standard/tests/strings/strrpos_basic2.phpt index 4698aafebf..9d84a7613c 100644 --- a/ext/standard/tests/strings/strrpos_basic2.phpt +++ b/ext/standard/tests/strings/strrpos_basic2.phpt @@ -2,11 +2,6 @@ Test strrpos() function : basic functionality - with all arguments --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack' - * Source code: ext/standard/string.c -*/ - echo "*** Testing strrpos() function: basic functionality ***\n"; $heredoc_str = <<<EOD Hello, World diff --git a/ext/standard/tests/strings/strrpos_variation1.phpt b/ext/standard/tests/strings/strrpos_variation1.phpt index d54adaec73..509c015e54 100644 --- a/ext/standard/tests/strings/strrpos_variation1.phpt +++ b/ext/standard/tests/strings/strrpos_variation1.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - double quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing double quoted strings for 'haystack' & 'needle' arguments */ echo "*** Testing strrpos() function: with double quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strrpos_variation10.phpt b/ext/standard/tests/strings/strrpos_variation10.phpt index b16d946f6c..a59827981e 100644 --- a/ext/standard/tests/strings/strrpos_variation10.phpt +++ b/ext/standard/tests/strings/strrpos_variation10.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - unexpected inputs for 'needle' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function with unexpected inputs for 'needle' and * an expected type of input for 'haystack' argument */ diff --git a/ext/standard/tests/strings/strrpos_variation11.phpt b/ext/standard/tests/strings/strrpos_variation11.phpt index 185af4e154..da33a21dc5 100644 --- a/ext/standard/tests/strings/strrpos_variation11.phpt +++ b/ext/standard/tests/strings/strrpos_variation11.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - unexpected inputs for 'haystack' and 'needle' arguments --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function with unexpected inputs for 'haystack' and 'needle' arguments */ echo "*** Testing strrpos() function with unexpected values for haystack and needle ***\n"; diff --git a/ext/standard/tests/strings/strrpos_variation12.phpt b/ext/standard/tests/strings/strrpos_variation12.phpt index 8f9946faf3..28a6833902 100644 --- a/ext/standard/tests/strings/strrpos_variation12.phpt +++ b/ext/standard/tests/strings/strrpos_variation12.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - checking binary safe with 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function with null terminated strings for 'haystack' argument * in order to check the binary safe */ diff --git a/ext/standard/tests/strings/strrpos_variation13.phpt b/ext/standard/tests/strings/strrpos_variation13.phpt index bb8258ea0c..e5757ae7ed 100644 --- a/ext/standard/tests/strings/strrpos_variation13.phpt +++ b/ext/standard/tests/strings/strrpos_variation13.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - checking bianry safe with 'needle' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function with null terminated strings for 'needle' argument * in order to check binary safe */ diff --git a/ext/standard/tests/strings/strrpos_variation2.phpt b/ext/standard/tests/strings/strrpos_variation2.phpt index 3accd165bb..b6b7cb149d 100644 --- a/ext/standard/tests/strings/strrpos_variation2.phpt +++ b/ext/standard/tests/strings/strrpos_variation2.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - single quoted strings for 'haystack' & 'needle' arguments --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing single quoted strings to 'haystack' & 'needle' arguments */ echo "*** Testing strrpos() function: with single quoted strings ***\n"; diff --git a/ext/standard/tests/strings/strrpos_variation3.phpt b/ext/standard/tests/strings/strrpos_variation3.phpt index 1ebe9e7a21..95f2c4dc27 100644 --- a/ext/standard/tests/strings/strrpos_variation3.phpt +++ b/ext/standard/tests/strings/strrpos_variation3.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - multi line heredoc string for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing multi-line heredoc string for haystack and * with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_variation4.phpt b/ext/standard/tests/strings/strrpos_variation4.phpt index e885c7dfae..494be992f7 100644 --- a/ext/standard/tests/strings/strrpos_variation4.phpt +++ b/ext/standard/tests/strings/strrpos_variation4.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - heredoc string containing special chars for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing heredoc string containing special chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_variation5.phpt b/ext/standard/tests/strings/strrpos_variation5.phpt index 6a7f37beeb..a08c3ea2fb 100644 --- a/ext/standard/tests/strings/strrpos_variation5.phpt +++ b/ext/standard/tests/strings/strrpos_variation5.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - heredoc string containing escape chars for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing heredoc string containing escape chars for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_variation6.phpt b/ext/standard/tests/strings/strrpos_variation6.phpt index 46f754dbc8..be501b262b 100644 --- a/ext/standard/tests/strings/strrpos_variation6.phpt +++ b/ext/standard/tests/strings/strrpos_variation6.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - heredoc string containing quotes for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing heredoc string containing quotes for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_variation7.phpt b/ext/standard/tests/strings/strrpos_variation7.phpt index 79715453c9..884a902112 100644 --- a/ext/standard/tests/strings/strrpos_variation7.phpt +++ b/ext/standard/tests/strings/strrpos_variation7.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - empty heredoc string for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function by passing empty heredoc string for haystack * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strrpos_variation8.phpt b/ext/standard/tests/strings/strrpos_variation8.phpt index caf4928e24..d16ec929a2 100644 --- a/ext/standard/tests/strings/strrpos_variation8.phpt +++ b/ext/standard/tests/strings/strrpos_variation8.phpt @@ -2,11 +2,6 @@ Test strrpos() function : usage variations - repetitive chars for 'haystack' argument --FILE-- <?php -/* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); - * Description: Find position of last occurrence of 'needle' in 'haystack'. - * Source code: ext/standard/string.c -*/ - /* Test strrpos() function with strings containing multiple occurrences of 'needle' in the 'haystack' * and with various needles & offsets */ diff --git a/ext/standard/tests/strings/strspn_basic.phpt b/ext/standard/tests/strings/strspn_basic.phpt index cab4349677..068610a89b 100644 --- a/ext/standard/tests/strings/strspn_basic.phpt +++ b/ext/standard/tests/strings/strspn_basic.phpt @@ -2,13 +2,6 @@ Test strspn() function : basic functionality --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided, it works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : basic functionality */ diff --git a/ext/standard/tests/strings/strspn_variation10.phpt b/ext/standard/tests/strings/strspn_variation10.phpt index 952110880f..1334d8751d 100644 --- a/ext/standard/tests/strings/strspn_variation10.phpt +++ b/ext/standard/tests/strings/strspn_variation10.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with varying mask & default start and len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with varying mask and default start and len arguments */ diff --git a/ext/standard/tests/strings/strspn_variation11.phpt b/ext/standard/tests/strings/strspn_variation11.phpt index 1737155a7a..6692ce641b 100644 --- a/ext/standard/tests/strings/strspn_variation11.phpt +++ b/ext/standard/tests/strings/strspn_variation11.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with varying start and default len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with varying start and default len arguments */ diff --git a/ext/standard/tests/strings/strspn_variation12.phpt b/ext/standard/tests/strings/strspn_variation12.phpt index e5615c9532..6f5fddb527 100644 --- a/ext/standard/tests/strings/strspn_variation12.phpt +++ b/ext/standard/tests/strings/strspn_variation12.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with varying start and len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with varying start and len arguments */ diff --git a/ext/standard/tests/strings/strspn_variation6.phpt b/ext/standard/tests/strings/strspn_variation6.phpt index 8c75e89775..f4219620de 100644 --- a/ext/standard/tests/strings/strspn_variation6.phpt +++ b/ext/standard/tests/strings/strspn_variation6.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with heredoc strings, varying mask & default start and len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with heredoc string, varying mask and default start and len arguments */ diff --git a/ext/standard/tests/strings/strspn_variation7.phpt b/ext/standard/tests/strings/strspn_variation7.phpt index 962c180c40..02b1286dca 100644 --- a/ext/standard/tests/strings/strspn_variation7.phpt +++ b/ext/standard/tests/strings/strspn_variation7.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with heredoc strings, varying start and default len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with heredoc string, varying start and default len arguments */ diff --git a/ext/standard/tests/strings/strspn_variation8.phpt b/ext/standard/tests/strings/strspn_variation8.phpt index a3486908b7..58013a6dba 100644 --- a/ext/standard/tests/strings/strspn_variation8.phpt +++ b/ext/standard/tests/strings/strspn_variation8.phpt @@ -2,13 +2,6 @@ Test strspn() function : usage variations - with heredoc strings, varying start and len args --FILE-- <?php -/* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) - * Description: Finds length of initial segment consisting entirely of characters found in mask. - If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) - * Source code: ext/standard/string.c - * Alias to functions: none -*/ - /* * Testing strspn() : with heredoc string, varying start and len arguments */ diff --git a/ext/standard/tests/strings/strstr.phpt b/ext/standard/tests/strings/strstr.phpt Binary files differindex 46f411f876..da2aa1e22e 100644 --- a/ext/standard/tests/strings/strstr.phpt +++ b/ext/standard/tests/strings/strstr.phpt diff --git a/ext/standard/tests/strings/strtok_basic.phpt b/ext/standard/tests/strings/strtok_basic.phpt index f0774c8644..102e0d034b 100644 --- a/ext/standard/tests/strings/strtok_basic.phpt +++ b/ext/standard/tests/strings/strtok_basic.phpt @@ -2,11 +2,6 @@ Test strtok() function : basic functionality --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : basic functionality */ diff --git a/ext/standard/tests/strings/strtok_variation3.phpt b/ext/standard/tests/strings/strtok_variation3.phpt index d26947afde..8ae1e03e7d 100644 --- a/ext/standard/tests/strings/strtok_variation3.phpt +++ b/ext/standard/tests/strings/strtok_variation3.phpt @@ -2,11 +2,6 @@ Test strtok() function : usage variations - with heredoc strings --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : with heredoc strings */ diff --git a/ext/standard/tests/strings/strtok_variation4.phpt b/ext/standard/tests/strings/strtok_variation4.phpt index fb34639f48..6309049709 100644 --- a/ext/standard/tests/strings/strtok_variation4.phpt +++ b/ext/standard/tests/strings/strtok_variation4.phpt @@ -2,11 +2,6 @@ Test strtok() function : usage variations - with embedded nulls in the strings --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : with embedded nulls in the strings */ diff --git a/ext/standard/tests/strings/strtok_variation5.phpt b/ext/standard/tests/strings/strtok_variation5.phpt index e844f97eef..006cf7a9f9 100644 --- a/ext/standard/tests/strings/strtok_variation5.phpt +++ b/ext/standard/tests/strings/strtok_variation5.phpt @@ -2,11 +2,6 @@ Test strtok() function : usage variations - miscellaneous inputs --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : with miscellaneous combinations of string and token */ diff --git a/ext/standard/tests/strings/strtok_variation6.phpt b/ext/standard/tests/strings/strtok_variation6.phpt index 4d435dcef4..9b3f1d244d 100644 --- a/ext/standard/tests/strings/strtok_variation6.phpt +++ b/ext/standard/tests/strings/strtok_variation6.phpt @@ -2,11 +2,6 @@ Test strtok() function : usage variations - invalid escape sequences as tokens --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : with invalid escape sequences in token */ diff --git a/ext/standard/tests/strings/strtok_variation7.phpt b/ext/standard/tests/strings/strtok_variation7.phpt index aeb6820f2a..07eb3ea018 100644 --- a/ext/standard/tests/strings/strtok_variation7.phpt +++ b/ext/standard/tests/strings/strtok_variation7.phpt @@ -2,11 +2,6 @@ Test strtok() function : usage variations - modifying the input string while tokenising --FILE-- <?php -/* Prototype : string strtok ( str $str, str $token ) - * Description: splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token - * Source code: ext/standard/string.c -*/ - /* * Testing strtok() : modifying the input string while it is getting tokenised */ diff --git a/ext/standard/tests/strings/strtolower-win32.phpt b/ext/standard/tests/strings/strtolower-win32.phpt Binary files differindex 2fc693641d..ed82fddf81 100644 --- a/ext/standard/tests/strings/strtolower-win32.phpt +++ b/ext/standard/tests/strings/strtolower-win32.phpt diff --git a/ext/standard/tests/strings/strtolower.phpt b/ext/standard/tests/strings/strtolower.phpt Binary files differindex 041b66a00c..0f9b4299cf 100644 --- a/ext/standard/tests/strings/strtolower.phpt +++ b/ext/standard/tests/strings/strtolower.phpt diff --git a/ext/standard/tests/strings/strtoupper1-win32.phpt b/ext/standard/tests/strings/strtoupper1-win32.phpt Binary files differindex 619ab51d86..ac5b0e5013 100644 --- a/ext/standard/tests/strings/strtoupper1-win32.phpt +++ b/ext/standard/tests/strings/strtoupper1-win32.phpt diff --git a/ext/standard/tests/strings/strtoupper1.phpt b/ext/standard/tests/strings/strtoupper1.phpt Binary files differindex 6c7434ba16..bff3f97d96 100644 --- a/ext/standard/tests/strings/strtoupper1.phpt +++ b/ext/standard/tests/strings/strtoupper1.phpt diff --git a/ext/standard/tests/strings/strtr_basic.phpt b/ext/standard/tests/strings/strtr_basic.phpt index 5660be9f9b..7ec9e69709 100644 --- a/ext/standard/tests/strings/strtr_basic.phpt +++ b/ext/standard/tests/strings/strtr_basic.phpt @@ -2,11 +2,6 @@ Test strtr() function : basic functionality --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - * Description: Translates characters in str using given translation pairs - * Source code: ext/standard/string.c -*/ - echo "*** Testing strtr() : basic functionality ***\n"; //definitions of required input variables $trans1_arr = array("t" => "T", "e" => "E", "st" => "ST"); diff --git a/ext/standard/tests/strings/strtr_variation1.phpt b/ext/standard/tests/strings/strtr_variation1.phpt index 44326ad4aa..f52e14b6eb 100644 --- a/ext/standard/tests/strings/strtr_variation1.phpt +++ b/ext/standard/tests/strings/strtr_variation1.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - regular & numeric strings for 'str' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Testing strtr() function by passing the * combination of numeric & regular strings for 'str' argument and * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments diff --git a/ext/standard/tests/strings/strtr_variation2.phpt b/ext/standard/tests/strings/strtr_variation2.phpt index 1ca96af3bf..35cbc1f0b3 100644 --- a/ext/standard/tests/strings/strtr_variation2.phpt +++ b/ext/standard/tests/strings/strtr_variation2.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - string containing special chars for 'str' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Testing strtr() function by passing the * string containing various special characters for 'str' argument and * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments diff --git a/ext/standard/tests/strings/strtr_variation3.phpt b/ext/standard/tests/strings/strtr_variation3.phpt index 5bec076e7e..012baf9a36 100644 --- a/ext/standard/tests/strings/strtr_variation3.phpt +++ b/ext/standard/tests/strings/strtr_variation3.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - string containing escape sequences for 'str' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Testing strtr() function by passing the * string containing various escape sequences for 'str' argument and * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments diff --git a/ext/standard/tests/strings/strtr_variation4.phpt b/ext/standard/tests/strings/strtr_variation4.phpt index 899a17af85..21e5cab773 100644 --- a/ext/standard/tests/strings/strtr_variation4.phpt +++ b/ext/standard/tests/strings/strtr_variation4.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - empty string & null for 'str' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Testing strtr() function by passing the * empty string & null for 'str' argument and * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments diff --git a/ext/standard/tests/strings/strtr_variation6.phpt b/ext/standard/tests/strings/strtr_variation6.phpt index 046b376413..46902e5929 100644 --- a/ext/standard/tests/strings/strtr_variation6.phpt +++ b/ext/standard/tests/strings/strtr_variation6.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - unexpected inputs for 'from' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Test strtr() function: with unexpected inputs for 'from' * and expected type for 'str' & 'to' arguments */ diff --git a/ext/standard/tests/strings/strtr_variation8.phpt b/ext/standard/tests/strings/strtr_variation8.phpt index aec9d25532..65aba9c51b 100644 --- a/ext/standard/tests/strings/strtr_variation8.phpt +++ b/ext/standard/tests/strings/strtr_variation8.phpt @@ -2,12 +2,6 @@ Test strtr() function : usage variations - unexpected inputs for 'replace_pairs' argument --FILE-- <?php -/* Prototype : string strtr(string $str, string $from[, string $to]); - string strtr(string $str, array $replace_pairs); - * Description: Translates characters in str using given translation tables - * Source code: ext/standard/string.c -*/ - /* Test strtr() function: with unexpected inputs for 'replace_pairs' * and expected type for 'str' arguments */ diff --git a/ext/standard/tests/strings/strval_basic.phpt b/ext/standard/tests/strings/strval_basic.phpt index 9e26446c4c..71131c2637 100644 --- a/ext/standard/tests/strings/strval_basic.phpt +++ b/ext/standard/tests/strings/strval_basic.phpt @@ -2,11 +2,6 @@ Test strval() function : basic functionality --FILE-- <?php -/* Prototype : string strval ( mixed $var ) - * Description: Get the string value of a variable. - * Source code: ext/standard/string.c - */ - echo "*** Testing strval() : basic variations ***\n"; error_reporting(E_ALL ^ E_NOTICE); diff --git a/ext/standard/tests/strings/strval_error.phpt b/ext/standard/tests/strings/strval_error.phpt index 88cca824a6..8ec78f080f 100644 --- a/ext/standard/tests/strings/strval_error.phpt +++ b/ext/standard/tests/strings/strval_error.phpt @@ -2,11 +2,6 @@ Test strval() function : usage variations - error conditions --FILE-- <?php -/* Prototype : string strval ( mixed $var ) - * Description: Get the string value of a variable. - * Source code: ext/standard/string.c - */ - echo "*** Testing strval() : error conditions ***\n"; error_reporting(E_ALL ^ E_NOTICE); diff --git a/ext/standard/tests/strings/strval_variation1.phpt b/ext/standard/tests/strings/strval_variation1.phpt index d64a7c4ab0..69239df75a 100644 --- a/ext/standard/tests/strings/strval_variation1.phpt +++ b/ext/standard/tests/strings/strval_variation1.phpt @@ -2,11 +2,6 @@ Test strval() function : usage variations - Pass different data types as strval --FILE-- <?php -/* Prototype : string strval ( mixed $var ) - * Description: Get the string value of a variable. - * Source code: ext/standard/string.c - */ - echo "*** Testing strval() : usage variations ***\n"; //get an unset variable diff --git a/ext/standard/tests/strings/strval_variation2.phpt b/ext/standard/tests/strings/strval_variation2.phpt index cf635294d0..46bf9dc395 100644 --- a/ext/standard/tests/strings/strval_variation2.phpt +++ b/ext/standard/tests/strings/strval_variation2.phpt @@ -2,11 +2,6 @@ Test strval() function : usage variations - Pass all valid char codes --FILE-- <?php -/* Prototype : string strval ( mixed $var ) - * Description: Get the string value of a variable. - * Source code: ext/standard/string.c - */ - echo "*** Testing strval() : usage variations - Pass all valid char codes ***\n"; $s0 = "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"; diff --git a/ext/standard/tests/strings/substr.phpt b/ext/standard/tests/strings/substr.phpt Binary files differindex 6028c17008..5addfdf242 100644 --- a/ext/standard/tests/strings/substr.phpt +++ b/ext/standard/tests/strings/substr.phpt diff --git a/ext/standard/tests/strings/substr_replace_error.phpt b/ext/standard/tests/strings/substr_replace_error.phpt index 5e22fccb88..d52983646a 100644 --- a/ext/standard/tests/strings/substr_replace_error.phpt +++ b/ext/standard/tests/strings/substr_replace_error.phpt @@ -2,11 +2,6 @@ Test substr_replace() function : error conditions --FILE-- <?php -/* Prototype : mixed substr_replace ( mixed $string , string $replacement , int $start [, int $length ] ) - * Description: Replace text within a portion of a string - * Source code: ext/standard/string.c -*/ - /* * Testing substr_replace() for error conditions */ diff --git a/ext/standard/tests/strings/trim1.phpt b/ext/standard/tests/strings/trim1.phpt Binary files differindex a31d7213a1..e4601db7ac 100644 --- a/ext/standard/tests/strings/trim1.phpt +++ b/ext/standard/tests/strings/trim1.phpt diff --git a/ext/standard/tests/strings/trim_basic.phpt b/ext/standard/tests/strings/trim_basic.phpt index 53fd4c7cc3..db41f27c39 100644 --- a/ext/standard/tests/strings/trim_basic.phpt +++ b/ext/standard/tests/strings/trim_basic.phpt @@ -3,11 +3,6 @@ Test trim() function : basic functionality --FILE-- <?php -/* Prototype : string trim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the beginning and end of a string. - * Source code: ext/standard/string.c -*/ - echo "*** Testing trim() : basic functionality ***\n"; $text = " \t\r\n\0\x0B ---These are a few words--- \t\r\n\0\x0B "; diff --git a/ext/standard/tests/strings/trim_error.phpt b/ext/standard/tests/strings/trim_error.phpt index c9b92bc5c9..d5dc27f7e0 100644 --- a/ext/standard/tests/strings/trim_error.phpt +++ b/ext/standard/tests/strings/trim_error.phpt @@ -3,12 +3,6 @@ Test trim() function : error conditions --FILE-- <?php -/* Prototype : string trim ( string $str [, string $charlist ] ) - * Description: Strip whitespace (or other characters) from the beginning and end of a string. - * Source code: ext/standard/string.c -*/ - - echo "*** Testing trim() : error conditions ***\n"; $hello = " Hello World\n"; diff --git a/ext/standard/tests/strings/ucwords_basic.phpt b/ext/standard/tests/strings/ucwords_basic.phpt index 4567c3b499..63b8eaa3b8 100644 --- a/ext/standard/tests/strings/ucwords_basic.phpt +++ b/ext/standard/tests/strings/ucwords_basic.phpt @@ -2,11 +2,6 @@ Test ucwords() function : basic functionality --FILE-- <?php -/* Prototype : string ucwords ( string $str ) - * Description: Uppercase the first character of each word in a string - * Source code: ext/standard/string.c -*/ - echo "*** Testing ucwords() : basic functionality ***\n"; // lines with different whitespace character diff --git a/ext/standard/tests/strings/ucwords_variation2.phpt b/ext/standard/tests/strings/ucwords_variation2.phpt index b224caf491..8e2e3a6f8b 100644 --- a/ext/standard/tests/strings/ucwords_variation2.phpt +++ b/ext/standard/tests/strings/ucwords_variation2.phpt @@ -2,11 +2,6 @@ Test ucwords() function : usage variations - heredoc strings --FILE-- <?php -/* Prototype : string ucwords ( string $str ) - * Description: Uppercase the first character of each word in a string - * Source code: ext/standard/string.c -*/ - /* * test ucwords() with different string prepared using heredoc */ diff --git a/ext/standard/tests/strings/ucwords_variation3.phpt b/ext/standard/tests/strings/ucwords_variation3.phpt index c807990091..8e69364720 100644 --- a/ext/standard/tests/strings/ucwords_variation3.phpt +++ b/ext/standard/tests/strings/ucwords_variation3.phpt @@ -2,11 +2,6 @@ Test ucwords() function : usage variations - single quoted string --FILE-- <?php -/* Prototype : string ucwords ( string $str ) - * Description: Uppercase the first character of each word in a string - * Source code: ext/standard/string.c -*/ - /* * test ucwords() with different string prepared using single quote */ diff --git a/ext/standard/tests/strings/ucwords_variation4.phpt b/ext/standard/tests/strings/ucwords_variation4.phpt index be6764bc5f..70dbe46695 100644 --- a/ext/standard/tests/strings/ucwords_variation4.phpt +++ b/ext/standard/tests/strings/ucwords_variation4.phpt @@ -2,11 +2,6 @@ Test ucwords() function : usage variations - double quoted string --FILE-- <?php -/* Prototype : string ucwords ( string $str ) - * Description: Uppercase the first character of each word in a string - * Source code: ext/standard/string.c -*/ - /* * test ucwords() with different string prepared using double quote */ diff --git a/ext/standard/tests/strings/ucwords_variation5.phpt b/ext/standard/tests/strings/ucwords_variation5.phpt index 985df47c4a..b7613f22d2 100644 --- a/ext/standard/tests/strings/ucwords_variation5.phpt +++ b/ext/standard/tests/strings/ucwords_variation5.phpt @@ -2,11 +2,6 @@ Test ucwords() function : usage variations - custom delimiters --FILE-- <?php -/* Prototype : string ucwords ( string $str ) - * Description: Uppercase the first character of each word in a string - * Source code: ext/standard/string.c -*/ - echo "*** Testing ucwords() : usage variations ***\n"; var_dump(ucwords('testing-dashed-words', '-')); diff --git a/ext/standard/tests/strings/unpack_error.phpt b/ext/standard/tests/strings/unpack_error.phpt index 9308eef25e..5da3cee273 100644 --- a/ext/standard/tests/strings/unpack_error.phpt +++ b/ext/standard/tests/strings/unpack_error.phpt @@ -3,11 +3,6 @@ Test unpack() function : error conditions --FILE-- <?php -/* Prototype : array unpack ( string $format , string $data ) - * Description: Unpack data from binary string - * Source code: ext/standard/pack.c -*/ - echo "*** Testing unpack() : error conditions ***\n"; echo "\n-- Testing unpack() function with invalid format character --\n"; diff --git a/ext/standard/tests/strings/vfprintf_basic.phpt b/ext/standard/tests/strings/vfprintf_basic.phpt index 3219371594..3eff9ec2b0 100644 --- a/ext/standard/tests/strings/vfprintf_basic.phpt +++ b/ext/standard/tests/strings/vfprintf_basic.phpt @@ -6,12 +6,6 @@ Felix De Vliegher <felix.devliegher@gmail.com> precision=14 --FILE-- <?php -/* Prototype : int vfprintf(resource stream, string format, array args) - * Description: Output a formatted string into a stream - * Source code: ext/standard/formatted_print.c - * Alias to functions: - */ - function writeAndDump($fp, $format, $args) { ftruncate( $fp, 0 ); diff --git a/ext/standard/tests/strings/vfprintf_basic1.phpt b/ext/standard/tests/strings/vfprintf_basic1.phpt index 0c64784bc4..d37f2a81c5 100644 --- a/ext/standard/tests/strings/vfprintf_basic1.phpt +++ b/ext/standard/tests/strings/vfprintf_basic1.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - string format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using string format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic2.phpt b/ext/standard/tests/strings/vfprintf_basic2.phpt index 770b41b5bc..3d51bb7559 100644 --- a/ext/standard/tests/strings/vfprintf_basic2.phpt +++ b/ext/standard/tests/strings/vfprintf_basic2.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - /* * Testing vfprintf() : basic functionality - using integer format */ diff --git a/ext/standard/tests/strings/vfprintf_basic3.phpt b/ext/standard/tests/strings/vfprintf_basic3.phpt index 142a7fdaa7..e8b245b02c 100644 --- a/ext/standard/tests/strings/vfprintf_basic3.phpt +++ b/ext/standard/tests/strings/vfprintf_basic3.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - float format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using float format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic4.phpt b/ext/standard/tests/strings/vfprintf_basic4.phpt index c698c9776d..d855b8b4a0 100644 --- a/ext/standard/tests/strings/vfprintf_basic4.phpt +++ b/ext/standard/tests/strings/vfprintf_basic4.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - bool format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using bool format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic5.phpt b/ext/standard/tests/strings/vfprintf_basic5.phpt index be35af7809..13d17d00ec 100644 --- a/ext/standard/tests/strings/vfprintf_basic5.phpt +++ b/ext/standard/tests/strings/vfprintf_basic5.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - char format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using char format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic6.phpt b/ext/standard/tests/strings/vfprintf_basic6.phpt index 9cc0bc6a7a..a11125c365 100644 --- a/ext/standard/tests/strings/vfprintf_basic6.phpt +++ b/ext/standard/tests/strings/vfprintf_basic6.phpt @@ -2,12 +2,6 @@ Test vfprintf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - - echo "*** Testing vfprintf() : basic functionality - using exponential format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic7.phpt b/ext/standard/tests/strings/vfprintf_basic7.phpt index f1c36768e0..7f01387207 100644 --- a/ext/standard/tests/strings/vfprintf_basic7.phpt +++ b/ext/standard/tests/strings/vfprintf_basic7.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic7_64bit.phpt b/ext/standard/tests/strings/vfprintf_basic7_64bit.phpt index 54df744ff8..38922f5124 100644 --- a/ext/standard/tests/strings/vfprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/vfprintf_basic7_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic8.phpt b/ext/standard/tests/strings/vfprintf_basic8.phpt index a5ac35600e..99bf2da04a 100644 --- a/ext/standard/tests/strings/vfprintf_basic8.phpt +++ b/ext/standard/tests/strings/vfprintf_basic8.phpt @@ -2,11 +2,6 @@ Test vfprintf() function : basic functionality - octal format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vfprintf_basic9.phpt b/ext/standard/tests/strings/vfprintf_basic9.phpt index 81cc8e0d9a..bcbd5320df 100644 --- a/ext/standard/tests/strings/vfprintf_basic9.phpt +++ b/ext/standard/tests/strings/vfprintf_basic9.phpt @@ -2,11 +2,6 @@ Test vfprintf) function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : int vfprintf ( resource $handle , string $format , array $args ) - * Description: Write a formatted string to a stream - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vfprintf) : basic functionality - using hexadecimal format ***\n"; // Initialising different format strings diff --git a/ext/standard/tests/strings/vfprintf_error1.phpt b/ext/standard/tests/strings/vfprintf_error1.phpt index fdaecd6fb3..bad7123456 100644 --- a/ext/standard/tests/strings/vfprintf_error1.phpt +++ b/ext/standard/tests/strings/vfprintf_error1.phpt @@ -6,12 +6,6 @@ Felix De Vliegher <felix.devliegher@gmail.com> precision=14 --FILE-- <?php -/* Prototype : int vfprintf(resource stream, string format, array args) - * Description: Output a formatted string into a stream - * Source code: ext/standard/formatted_print.c - * Alias to functions: - */ - // Open handle $file = 'vfprintf_error1.txt'; $fp = fopen( $file, "a+" ); diff --git a/ext/standard/tests/strings/vfprintf_error3.phpt b/ext/standard/tests/strings/vfprintf_error3.phpt index d7ebdce3e2..0f29541689 100644 --- a/ext/standard/tests/strings/vfprintf_error3.phpt +++ b/ext/standard/tests/strings/vfprintf_error3.phpt @@ -6,12 +6,6 @@ Felix De Vliegher <felix.devliegher@gmail.com> precision=14 --FILE-- <?php -/* Prototype : int vfprintf(resource stream, string format, array args) - * Description: Output a formatted string into a stream - * Source code: ext/standard/formatted_print.c - * Alias to functions: - */ - // Open handle $file = 'vfprintf_error3.txt'; $fp = fopen( $file, "a+" ); diff --git a/ext/standard/tests/strings/vfprintf_error4.phpt b/ext/standard/tests/strings/vfprintf_error4.phpt index 4c5fd92d78..fcbd86466d 100644 --- a/ext/standard/tests/strings/vfprintf_error4.phpt +++ b/ext/standard/tests/strings/vfprintf_error4.phpt @@ -6,12 +6,6 @@ Felix De Vliegher <felix.devliegher@gmail.com> precision=14 --FILE-- <?php -/* Prototype : int vfprintf(resource stream, string format, array args) - * Description: Output a formatted string into a stream - * Source code: ext/standard/formatted_print.c - * Alias to functions: - */ - // Open handle $file = 'vfprintf_error4.txt'; $fp = fopen( $file, "a+" ); diff --git a/ext/standard/tests/strings/vfprintf_variation1.phpt b/ext/standard/tests/strings/vfprintf_variation1.phpt index bd8ba985cb..c9274d383b 100644 --- a/ext/standard/tests/strings/vfprintf_variation1.phpt +++ b/ext/standard/tests/strings/vfprintf_variation1.phpt @@ -6,12 +6,6 @@ Felix De Vliegher <felix.devliegher@gmail.com> precision=14 --FILE-- <?php -/* Prototype : int vfprintf(resource stream, string format, array args) - * Description: Output a formatted string into a stream - * Source code: ext/standard/formatted_print.c - * Alias to functions: - */ - echo "*** Testing vfprintf() : variation functionality ***\n"; // Open handle diff --git a/ext/standard/tests/strings/vprintf_basic1.phpt b/ext/standard/tests/strings/vprintf_basic1.phpt index bfe287052c..c7b09c015b 100644 --- a/ext/standard/tests/strings/vprintf_basic1.phpt +++ b/ext/standard/tests/strings/vprintf_basic1.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - string format --FILE-- <?php -/* Prototype : int vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using string format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic2.phpt b/ext/standard/tests/strings/vprintf_basic2.phpt index e8bdb80738..e7b7f03754 100644 --- a/ext/standard/tests/strings/vprintf_basic2.phpt +++ b/ext/standard/tests/strings/vprintf_basic2.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Testing vprintf() : basic functionality - using integer format */ diff --git a/ext/standard/tests/strings/vprintf_basic3.phpt b/ext/standard/tests/strings/vprintf_basic3.phpt index c052008666..d585cf3b82 100644 --- a/ext/standard/tests/strings/vprintf_basic3.phpt +++ b/ext/standard/tests/strings/vprintf_basic3.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - float format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using float format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic4.phpt b/ext/standard/tests/strings/vprintf_basic4.phpt index c884e9c3eb..d0a3043921 100644 --- a/ext/standard/tests/strings/vprintf_basic4.phpt +++ b/ext/standard/tests/strings/vprintf_basic4.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - bool format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using bool format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic5.phpt b/ext/standard/tests/strings/vprintf_basic5.phpt index 94a71bedba..56206a5510 100644 --- a/ext/standard/tests/strings/vprintf_basic5.phpt +++ b/ext/standard/tests/strings/vprintf_basic5.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - char format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using char format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic6.phpt b/ext/standard/tests/strings/vprintf_basic6.phpt index 29189ce944..6d290ab06f 100644 --- a/ext/standard/tests/strings/vprintf_basic6.phpt +++ b/ext/standard/tests/strings/vprintf_basic6.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using exponential format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic7.phpt b/ext/standard/tests/strings/vprintf_basic7.phpt index 14f00a8b2d..e515edacda 100644 --- a/ext/standard/tests/strings/vprintf_basic7.phpt +++ b/ext/standard/tests/strings/vprintf_basic7.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic7_64bit.phpt b/ext/standard/tests/strings/vprintf_basic7_64bit.phpt index 2d4424b2df..7f2dd43701 100644 --- a/ext/standard/tests/strings/vprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_basic7_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic8.phpt b/ext/standard/tests/strings/vprintf_basic8.phpt index 873feb1a8f..95de855738 100644 --- a/ext/standard/tests/strings/vprintf_basic8.phpt +++ b/ext/standard/tests/strings/vprintf_basic8.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - octal format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vprintf_basic9.phpt b/ext/standard/tests/strings/vprintf_basic9.phpt index 46b9cb94b8..5e33b080d8 100644 --- a/ext/standard/tests/strings/vprintf_basic9.phpt +++ b/ext/standard/tests/strings/vprintf_basic9.phpt @@ -2,11 +2,6 @@ Test vprintf() function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : basic functionality - using hexadecimal format ***\n"; // Initialising different format strings diff --git a/ext/standard/tests/strings/vprintf_variation1.phpt b/ext/standard/tests/strings/vprintf_variation1.phpt index 742c9cfadc..18cf1a7c04 100644 --- a/ext/standard/tests/strings/vprintf_variation1.phpt +++ b/ext/standard/tests/strings/vprintf_variation1.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - unexpected values for the format argument --FILE-- <?php -/* Prototype : string vprintf(string $format, array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unexpected format strings are passed to * the '$format' argument of the function diff --git a/ext/standard/tests/strings/vprintf_variation11.phpt b/ext/standard/tests/strings/vprintf_variation11.phpt index 5022b3d5c6..2926c62a6e 100644 --- a/ext/standard/tests/strings/vprintf_variation11.phpt +++ b/ext/standard/tests/strings/vprintf_variation11.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different octal formats and octal values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation11_64bit.phpt b/ext/standard/tests/strings/vprintf_variation11_64bit.phpt index e183dcd838..d642613b05 100644 --- a/ext/standard/tests/strings/vprintf_variation11_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation11_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different octal formats and octal values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation12.phpt b/ext/standard/tests/strings/vprintf_variation12.phpt index 3bd79f9226..cac53da18f 100644 --- a/ext/standard/tests/strings/vprintf_variation12.phpt +++ b/ext/standard/tests/strings/vprintf_variation12.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different octal formats and non-octal values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation12_64bit.phpt b/ext/standard/tests/strings/vprintf_variation12_64bit.phpt index 5b34b4a5b6..e3eee12681 100644 --- a/ext/standard/tests/strings/vprintf_variation12_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation12_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different octal formats and non-octal values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation13.phpt b/ext/standard/tests/strings/vprintf_variation13.phpt index 39c6963689..952115b2f1 100644 --- a/ext/standard/tests/strings/vprintf_variation13.phpt +++ b/ext/standard/tests/strings/vprintf_variation13.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different hexa formats and hexa values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation13_64bit.phpt b/ext/standard/tests/strings/vprintf_variation13_64bit.phpt index c9af50fc94..881942e607 100644 --- a/ext/standard/tests/strings/vprintf_variation13_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation13_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different hexa formats and hexa values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation14.phpt b/ext/standard/tests/strings/vprintf_variation14.phpt index 4ea430bcb8..ce65e8726d 100644 --- a/ext/standard/tests/strings/vprintf_variation14.phpt +++ b/ext/standard/tests/strings/vprintf_variation14.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different hexa formats and non-hexa values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation14_64bit.phpt b/ext/standard/tests/strings/vprintf_variation14_64bit.phpt index 85fdab372a..91ef18a9fb 100644 --- a/ext/standard/tests/strings/vprintf_variation14_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation14_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different hexa formats and non-hexa values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation15.phpt b/ext/standard/tests/strings/vprintf_variation15.phpt index 40dd2acce9..c8ae74f2aa 100644 --- a/ext/standard/tests/strings/vprintf_variation15.phpt +++ b/ext/standard/tests/strings/vprintf_variation15.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unsigned formats and unsigned values * are passed to the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation15_64bit.phpt b/ext/standard/tests/strings/vprintf_variation15_64bit.phpt index 6a15414397..2729e8f54a 100644 --- a/ext/standard/tests/strings/vprintf_variation15_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation15_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unsigned formats and unsigned values * are passed to the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation16.phpt b/ext/standard/tests/strings/vprintf_variation16.phpt index b723c06525..70ecdab99e 100644 --- a/ext/standard/tests/strings/vprintf_variation16.phpt +++ b/ext/standard/tests/strings/vprintf_variation16.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unsigned formats and signed values and other types of values * are passed to the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation16_64bit.phpt b/ext/standard/tests/strings/vprintf_variation16_64bit.phpt index 1d33f070a5..9ea63998bf 100644 --- a/ext/standard/tests/strings/vprintf_variation16_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation16_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unsigned formats and signed values and other types of values * are passed to the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation17.phpt b/ext/standard/tests/strings/vprintf_variation17.phpt index d17b789ca3..f4660fcb57 100644 --- a/ext/standard/tests/strings/vprintf_variation17.phpt +++ b/ext/standard/tests/strings/vprintf_variation17.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : usage variations - scientific formats with scientific values --FILE-- <?php -/* Prototype : string vsprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different scientific formats and scientific values * are passed to the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation18.phpt b/ext/standard/tests/strings/vprintf_variation18.phpt index 2c9168cc87..0a3251f0ac 100644 --- a/ext/standard/tests/strings/vprintf_variation18.phpt +++ b/ext/standard/tests/strings/vprintf_variation18.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - scientific formats with non-scientific values --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different scientific formats and non-scientific values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation19.phpt b/ext/standard/tests/strings/vprintf_variation19.phpt index 446eb43383..d4f30ecec1 100644 --- a/ext/standard/tests/strings/vprintf_variation19.phpt +++ b/ext/standard/tests/strings/vprintf_variation19.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : with white spaces in format strings ***\n"; // initializing the format array diff --git a/ext/standard/tests/strings/vprintf_variation19_64bit.phpt b/ext/standard/tests/strings/vprintf_variation19_64bit.phpt index 779ed87740..672ac62eea 100644 --- a/ext/standard/tests/strings/vprintf_variation19_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation19_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , array $args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vprintf() : with white spaces in format strings ***\n"; // initializing the format array diff --git a/ext/standard/tests/strings/vprintf_variation2.phpt b/ext/standard/tests/strings/vprintf_variation2.phpt index 40b526f1e3..1f04a6395d 100644 --- a/ext/standard/tests/strings/vprintf_variation2.phpt +++ b/ext/standard/tests/strings/vprintf_variation2.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - unexpected values for args argument --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different unexpected values are passed to * the '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation3.phpt b/ext/standard/tests/strings/vprintf_variation3.phpt index e3350e70d7..e6b0afab7d 100644 --- a/ext/standard/tests/strings/vprintf_variation3.phpt +++ b/ext/standard/tests/strings/vprintf_variation3.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - int formats with int values --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different int formats and int values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation4.phpt b/ext/standard/tests/strings/vprintf_variation4.phpt index 6df68cfb86..63018a9db8 100644 --- a/ext/standard/tests/strings/vprintf_variation4.phpt +++ b/ext/standard/tests/strings/vprintf_variation4.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different int formats and non-int values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation4_64bit.phpt b/ext/standard/tests/strings/vprintf_variation4_64bit.phpt index 3df0a9432d..5631a9adb7 100644 --- a/ext/standard/tests/strings/vprintf_variation4_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_variation4_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different int formats and non-int values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation5.phpt b/ext/standard/tests/strings/vprintf_variation5.phpt index bdc41718f0..b09acb7877 100644 --- a/ext/standard/tests/strings/vprintf_variation5.phpt +++ b/ext/standard/tests/strings/vprintf_variation5.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - float formats with float values --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different float formats and float values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation6.phpt b/ext/standard/tests/strings/vprintf_variation6.phpt index 869babcb58..ab19f53069 100644 --- a/ext/standard/tests/strings/vprintf_variation6.phpt +++ b/ext/standard/tests/strings/vprintf_variation6.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - float formats with non-float values --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Output a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different float formats and non-float values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation7.phpt b/ext/standard/tests/strings/vprintf_variation7.phpt Binary files differindex 6e66d9b182..5cda7611a5 100644 --- a/ext/standard/tests/strings/vprintf_variation7.phpt +++ b/ext/standard/tests/strings/vprintf_variation7.phpt diff --git a/ext/standard/tests/strings/vprintf_variation8.phpt b/ext/standard/tests/strings/vprintf_variation8.phpt index a41f53cf02..9b838387c5 100644 --- a/ext/standard/tests/strings/vprintf_variation8.phpt +++ b/ext/standard/tests/strings/vprintf_variation8.phpt @@ -2,11 +2,6 @@ Test vprintf() function : usage variations - string formats with non-string values --FILE-- <?php -/* Prototype : string vprintf(string format, array args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Test vprintf() when different string formats and non-string values are passed to * the '$format' and '$args' arguments of the function diff --git a/ext/standard/tests/strings/vprintf_variation9.phpt b/ext/standard/tests/strings/vprintf_variation9.phpt Binary files differindex adc35c6b54..7a1da7e69d 100644 --- a/ext/standard/tests/strings/vprintf_variation9.phpt +++ b/ext/standard/tests/strings/vprintf_variation9.phpt diff --git a/ext/standard/tests/strings/vsprintf_basic1.phpt b/ext/standard/tests/strings/vsprintf_basic1.phpt index 611e4b8fbd..b8dea3342d 100644 --- a/ext/standard/tests/strings/vsprintf_basic1.phpt +++ b/ext/standard/tests/strings/vsprintf_basic1.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - string format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using string format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic2.phpt b/ext/standard/tests/strings/vsprintf_basic2.phpt index 1afaeb9615..86f7380dc1 100644 --- a/ext/standard/tests/strings/vsprintf_basic2.phpt +++ b/ext/standard/tests/strings/vsprintf_basic2.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - integer format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - /* * Testing vsprintf() : basic functionality - using integer format */ diff --git a/ext/standard/tests/strings/vsprintf_basic3.phpt b/ext/standard/tests/strings/vsprintf_basic3.phpt index 44da08c536..97275193a4 100644 --- a/ext/standard/tests/strings/vsprintf_basic3.phpt +++ b/ext/standard/tests/strings/vsprintf_basic3.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - float format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using float format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic4.phpt b/ext/standard/tests/strings/vsprintf_basic4.phpt index 569ba93987..80482b2dfe 100644 --- a/ext/standard/tests/strings/vsprintf_basic4.phpt +++ b/ext/standard/tests/strings/vsprintf_basic4.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - bool format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using bool format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic5.phpt b/ext/standard/tests/strings/vsprintf_basic5.phpt index 78abb4523d..82f78b1822 100644 --- a/ext/standard/tests/strings/vsprintf_basic5.phpt +++ b/ext/standard/tests/strings/vsprintf_basic5.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - char format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using char format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic6.phpt b/ext/standard/tests/strings/vsprintf_basic6.phpt index fe8e31d168..ae72e5af04 100644 --- a/ext/standard/tests/strings/vsprintf_basic6.phpt +++ b/ext/standard/tests/strings/vsprintf_basic6.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - exponential format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using exponential format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic7.phpt b/ext/standard/tests/strings/vsprintf_basic7.phpt index bb4bc246fe..e9a3dae7e7 100644 --- a/ext/standard/tests/strings/vsprintf_basic7.phpt +++ b/ext/standard/tests/strings/vsprintf_basic7.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt b/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt index fa040715df..664b5174a9 100644 --- a/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt @@ -6,11 +6,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic8.phpt b/ext/standard/tests/strings/vsprintf_basic8.phpt index e7728af3ca..6a5b01fb1a 100644 --- a/ext/standard/tests/strings/vsprintf_basic8.phpt +++ b/ext/standard/tests/strings/vsprintf_basic8.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - octal format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using octal format ***\n"; // Initialise all required variables diff --git a/ext/standard/tests/strings/vsprintf_basic9.phpt b/ext/standard/tests/strings/vsprintf_basic9.phpt index 6dc5a4f4b7..30019d35e7 100644 --- a/ext/standard/tests/strings/vsprintf_basic9.phpt +++ b/ext/standard/tests/strings/vsprintf_basic9.phpt @@ -2,11 +2,6 @@ Test vsprintf() function : basic functionality - hexadecimal format --FILE-- <?php -/* Prototype : string vsprintf(string $format , array $args) - * Description: Return a formatted string - * Source code: ext/standard/formatted_print.c -*/ - echo "*** Testing vsprintf() : basic functionality - using hexadecimal format ***\n"; // Initialising different format strings diff --git a/ext/standard/tests/strings/wordwrap_basic.phpt b/ext/standard/tests/strings/wordwrap_basic.phpt index 37f15a3db2..ec40e96f80 100644 --- a/ext/standard/tests/strings/wordwrap_basic.phpt +++ b/ext/standard/tests/strings/wordwrap_basic.phpt @@ -2,11 +2,6 @@ Test wordwrap() function : basic functionality --FILE-- <?php -/* Prototype : string wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] ) - * Description: Wraps buffer to selected number of characters using string break char - * Source code: ext/standard/string.c -*/ - echo "*** Testing wordwrap() : basic functionality ***\n"; // Initialize all required variables diff --git a/ext/standard/tests/strings/wordwrap_error.phpt b/ext/standard/tests/strings/wordwrap_error.phpt index a3f75de6fb..26020f1e17 100644 --- a/ext/standard/tests/strings/wordwrap_error.phpt +++ b/ext/standard/tests/strings/wordwrap_error.phpt @@ -2,11 +2,6 @@ Test wordwrap() function : error conditions --FILE-- <?php -/* Prototype : string wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] ) - * Description: Wraps buffer to selected number of characters using string break char - * Source code: ext/standard/string.c -*/ - echo "*** Testing wordwrap() : error conditions ***\n"; $str = 'testing wordwrap function'; diff --git a/ext/standard/tests/strings/wordwrap_variation5.phpt b/ext/standard/tests/strings/wordwrap_variation5.phpt index 9efa096555..70c97ed5fa 100644 --- a/ext/standard/tests/strings/wordwrap_variation5.phpt +++ b/ext/standard/tests/strings/wordwrap_variation5.phpt @@ -2,11 +2,6 @@ Test wordwrap() function : usage variations - valid break arguments(spaces) --FILE-- <?php -/* Prototype : string wordwrap ( string $str [, int $width [, string $break [, bool $cut]]] ) - * Description: Wraps buffer to selected number of characters using string break char - * Source code: ext/standard/string.c -*/ - /* *test wordwrap() with break arguments as single spaces */ diff --git a/ext/standard/tests/time/strptime_basic.phpt b/ext/standard/tests/time/strptime_basic.phpt index 666cbcd0e3..7be1e75c00 100644 --- a/ext/standard/tests/time/strptime_basic.phpt +++ b/ext/standard/tests/time/strptime_basic.phpt @@ -9,11 +9,6 @@ Test strptime() function : basic functionality ?> --FILE-- <?php -/* Prototype : array strptime ( string $date , string $format ) - * Description: Parse a time/date generated with strftime() - * Source code: ext/standard/datetime.c -*/ - $orig = setlocale(LC_ALL, 'C'); date_default_timezone_set("GMT"); diff --git a/ext/standard/tests/time/strptime_error.phpt b/ext/standard/tests/time/strptime_error.phpt index 87965cd1a2..c71ee0b465 100644 --- a/ext/standard/tests/time/strptime_error.phpt +++ b/ext/standard/tests/time/strptime_error.phpt @@ -8,12 +8,6 @@ if (!function_exists('strptime')) { ?> --FILE-- <?php -/* Prototype : array strptime ( string $date , string $format ) - * Description: Parse a time/date generated with strftime() - * Source code: ext/standard/datetime.c - * Alias to functions: - */ - //Set the default time zone date_default_timezone_set("Europe/London"); diff --git a/ext/standard/tests/time/strptime_parts.phpt b/ext/standard/tests/time/strptime_parts.phpt index bf7b8310f3..1905e1af35 100644 --- a/ext/standard/tests/time/strptime_parts.phpt +++ b/ext/standard/tests/time/strptime_parts.phpt @@ -8,11 +8,6 @@ Test strptime() function : basic functionality ?> --FILE-- <?php -/* Prototype : array strptime ( string $date , string $format ) - * Description: Parse a time/date generated with strftime() - * Source code: ext/standard/datetime.c -*/ - $orig = setlocale(LC_ALL, 'C'); date_default_timezone_set("GMT"); putenv("TZ=GMT"); diff --git a/ext/standard/tests/url/base64_decode_basic_001.phpt b/ext/standard/tests/url/base64_decode_basic_001.phpt index 2ce6ce6354..11264814fe 100644 --- a/ext/standard/tests/url/base64_decode_basic_001.phpt +++ b/ext/standard/tests/url/base64_decode_basic_001.phpt @@ -2,12 +2,6 @@ Test base64_decode() function : basic functionality - ensure all base64 alphabet is supported. --FILE-- <?php -/* Prototype : proto string base64_decode(string str[, bool strict]) - * Description: Decodes string using MIME base64 algorithm - * Source code: ext/standard/base64.c - * Alias to functions: - */ - echo "Decode an input string containing the whole base64 alphabet:\n"; $allbase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/VV=="; var_dump(bin2hex(base64_decode($allbase64))); diff --git a/ext/standard/tests/url/base64_decode_basic_002.phpt b/ext/standard/tests/url/base64_decode_basic_002.phpt index 647fbd3b5c..7d19e9cb9c 100644 --- a/ext/standard/tests/url/base64_decode_basic_002.phpt +++ b/ext/standard/tests/url/base64_decode_basic_002.phpt @@ -2,12 +2,6 @@ Test base64_decode() function : basic functionality - strict vs non-strict with non-base64 chars. --FILE-- <?php -/* Prototype : proto string base64_decode(string str[, bool strict]) - * Description: Decodes string using MIME base64 algorithm - * Source code: ext/standard/base64.c - * Alias to functions: - */ - echo "Decode 'hello world!':\n"; $noWhiteSpace = "aGVsbG8gd29ybGQh"; var_dump(base64_decode($noWhiteSpace)); diff --git a/ext/standard/tests/url/base64_decode_basic_003.phpt b/ext/standard/tests/url/base64_decode_basic_003.phpt index 0871404453..521f959da4 100644 --- a/ext/standard/tests/url/base64_decode_basic_003.phpt +++ b/ext/standard/tests/url/base64_decode_basic_003.phpt @@ -2,12 +2,6 @@ Test base64_decode() function : basic functionality - padding and whitespace --FILE-- <?php -/* Prototype : proto string base64_decode(string str[, bool strict]) - * Description: Decodes string using MIME base64 algorithm - * Source code: ext/standard/base64.c - * Alias to functions: - */ - echo "Test base64_decode (output as JSON):\n"; $data = [ "", "=", "==", "===", "====", diff --git a/ext/standard/tests/url/base64_encode_basic_001.phpt b/ext/standard/tests/url/base64_encode_basic_001.phpt index ff8c20e1b5..a85c1b0a0f 100644 --- a/ext/standard/tests/url/base64_encode_basic_001.phpt +++ b/ext/standard/tests/url/base64_encode_basic_001.phpt @@ -2,12 +2,6 @@ Test base64_encode() function : basic functionality --FILE-- <?php -/* Prototype : proto string base64_encode(string str) - * Description: Encodes string using MIME base64 algorithm - * Source code: ext/standard/base64.c - * Alias to functions: - */ - /* * Test base64_encode with single byte values. */ diff --git a/ext/standard/tests/url/base64_encode_basic_002.phpt b/ext/standard/tests/url/base64_encode_basic_002.phpt index 94af3c93bd..697afc0916 100644 --- a/ext/standard/tests/url/base64_encode_basic_002.phpt +++ b/ext/standard/tests/url/base64_encode_basic_002.phpt @@ -2,12 +2,6 @@ Test base64_encode() function : basic functionality - check algorithm round trips --FILE-- <?php -/* Prototype : proto string base64_encode(string str) - * Description: Encodes string using MIME base64 algorithm - * Source code: ext/standard/base64.c - * Alias to functions: - */ - /* * Test base64_encode with single byte values. */ diff --git a/ext/standard/tests/url/parse_url_basic_001.phpt b/ext/standard/tests/url/parse_url_basic_001.phpt index 89a63010b9..c5f5042483 100644 --- a/ext/standard/tests/url/parse_url_basic_001.phpt +++ b/ext/standard/tests/url/parse_url_basic_001.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying the component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying the component */ diff --git a/ext/standard/tests/url/parse_url_basic_002.phpt b/ext/standard/tests/url/parse_url_basic_002.phpt index 9616278fc6..6b773671c9 100644 --- a/ext/standard/tests/url/parse_url_basic_002.phpt +++ b/ext/standard/tests/url/parse_url_basic_002.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_SCHEME as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_SCHEME as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_003.phpt b/ext/standard/tests/url/parse_url_basic_003.phpt index 668ee5aab2..01f1ca7c2a 100644 --- a/ext/standard/tests/url/parse_url_basic_003.phpt +++ b/ext/standard/tests/url/parse_url_basic_003.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_HOST as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_HOST as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_004.phpt b/ext/standard/tests/url/parse_url_basic_004.phpt index 464ed20d42..2a57f8d4c7 100644 --- a/ext/standard/tests/url/parse_url_basic_004.phpt +++ b/ext/standard/tests/url/parse_url_basic_004.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PORT as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_PORT as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_005.phpt b/ext/standard/tests/url/parse_url_basic_005.phpt index f776181987..1c85375b6f 100644 --- a/ext/standard/tests/url/parse_url_basic_005.phpt +++ b/ext/standard/tests/url/parse_url_basic_005.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_USER as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_USER as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_006.phpt b/ext/standard/tests/url/parse_url_basic_006.phpt index fc6378106b..a469e647ff 100644 --- a/ext/standard/tests/url/parse_url_basic_006.phpt +++ b/ext/standard/tests/url/parse_url_basic_006.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PASS as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_PASS as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_007.phpt b/ext/standard/tests/url/parse_url_basic_007.phpt index ebcd968879..c1f29119d9 100644 --- a/ext/standard/tests/url/parse_url_basic_007.phpt +++ b/ext/standard/tests/url/parse_url_basic_007.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_PATH as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_PATH as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_008.phpt b/ext/standard/tests/url/parse_url_basic_008.phpt index 033a4489d0..db7c7f0889 100644 --- a/ext/standard/tests/url/parse_url_basic_008.phpt +++ b/ext/standard/tests/url/parse_url_basic_008.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_QUERY as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_QUERY as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_009.phpt b/ext/standard/tests/url/parse_url_basic_009.phpt index 539d05bbd7..34c78869a5 100644 --- a/ext/standard/tests/url/parse_url_basic_009.phpt +++ b/ext/standard/tests/url/parse_url_basic_009.phpt @@ -2,12 +2,6 @@ Test parse_url() function: Parse a load of URLs without specifying PHP_URL_FRAGMENT as the URL component --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * Parse a load of URLs without specifying PHP_URL_FRAGMENT as the URL component */ diff --git a/ext/standard/tests/url/parse_url_basic_010.phpt b/ext/standard/tests/url/parse_url_basic_010.phpt index bf1835fbf8..4f977bc0e3 100644 --- a/ext/standard/tests/url/parse_url_basic_010.phpt +++ b/ext/standard/tests/url/parse_url_basic_010.phpt @@ -2,12 +2,6 @@ Test parse_url() function : check values of URL related constants --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - /* * check values of URL related constants */ diff --git a/ext/standard/tests/url/parse_url_error_002.phpt b/ext/standard/tests/url/parse_url_error_002.phpt index f1581632d0..8747e568e9 100644 --- a/ext/standard/tests/url/parse_url_error_002.phpt +++ b/ext/standard/tests/url/parse_url_error_002.phpt @@ -2,12 +2,6 @@ Test parse_url() function: url component specifier out of range --FILE-- <?php -/* Prototype : proto mixed parse_url(string url, [int url_component]) - * Description: Parse a URL and return its components - * Source code: ext/standard/url.c - * Alias to functions: - */ - echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n"; $url = 'http://secret:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123'; |