Skip to content

Remove unnecessary PHPDoc-alike blocks from tests #5759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 0 additions & 10 deletions Zend/tests/019.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
Test unset(), empty() and isset() functions
--FILE--
<?php
/* Prototype: void unset ( mixed $var [, mixed $var [, mixed $...]] );
Description: unset() destroys the specified variables

Prototype: bool empty( mixed $var );
Description: Determine whether a variable is considered to be empty

Prototype: bool isset ( mixed $var [, mixed $var [, $...]] );
Description: Returns TRUE if var exists; FALSE otherwise
*/

echo "*** Testing unset(), empty() & isset() with scalar variables ***\n";

// testing scalar variables
Expand Down
6 changes: 0 additions & 6 deletions Zend/tests/bug46196.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ Test restore_error_handler() function : bug #46196
Olivier Doucet
--FILE--
<?php
/* Prototype : void restore_error_handler(void)
* Description: Restores the previously defined error handler function
* Source code: Zend/zend_builtin_functions.c
* Alias to functions:
*/

echo "*** Testing restore_error_handler() : error bug #46196 ***\n";

var_dump( set_error_handler( 'myErrorHandler' ) );
Expand Down
1 change: 0 additions & 1 deletion Zend/tests/function_exists_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ function_exists function : basic functionality
--FILE--
<?php
/*
* proto bool function_exists(string function_name)
* Function is implemented in Zend/zend_builtin_functions.c
*/

Expand Down
5 changes: 0 additions & 5 deletions Zend/tests/get_defined_functions_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ get_defined_functions() function : basic functionality
--FILE--
<?php

/* Prototype : array get_defined_functions ( void )
* Description: Gets an array of all defined functions.
* Source code: Zend/zend_builtin_functions.c
*/

echo "*** Testing get_defined_functions() : basic functionality ***\n";

function foo() {}
Expand Down
4 changes: 0 additions & 4 deletions Zend/tests/get_defined_vars.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
Testing get_defined_vars() Function
--FILE--
<?php
/* Prototype: array get_defined_vars(void);
* Description: Returns a multidimensional array of all defined variables.
*/

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

$number = 22.33; //number
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alnum_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alnum() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
* Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_alnum() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alnum_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - Different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
* Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_alnum() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alnum_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
* Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_alnum() to test which character codes are considered
* valid alphanumeric characters
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alnum_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - different string values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
* Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different strings to ctype_alnum to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alnum_variation4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alnum() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
* Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass octal and hexadecimal values to ctype_alnum() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alpha_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alpha() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
* Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_alpha() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alpha_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
* Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_alpha() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alpha_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
* Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_alpha() to test which character codes are considered
* valid alphabetic characters
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alpha_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
* Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass strings containing different character types to ctype_alpha() to test
* which are considered valid alphabetic character only strings
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_alpha_variation4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_alpha() function : usage variations - Octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
* Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass octal and hexadecimal values to ctype_alpha() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_cntrl_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_cntrl() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
* Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_cntrl() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_cntrl_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
* Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_cntrl() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_cntrl_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
* Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_cntrl() to test which character codes are considered
* valid control characters
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_cntrl_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
* Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass strings containing different character types to ctype_cntrl() to test
* which are considered valid control character only strings
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_cntrl_variation4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_cntrl() function : usage variations - Octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
* Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass hexadecimal and octal values to ctype_cntrl() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_digit_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_digit() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
* Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_digit() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_digit_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
* Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_digit() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_digit_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
* Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_digit() to test which character codes are considered
* valid decimal digits
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_digit_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
* Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass strings containing different character types to ctype_digit() to test
* which are considered valid decimal digit only strings
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_digit_variation4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_digit() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
* Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass octal and hexadecimal values as $c argument to ctype_digit() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_graph_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_graph() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
* Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_graph() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_graph_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
* Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_graph() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_graph_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
* Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_graph() to test which character codes are considered
* valid visibly printable characters
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_graph_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
* Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/

/*
* Pass strings containing different character types to ctype_graph() to test
* which are considered valid printable character only strings
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_graph_variation4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_graph() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
* Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/

/*
* Pass octal and hexadecimal values to ctype_graph() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_lower_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_lower() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
* Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/

echo "*** Testing ctype_lower() : basic functionality ***\n";

$orig = setlocale(LC_CTYPE, "C");
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_lower_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
* Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different data types as $c argument to ctype_lower() to test behaviour
*/
Expand Down
5 changes: 0 additions & 5 deletions ext/ctype/tests/ctype_lower_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
* Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/

/*
* Pass different integers to ctype_lower() to test which character codes are considered
* valid lowercase characters
Expand Down
Loading