Skip to content

Commit b5c7a83

Browse files
committed
Remove unnecessary PHPDoc-alike blocks from tests
Closes phpGH-5759
1 parent 187d7f0 commit b5c7a83

File tree

2,374 files changed

+500
-13449
lines changed

Some content is hidden

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

2,374 files changed

+500
-13449
lines changed

Zend/tests/019.phpt

-10
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
Test unset(), empty() and isset() functions
33
--FILE--
44
<?php
5-
/* Prototype: void unset ( mixed $var [, mixed $var [, mixed $...]] );
6-
Description: unset() destroys the specified variables
7-
8-
Prototype: bool empty( mixed $var );
9-
Description: Determine whether a variable is considered to be empty
10-
11-
Prototype: bool isset ( mixed $var [, mixed $var [, $...]] );
12-
Description: Returns TRUE if var exists; FALSE otherwise
13-
*/
14-
155
echo "*** Testing unset(), empty() & isset() with scalar variables ***\n";
166

177
// testing scalar variables

Zend/tests/bug46196.phpt

-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ Test restore_error_handler() function : bug #46196
44
Olivier Doucet
55
--FILE--
66
<?php
7-
/* Prototype : void restore_error_handler(void)
8-
* Description: Restores the previously defined error handler function
9-
* Source code: Zend/zend_builtin_functions.c
10-
* Alias to functions:
11-
*/
12-
137
echo "*** Testing restore_error_handler() : error bug #46196 ***\n";
148

159
var_dump( set_error_handler( 'myErrorHandler' ) );

Zend/tests/function_exists_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ function_exists function : basic functionality
33
--FILE--
44
<?php
55
/*
6-
* proto bool function_exists(string function_name)
76
* Function is implemented in Zend/zend_builtin_functions.c
87
*/
98

Zend/tests/get_defined_functions_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ get_defined_functions() function : basic functionality
33
--FILE--
44
<?php
55

6-
/* Prototype : array get_defined_functions ( void )
7-
* Description: Gets an array of all defined functions.
8-
* Source code: Zend/zend_builtin_functions.c
9-
*/
10-
116
echo "*** Testing get_defined_functions() : basic functionality ***\n";
127

138
function foo() {}

Zend/tests/get_defined_vars.phpt

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
Testing get_defined_vars() Function
33
--FILE--
44
<?php
5-
/* Prototype: array get_defined_vars(void);
6-
* Description: Returns a multidimensional array of all defined variables.
7-
*/
8-
95
/* Various variables definitions used for testing of the function */
106

117
$number = 22.33; //number

ext/ctype/tests/ctype_alnum_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alnum() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alnum(mixed $c)
8-
* Description: Checks for alphanumeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_alnum() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_alnum_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - Different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alnum(mixed $c)
8-
* Description: Checks for alphanumeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_alnum() to test behaviour
149
*/

ext/ctype/tests/ctype_alnum_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alnum(mixed $c)
8-
* Description: Checks for alphanumeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_alnum() to test which character codes are considered
149
* valid alphanumeric characters

ext/ctype/tests/ctype_alnum_variation3.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - different string values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alnum(mixed $c)
8-
* Description: Checks for alphanumeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different strings to ctype_alnum to test behaviour
149
*/

ext/ctype/tests/ctype_alnum_variation4.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alnum(mixed $c)
8-
* Description: Checks for alphanumeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass octal and hexadecimal values to ctype_alnum() to test behaviour
149
*/

ext/ctype/tests/ctype_alpha_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alpha() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alpha(mixed $c)
8-
* Description: Checks for alphabetic character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_alpha() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_alpha_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alpha(mixed $c)
8-
* Description: Checks for alphabetic character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_alpha() to test behaviour
149
*/

ext/ctype/tests/ctype_alpha_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alpha(mixed $c)
8-
* Description: Checks for alphabetic character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_alpha() to test which character codes are considered
149
* valid alphabetic characters

