Remove unnecessary PHPDoc-alike blocks from tests

Closes GH-5759
This commit is contained in:
Máté Kocsis 2020-06-24 11:34:14 +02:00
parent 187d7f05c2
commit b5c7a83dca
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2374 changed files with 498 additions and 13447 deletions

View file

@ -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

View file

@ -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' ) );

View file

@ -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
*/

View file

@ -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() {}

View file

@ -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

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -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
*/

View file

@ -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
*/

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -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

View file

@ -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
*/

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -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

View file

@ -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
*/

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -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

View file

@ -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
*/

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -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

View file

@ -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
*/

View file

@ -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");

View file

@ -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
*/

View file

@ -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

View file

@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - different strings
<?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 strings containing different character types to ctype_lower() to test
* which are considered valid lowercase character only strings

View file

@ -4,11 +4,6 @@ Test ctype_lower() function : usage variations - octal and hexadecimal values
<?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 octal and hexadecimal values to ctype_lower() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_print() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
* Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_print() : basic functionality ***\n";
$orig = setlocale(LC_CTYPE, "C");

View file

@ -4,11 +4,6 @@ Test ctype_print() function : usage variations - different data types as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
* Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different data types as $c argument to ctype_print() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_print() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
* Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different integers to ctype_print() to test which character codes are considered
* valid printable characters

View file

@ -4,11 +4,6 @@ Test ctype_print() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
* Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass strings containing different character types to ctype_print() to test
* which are considered valid printable character only strings

View file

@ -4,11 +4,6 @@ Test ctype_print() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
* Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass octal and hexadecimal values to ctype_print() to test behaviour
*/

View file

@ -4,12 +4,6 @@ Test ctype_punct() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
* Description: Checks for any printable character which is not whitespace
* or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_punct() : basic functionality ***\n";
$orig = setlocale(LC_CTYPE, "C");

View file

@ -4,12 +4,6 @@ Test ctype_punct() function : usage variations - different data types as $c argu
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
* Description: Checks for any printable character which is not whitespace
* or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different data types as $c argument to ctype_punt() to test behaviour
*/

View file

@ -4,12 +4,6 @@ Test ctype_punct() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
* Description: Checks for any printable character which is not whitespace
* or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different integers to ctype_punct() to test which character codes are considered
* valid punctuation characters

View file

@ -4,12 +4,6 @@ Test ctype_punct() function : usage variations - different punctuation
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
* Description: Checks for any printable character which is not whitespace
* or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
/*
* Pass strings containing different character types to ctype_punct() to test
* which are considered valid punctuation character only strings

View file

@ -4,12 +4,6 @@ Test ctype_punct() function : usage variations - Octal and Hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
* Description: Checks for any printable character which is not whitespace
* or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different octal and hexadecimal values to ctype_punct() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_space() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_space(mixed $c)
* Description: Checks for whitespace character(s)
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_space() : basic functionality ***\n";
$orig = setlocale(LC_CTYPE, "C");

View file

@ -4,11 +4,6 @@ Test ctype_space() function : usage variations - different data types as $c argu
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_space(mixed $c)
* Description: Checks for whitespace character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different data types as $c argument to ctype_space() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_space() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_space(mixed $c)
* Description: Checks for whitespace character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different integers to ctype_space() to test which character codes are considered
* valid whitespace characters

View file

@ -4,11 +4,6 @@ Test ctype_space() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_space(mixed $c)
* Description: Checks for whitespace character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass strings containing different character types to ctype_space() to test
* which are considered valid whitespace character only strings

View file

@ -4,11 +4,6 @@ Test ctype_space() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_space(mixed $c)
* Description: Checks for whitespace character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass octal and hexadecimal values as $c to ctype_space() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_upper() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_upper() : basic functionality ***\n";
$orig = setlocale(LC_CTYPE, "C");

View file

@ -4,11 +4,6 @@ Test ctype_upper() function : usage variations - different data types
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different data types as $c argument to ctype_upper() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_upper() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different integers to ctype_upper() to test which character codes are considered
* valid uppercase characters

View file

@ -4,11 +4,6 @@ Test ctype_upper() function : usage variations - different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass strings containing different character types to ctype_upper() to test
* which are considered valid uppercase character only strings

View file

@ -4,11 +4,6 @@ Test ctype_upper() function : usage variations - octal and hexadecimal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
/*
* Pass octal and hexadecimal values to ctype_upper() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_xdigit() function : basic functionality
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
* Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_xdigit() : basic functionality ***\n";
$orig = setlocale(LC_CTYPE, "C");

View file

@ -4,11 +4,6 @@ Test ctype_xdigit() function : usage variations - different data typse as $c arg
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
* Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different data types as $c argument to ctype_xdigit() to test behaviour
*/

