Skip to content

Commit bf584de

Browse files
committed
Remove protos from tests
1 parent ba434fb commit bf584de

File tree

1,946 files changed

+2267
-4286
lines changed

Some content is hidden

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

1,946 files changed

+2267
-4286
lines changed

Zend/tests/019.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
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
5+
/* Description: unset() destroys the specified variables
76
87
Prototype: bool empty( mixed $var );
98
Description: Determine whether a variable is considered to be empty

Zend/tests/bug46196.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Restores the previously defined error handler function
98
* Source code: Zend/zend_builtin_functions.c
109
* Alias to functions:
1110
*/

Zend/tests/function_exists_basic.phpt

Lines changed: 0 additions & 1 deletion
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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ 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.
6+
/* Description: Gets an array of all defined functions.
87
* Source code: Zend/zend_builtin_functions.c
98
*/
109

Zend/tests/get_defined_vars.phpt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
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-
*/
5+
/* Description: Returns a multidimensional array of all defined variables. */
86

97
/* Various variables definitions used for testing of the function */
108

ext/ctype/tests/ctype_alnum_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphanumeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alnum_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphanumeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alnum_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphanumeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alnum_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphanumeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alnum_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphanumeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alpha_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphabetic character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alpha_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphabetic character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alpha_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphabetic character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alpha_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphabetic character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_alpha_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for alphabetic character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_cntrl_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for control character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_cntrl_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for control character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_cntrl_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for control character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_cntrl_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for control character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_cntrl_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for control character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_digit_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for numeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_digit_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for numeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_digit_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for numeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_digit_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for numeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_digit_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for numeric character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_graph_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Checks for any printable character(s) except space
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_graph_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Checks for any printable character(s) except space
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_graph_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Checks for any printable character(s) except space
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_graph_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Checks for any printable character(s) except space
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_graph_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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
7+
/* Description: Checks for any printable character(s) except space
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_lower_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for lowercase character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_lower_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for lowercase character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_lower_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ 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)
7+
/* Description: Checks for lowercase character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_lower_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_lower() function : usage variations - different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_lower(mixed $c)
8-
* Description: Checks for lowercase character(s)
7+
/* Description: Checks for lowercase character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_lower_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_lower() function : usage variations - octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_lower(mixed $c)
8-
* Description: Checks for lowercase character(s)
7+
/* Description: Checks for lowercase character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_print_basic.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_print() function : basic functionality
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_print(mixed $c)
8-
* Description: Checks for printable character(s)
7+
/* Description: Checks for printable character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_print_variation1.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_print() function : usage variations - different data types as $c arg
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_print(mixed $c)
8-
* Description: Checks for printable character(s)
7+
/* Description: Checks for printable character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_print_variation2.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_print() function : usage variations - different integers
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_print(mixed $c)
8-
* Description: Checks for printable character(s)
7+
/* Description: Checks for printable character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_print_variation3.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_print() function : usage variations - different strings
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_print(mixed $c)
8-
* Description: Checks for printable character(s)
7+
/* Description: Checks for printable character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

ext/ctype/tests/ctype_print_variation4.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Test ctype_print() function : usage variations - octal and hexadecimal values
44
<?php require_once('skipif.inc'); ?>
55
--FILE--
66
<?php
7-
/* Prototype : bool ctype_print(mixed $c)
8-
* Description: Checks for printable character(s)
7+
/* Description: Checks for printable character(s)
98
* Source code: ext/ctype/ctype.c
109
*/
1110

0 commit comments

Comments
 (0)