ext/ctype/tests/ctype_alpha_variation3.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alpha(mixed $c)
8-
* Description: Checks for alphabetic character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass strings containing different character types to ctype_alpha() to test
149
* which are considered valid alphabetic character only strings

ext/ctype/tests/ctype_alpha_variation4.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - Octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_alpha(mixed $c)
8-
* Description: Checks for alphabetic character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass octal and hexadecimal values to ctype_alpha() to test behaviour
149
*/

ext/ctype/tests/ctype_cntrl_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_cntrl() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_cntrl(mixed $c)
8-
* Description: Checks for control character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_cntrl() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_cntrl_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_cntrl(mixed $c)
8-
* Description: Checks for control character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_cntrl() to test behaviour
149
*/

ext/ctype/tests/ctype_cntrl_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_cntrl(mixed $c)
8-
* Description: Checks for control character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_cntrl() to test which character codes are considered
149
* valid control characters

ext/ctype/tests/ctype_cntrl_variation3.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_cntrl(mixed $c)
8-
* Description: Checks for control character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass strings containing different character types to ctype_cntrl() to test
149
* which are considered valid control character only strings

ext/ctype/tests/ctype_cntrl_variation4.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_cntrl(mixed $c)
8-
* Description: Checks for control character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass hexadecimal and octal values to ctype_cntrl() to test behaviour
149
*/

ext/ctype/tests/ctype_digit_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_digit() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_digit(mixed $c)
8-
* Description: Checks for numeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_digit() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_digit_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_digit(mixed $c)
8-
* Description: Checks for numeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_digit() to test behaviour
149
*/

ext/ctype/tests/ctype_digit_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_digit(mixed $c)
8-
* Description: Checks for numeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_digit() to test which character codes are considered
149
* valid decimal digits

ext/ctype/tests/ctype_digit_variation3.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_digit(mixed $c)
8-
* Description: Checks for numeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass strings containing different character types to ctype_digit() to test
149
* which are considered valid decimal digit only strings

ext/ctype/tests/ctype_digit_variation4.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_digit(mixed $c)
8-
* Description: Checks for numeric character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass octal and hexadecimal values as $c argument to ctype_digit() to test behaviour
149
*/

ext/ctype/tests/ctype_graph_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_graph() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_graph(mixed $c)
8-
* Description: Checks for any printable character(s) except space
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_graph() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_graph_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_graph(mixed $c)
8-
* Description: Checks for any printable character(s) except space
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_graph() to test behaviour
149
*/

ext/ctype/tests/ctype_graph_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_graph(mixed $c)
8-
* Description: Checks for any printable character(s) except space
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_graph() to test which character codes are considered
149
* valid visibly printable characters

ext/ctype/tests/ctype_graph_variation3.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_graph(mixed $c)
8-
* Description: Checks for any printable character(s) except space
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass strings containing different character types to ctype_graph() to test
149
* which are considered valid printable character only strings

ext/ctype/tests/ctype_graph_variation4.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_graph(mixed $c)
8-
* Description: Checks for any printable character(s) except space
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass octal and hexadecimal values to ctype_graph() to test behaviour
149
*/

ext/ctype/tests/ctype_lower_basic.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_lower() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_lower(mixed $c)
8-
* Description: Checks for lowercase character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
echo "*** Testing ctype_lower() : basic functionality ***\n";
138

149
$orig = setlocale(LC_CTYPE, "C");

ext/ctype/tests/ctype_lower_variation1.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_lower(mixed $c)
8-
* Description: Checks for lowercase character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different data types as $c argument to ctype_lower() to test behaviour
149
*/

ext/ctype/tests/ctype_lower_variation2.phpt

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_lower(mixed $c)
8-
* Description: Checks for lowercase character(s)
9-
* Source code: ext/ctype/ctype.c
10-
*/
11-
127
/*
138
* Pass different integers to ctype_lower() to test which character codes are considered
149
* valid lowercase characters

0 commit comments

Comments
 (0)