View file

@ -4,11 +4,6 @@ Test ctype_xdigit() function : usage variations - different integers
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
* Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different integers to ctype_xdigit() to test which character codes are considered
* valid hexadecimal 'digits'

View file

@ -4,11 +4,6 @@ Test ctype_xdigit() function : usage variations - Different strings
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
* Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
/*
* Pass strings containing different character types to ctype_xdigit() to test
* which are considered valid hexadecimal 'digit' only strings

View file

@ -4,11 +4,6 @@ Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
* Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
/*
* Pass different hexadecimal and octal values that:
* 1. contain hexadecimal digits

View file

@ -6,12 +6,6 @@ include 'skipif.inc';
?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,11 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_exec(resource ch)
* Description: Perform a cURL session
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,12 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,12 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,12 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,12 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -7,12 +7,6 @@ TestFest 2009 - AFUP - Jean-Marc Fontaine <jmf@durcommefaire.net>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -6,12 +6,6 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -6,12 +6,6 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -6,12 +6,6 @@ TestFest 2009 - AFUP - Xavier Gorse <xgorse@elao.com>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -6,12 +6,6 @@ TestFest 2009 - AFUP - Thomas Rabaix <thomas.rabaix@gmail.com>
<?php include 'skipif.inc'; ?>
--FILE--
<?php
/* Prototype : bool curl_setopt(resource ch, int option, mixed value)
* Description: Set an option for a cURL transfer
* Source code: ext/curl/interface.c
* Alias to functions:
*/
include 'server.inc';
$host = curl_cli_server_start();

View file

@ -16,7 +16,6 @@ if ($ip != $url) die("skip 'fakeURL' resolves to $ip\n");
--FILE--
<?php
/*
* Prototype: string curl_error(resource $ch)
* Description: Returns a clear text error message for the last cURL operation.
* Source: ext/curl/interface.c
* Documentation: http://wiki.php.net/qa/temp/ext/curl

View file

@ -7,11 +7,6 @@ Mark van der Velden
<?php if (!extension_loaded("curl")) print "skip"; ?>
--FILE--
<?php
/* Prototype : resource curl_multi_init(void)
* Description : Returns a new cURL multi handle
* Source code : ext/curl/multi.c
* Test documentation: http://wiki.php.net/qa/temp/ext/curl
*/
// start testing
echo "*** Testing curl_multi_init(void); ***\n";

View file

@ -7,13 +7,6 @@ Ivo Jansch <ivo@ibuildings.com>
<?php if (!extension_loaded("curl")) print "skip"; ?>
--FILE--
<?php
/* Prototype : resource curl_multi_select($mh, $timeout=1.0])
* Description : Get all the sockets associated with the cURL extension, which can then be
* "selected"
* Source code : ?
* Test documentation: http://wiki.php.net/qa/temp/ext/curl
*/
//create the multiple cURL handle
$mh = curl_multi_init();

View file

@ -8,7 +8,6 @@ Mattijs Hoitink mattijshoitink@gmail.com
--FILE--
<?php
/*
* Prototype: bool curl_setopt_array(resource $ch, array $options)
* Description: Sets multiple options for a cURL session.
* Source: ext/curl/interface.c
* Documentation: http://wiki.php.net/qa/temp/ext/curl

View file

@ -2,12 +2,6 @@
Test new DateTimeZone() : basic functionality
--FILE--
<?php
/* Prototype : DateTimeZone::__construct ( string $timezone )
* Description: Returns new DateTimeZone object
* Source code: ext/date/php_date.c
* Alias to functions:
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,11 +2,6 @@
Test new DateTimeZone() : error conditions
--FILE--
<?php
/* Prototype : DateTimeZone::__construct ( string $timezone )
* Description: Returns new DateTimeZone object
* Source code: ext/date/php_date.c
* Alias to functions:
*/
//Set the default time zone
date_default_timezone_set("GMT");

View file

@ -2,12 +2,6 @@
Test DateTimeZone::getName() function : basic functionality
--FILE--
<?php
/* Prototype : public string DateTimeZone::getName ( void )
* Description: Returns the name of the timezone
* Source code: ext/date/php_date.c
* Alias to functions: timezone_name_get()
*/
echo "*** Testing DateTimeZone::getName() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test DateTimeZone::getOffset() function : basic functionality
--FILE--
<?php
/* Prototype : int DateTimeZone::getOffset ( DateTime $datetime )
* Description: Returns the timezone offset from GMT
* Source code: ext/date/php_date.c
* Alias to functions: timezone_offset_get()
*/
echo "*** Testing DateTimeZone::getOffset() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test DateTimeZone::getTransitions() function : basic functionality
--FILE--
<?php
/* Prototype : array DateTimeZone::getTransitions ()
* Description: Returns all transitions for the timezone
* Source code: ext/date/php_date.c
* Alias to functions: timezone_transitions_get()
*/
echo "*** Testing DateTimeZone::getTransitions() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test DateTimeZone::listAbbreviations() function : basic functionality
--FILE--
<?php
/* Prototype : array DateTimeZone::listAbbreviations ( void )
* Description: Returns associative array containing dst, offset and the timezone name
* Source code: ext/date/php_date.c
* Alias to functions: timezone_abbreviations_list
*/
echo "*** Testing DateTimeZone::listAbbreviations() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test DateTimeZone::listIdentifiers function : basic functionality
--FILE--
<?php
/* Prototype : array DateTimeZone::listIdentifiers ( void )
* Description: Returns numerically index array with all timezone identifiers
* Source code: ext/date/php_date.c
* Alias to functions: timezone_identifiers_list
*/
echo "*** Testing DateTimeZone::listIdentifiers() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test new DateTime() : basic functionality
--FILE--
<?php
/* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] )
* Description: Returns new DateTime object
* Source code: ext/date/php_date.c
* Alias to functions:
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,11 +2,6 @@
Test new DateTime() : error conditions
--FILE--
<?php
/* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] )
* Description: Returns new DateTime object
* Source code: ext/date/php_date.c
* Alias to functions:
*/
//Set the default time zone
date_default_timezone_set("GMT");

View file

@ -2,12 +2,6 @@
Test DateTime::format() function : basic functionality
--FILE--
<?php
/* Prototype : public string DateTime::format ( string $format )
* Description: Returns date formatted according to given format
* Source code: ext/date/php_date.c
* Alias to functions: date_format
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test date_format() function : basic functionality
--FILE--
<?php
/* Prototype : public string DateTime::format ( string $format )
* Description: Returns date formatted according to given format
* Source code: ext/date/php_date.c
* Alias to functions: date_format
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test DateTime::getOffset() function : basic functionality
--FILE--
<?php
/* Prototype : public int DateTime::getOffset ( void )
* Description: Returns the daylight saving time offset
* Source code: ext/date/php_date.c
* Alias to functions: date_offset_get
*/
//Set the default time zone
date_default_timezone_set('Europe/London');

View file

@ -2,12 +2,6 @@
Test DateTime::getTimezone() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTimeZone DateTime::getTimezone ( void )
* Description: Return time zone relative to given DateTime
* Source code: ext/date/php_date.c
* Alias to functions: date_timezone_get
*/
echo "*** Testing DateTime::getTimezone() : basic functionality ***\n";
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test DateTime::modify() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTime DateTime::modify ( string $modify )
* Description: Alter the timestamp of a DateTime object by incrementing or decrementing in a format accepted by strtotime().
* Source code: ext/date/php_date.c
* Alias to functions: public date_modify()
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test DateTime::setDate() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
* Description: Resets the current date of the DateTime object to a different date.
* Source code: ext/date/php_date.c
* Alias to functions: date_date_set()
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test DateTime::setISODate() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTime DateTime::setISODate ( int $year , int $week [, int $day ] )
* Description: Set a date according to the ISO 8601 standard - using weeks and day offsets rather than specific dates.
* Source code: ext/date/php_date.c
* Alias to functions: date_isodate_set
*/
echo "*** Testing DateTime::setISODate() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test DateTime::setTime() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] )
* Description: Resets the current time of the DateTime object to a different time.
* Source code: ext/date/php_date.c
* Alias to functions: date_time_set
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test DateTime::setTimezone() function : basic functionality
--FILE--
<?php
/* Prototype : public DateTime DateTime::setTimezone ( DateTimeZone $timezone )
* Description: Sets the time zone for the DateTime object
* Source code: ext/date/php_date.c
* Alias to functions: date_timezone_set
*/
echo "*** Testing DateTime::setTimezone() : basic functionality ***\n";
//Set the default time zone

View file

@ -2,12 +2,6 @@
Test date_create() function : basic functionality
--FILE--
<?php
/* Prototype : bool checkdate ( int $month , int $day , int $year )
* Description: Checks the validity of the date formed by the arguments.
* A date is considered valid if each parameter is properly defined.
* Source code: ext/date/php_date.c
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -5,12 +5,6 @@ Felix De Vliegher <felix.devliegher@gmail.com>
--FILE--
<?php
date_default_timezone_set('UTC');
/* Prototype : void date_add(DateTime object, DateInterval interval)
* Description: Adds an interval to the current date in object.
* Source code: ext/date/php_date.c
* Alias to functions:
*/
echo "*** Testing date_add() : basic functionality ***\n";
// Initialise all required variables

View file

@ -2,11 +2,6 @@
Test date() function : basic functionality
--FILE--
<?php
/* Prototype : string date ( string $format [, int $timestamp ] )
* Description: Format a local time/date.
* Source code: ext/date/php_date.c
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test date_create() function : basic functionality
--FILE--
<?php
/* Prototype : DateTime date_create ([ string $time [, DateTimeZone $timezone ]] )
* Description: Returns new DateTime object
* Source code: ext/date/php_date.c
* Alias to functions: DateTime::__construct
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,12 +2,6 @@
Test date_date_set() function : basic functionality
--FILE--
<?php
/* Prototype : DateTime date_date_set ( DateTime $object , int $year , int $month , int $day )
* Description: Resets the current date of the DateTime object to a different date.
* Source code: ext/date/php_date.c
* Alias to functions: DateTime::setDate
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

View file

@ -2,11 +2,6 @@
Test date_default_timezone_set() function : error variations
--FILE--
<?php
/* Prototype : bool date_default_timezone_set ( string $timezone_identifier )
* Description: Sets the default timezone used by all date/time functions in a script.
* Source code: ext/standard/data/php_date.c
*/
echo "*** Testing date_default_timezone_set() : error variations ***\n";
echo "\n-- Testing date_default_timezone_set() function with invalid timezone identifier --\n";

View file

@ -2,12 +2,6 @@
Test date_format() function : basic functionality
--FILE--
<?php
/* Prototype : string date_format ( DateTime $object , string $format )
* Description: Returns date formatted according to given format
* Source code: ext/date/php_date.c
* Alias to functions: DateTime::format
*/
//Set the default time zone
date_default_timezone_set("Europe/London");

Some files were not shown because too many files have changed in this diff Show more