summaryrefslogtreecommitdiff
path: root/ext/ctype
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ctype')
-rw-r--r--ext/ctype/tests/001.phpt14
-rw-r--r--ext/ctype/tests/002.phpt10
-rw-r--r--ext/ctype/tests/ctype_alnum_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_alnum_error.phpt4
-rw-r--r--ext/ctype/tests/ctype_alnum_variation1.phpt8
-rw-r--r--ext/ctype/tests/ctype_alnum_variation2.phpt4
-rw-r--r--ext/ctype/tests/ctype_alnum_variation3.phpt6
-rw-r--r--ext/ctype/tests/ctype_alnum_variation4.phpt4
-rw-r--r--ext/ctype/tests/ctype_alpha_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_alpha_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_alpha_variation1.phpt6
-rw-r--r--ext/ctype/tests/ctype_alpha_variation2.phpt2
-rw-r--r--ext/ctype/tests/ctype_alpha_variation3.phpt4
-rw-r--r--ext/ctype/tests/ctype_alpha_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_cntrl_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_cntrl_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_cntrl_variation1.phpt6
-rw-r--r--ext/ctype/tests/ctype_cntrl_variation2.phpt2
-rw-r--r--ext/ctype/tests/ctype_cntrl_variation3.phpt4
-rw-r--r--ext/ctype/tests/ctype_cntrl_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_digit_basic.phpt2
-rw-r--r--ext/ctype/tests/ctype_digit_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_digit_variation1.phpt6
-rw-r--r--ext/ctype/tests/ctype_digit_variation2.phpt2
-rw-r--r--ext/ctype/tests/ctype_digit_variation3.phpt4
-rw-r--r--ext/ctype/tests/ctype_digit_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_graph_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_graph_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_graph_variation1.phpt8
-rw-r--r--ext/ctype/tests/ctype_graph_variation2.phpt4
-rw-r--r--ext/ctype/tests/ctype_graph_variation3.phpt4
-rw-r--r--ext/ctype/tests/ctype_graph_variation4.phpt4
-rw-r--r--ext/ctype/tests/ctype_lower_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_lower_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_lower_variation1.phpt8
-rw-r--r--ext/ctype/tests/ctype_lower_variation2.phpt4
-rw-r--r--ext/ctype/tests/ctype_lower_variation3.phpt2
-rw-r--r--ext/ctype/tests/ctype_lower_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_print_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_print_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_print_variation1.phpt6
-rw-r--r--ext/ctype/tests/ctype_print_variation2.phpt2
-rw-r--r--ext/ctype/tests/ctype_print_variation3.phpt4
-rw-r--r--ext/ctype/tests/ctype_print_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_punct_basic.phpt10
-rw-r--r--ext/ctype/tests/ctype_punct_error.phpt8
-rw-r--r--ext/ctype/tests/ctype_punct_variation1.phpt12
-rw-r--r--ext/ctype/tests/ctype_punct_variation2.phpt8
-rw-r--r--ext/ctype/tests/ctype_punct_variation3.phpt6
-rw-r--r--ext/ctype/tests/ctype_punct_variation4.phpt8
-rw-r--r--ext/ctype/tests/ctype_space_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_space_variation1.phpt4
-rw-r--r--ext/ctype/tests/ctype_space_variation3.phpt2
-rw-r--r--ext/ctype/tests/ctype_upper_basic.phpt4
-rw-r--r--ext/ctype/tests/ctype_upper_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_upper_variation1.phpt6
-rw-r--r--ext/ctype/tests/ctype_upper_variation2.phpt2
-rw-r--r--ext/ctype/tests/ctype_upper_variation3.phpt2
-rw-r--r--ext/ctype/tests/ctype_upper_variation4.phpt2
-rw-r--r--ext/ctype/tests/ctype_xdigit_basic.phpt8
-rw-r--r--ext/ctype/tests/ctype_xdigit_error.phpt2
-rw-r--r--ext/ctype/tests/ctype_xdigit_variation1.phpt10
-rw-r--r--ext/ctype/tests/ctype_xdigit_variation2.phpt6
-rw-r--r--ext/ctype/tests/ctype_xdigit_variation3.phpt6
-rw-r--r--ext/ctype/tests/ctype_xdigit_variation4.phpt6
65 files changed, 149 insertions, 149 deletions
diff --git a/ext/ctype/tests/001.phpt b/ext/ctype/tests/001.phpt
index 0c80aecba4..edb1f52ab0 100644
--- a/ext/ctype/tests/001.phpt
+++ b/ext/ctype/tests/001.phpt
@@ -3,11 +3,11 @@ ctype on integers
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
-<?php
- setlocale(LC_ALL,"C");
+<?php
+ setlocale(LC_ALL,"C");
function ctype_test_001($function) {
- $n=0;
+ $n=0;
for($a=0;$a<256;$a++) {
if($function($a)) $n++;
}
@@ -15,10 +15,10 @@ ctype on integers
}
ctype_test_001("ctype_lower");
ctype_test_001("ctype_upper");
-ctype_test_001("ctype_alpha");
-ctype_test_001("ctype_digit");
-ctype_test_001("ctype_alnum");
-ctype_test_001("ctype_cntrl");
+ctype_test_001("ctype_alpha");
+ctype_test_001("ctype_digit");
+ctype_test_001("ctype_alnum");
+ctype_test_001("ctype_cntrl");
ctype_test_001("ctype_graph");
ctype_test_001("ctype_print");
ctype_test_001("ctype_punct");
diff --git a/ext/ctype/tests/002.phpt b/ext/ctype/tests/002.phpt
index c20612cf44..e949db3992 100644
--- a/ext/ctype/tests/002.phpt
+++ b/ext/ctype/tests/002.phpt
@@ -3,7 +3,7 @@ ctype on strings
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
-<?php
+<?php
setlocale(LC_ALL,"C");
print "LOCALE is '" . setlocale(LC_ALL,0) . "'\n";
@@ -22,10 +22,10 @@ function ctype_test_002($function) {
ctype_test_002("ctype_lower");
ctype_test_002("ctype_upper");
-ctype_test_002("ctype_alpha");
-ctype_test_002("ctype_digit");
-ctype_test_002("ctype_alnum");
-ctype_test_002("ctype_cntrl");
+ctype_test_002("ctype_alpha");
+ctype_test_002("ctype_digit");
+ctype_test_002("ctype_alnum");
+ctype_test_002("ctype_cntrl");
ctype_test_002("ctype_graph");
ctype_test_002("ctype_print");
ctype_test_002("ctype_punct");
diff --git a/ext/ctype/tests/ctype_alnum_basic.phpt b/ext/ctype/tests/ctype_alnum_basic.phpt
index bf3712d9da..0ff710e31e 100644
--- a/ext/ctype/tests/ctype_alnum_basic.phpt
+++ b/ext/ctype/tests/ctype_alnum_basic.phpt
@@ -5,13 +5,13 @@ Test ctype_alnum() function : basic functionality
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_alnum() : basic functionality ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
$c1 = 'abcXYZ';
$c2 = ' \t*@';
diff --git a/ext/ctype/tests/ctype_alnum_error.phpt b/ext/ctype/tests/ctype_alnum_error.phpt
index 0b4a63632e..ed67406fa8 100644
--- a/ext/ctype/tests/ctype_alnum_error.phpt
+++ b/ext/ctype/tests/ctype_alnum_error.phpt
@@ -5,7 +5,7 @@ Test ctype_alnum() function : error conditions - Incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -15,7 +15,7 @@ Test ctype_alnum() function : error conditions - Incorrect number of args
echo "*** Testing ctype_alnum() : error conditions ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
// Zero arguments
echo "\n-- Testing ctype_alnum() function with Zero arguments --\n";
diff --git a/ext/ctype/tests/ctype_alnum_variation1.phpt b/ext/ctype/tests/ctype_alnum_variation1.phpt
index 188a86ce40..3818ec6b89 100644
--- a/ext/ctype/tests/ctype_alnum_variation1.phpt
+++ b/ext/ctype/tests/ctype_alnum_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_alnum() function : usage variations - Different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -15,7 +15,7 @@ Test ctype_alnum() function : usage variations - Different data types as $c arg
echo "*** Testing ctype_alnum() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
//get an unset variable
$unset_var = 10;
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "pqr",
'LMN',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_alnum_variation2.phpt b/ext/ctype/tests/ctype_alnum_variation2.phpt
index a73d06816b..3e802dea88 100644
--- a/ext/ctype/tests/ctype_alnum_variation2.phpt
+++ b/ext/ctype/tests/ctype_alnum_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_alnum() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_alnum() function : usage variations - different integers
echo "*** Testing ctype_alnum() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
for ($i = 0; $i < 256; $i++) {
if (ctype_alnum($i)) {
diff --git a/ext/ctype/tests/ctype_alnum_variation3.phpt b/ext/ctype/tests/ctype_alnum_variation3.phpt
index 3128feec6c..1f21f7d3bc 100644
--- a/ext/ctype/tests/ctype_alnum_variation3.phpt
+++ b/ext/ctype/tests/ctype_alnum_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_alnum() function : usage variations - different string values
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -15,7 +15,7 @@ Test ctype_alnum() function : usage variations - different string values
echo "*** Testing ctype_alnum() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
$values = array(
/*1*/ "This string contains just letters and spaces", // Simple string
@@ -39,7 +39,7 @@ $values = array(
'abc123\n',
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
/*23*/ base64_decode("w4DDoMOHw6fDiMOo") // non-ascii characters
);
diff --git a/ext/ctype/tests/ctype_alnum_variation4.phpt b/ext/ctype/tests/ctype_alnum_variation4.phpt
index d4577b51fb..c4f3a3dd75 100644
--- a/ext/ctype/tests/ctype_alnum_variation4.phpt
+++ b/ext/ctype/tests/ctype_alnum_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_alnum() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_alnum(mixed $c)
- * Description: Checks for alphanumeric character(s)
+ * Description: Checks for alphanumeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -15,7 +15,7 @@ Test ctype_alnum() function : usage variations - octal and hexadecimal values
echo "*** Testing ctype_alnum() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
$octal_values = array (060, 061, 062, 063);
$hex_values = array(0x30, 0x31, 0x32, 0x33);
diff --git a/ext/ctype/tests/ctype_alpha_basic.phpt b/ext/ctype/tests/ctype_alpha_basic.phpt
index 041343770e..bc7283f51a 100644
--- a/ext/ctype/tests/ctype_alpha_basic.phpt
+++ b/ext/ctype/tests/ctype_alpha_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_alpha() function : basic functionality
+Test ctype_alpha() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_alpha_error.phpt b/ext/ctype/tests/ctype_alpha_error.phpt
index 4cf8234e0d..9334fef78b 100644
--- a/ext/ctype/tests/ctype_alpha_error.phpt
+++ b/ext/ctype/tests/ctype_alpha_error.phpt
@@ -5,7 +5,7 @@ Test ctype_alpha() function : error conditions - Incorrect number of arguments
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_alpha_variation1.phpt b/ext/ctype/tests/ctype_alpha_variation1.phpt
index 52ca389749..3e00766cd6 100644
--- a/ext/ctype/tests/ctype_alpha_variation1.phpt
+++ b/ext/ctype/tests/ctype_alpha_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_alpha() function : usage variations - different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "string",
'string',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_alpha_variation2.phpt b/ext/ctype/tests/ctype_alpha_variation2.phpt
index f50328079e..170e3f0c74 100644
--- a/ext/ctype/tests/ctype_alpha_variation2.phpt
+++ b/ext/ctype/tests/ctype_alpha_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_alpha() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_alpha_variation3.phpt b/ext/ctype/tests/ctype_alpha_variation3.phpt
index 87cfc6fc00..388ffe8d11 100644
--- a/ext/ctype/tests/ctype_alpha_variation3.phpt
+++ b/ext/ctype/tests/ctype_alpha_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_alpha() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -40,7 +40,7 @@ $values = array(
'abc123\n',
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
/*23*/ base64_decode("w4DDoMOHw6fDiMOo") // non-ascii characters
);
diff --git a/ext/ctype/tests/ctype_alpha_variation4.phpt b/ext/ctype/tests/ctype_alpha_variation4.phpt
index cc2067580a..480bab79f0 100644
--- a/ext/ctype/tests/ctype_alpha_variation4.phpt
+++ b/ext/ctype/tests/ctype_alpha_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_alpha() function : usage variations - Octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_alpha(mixed $c)
- * Description: Checks for alphabetic character(s)
+ * Description: Checks for alphabetic character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_cntrl_basic.phpt b/ext/ctype/tests/ctype_cntrl_basic.phpt
index 2e44795541..1c1707eab2 100644
--- a/ext/ctype/tests/ctype_cntrl_basic.phpt
+++ b/ext/ctype/tests/ctype_cntrl_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_cntrl() function : basic functionality
+Test ctype_cntrl() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_cntrl_error.phpt b/ext/ctype/tests/ctype_cntrl_error.phpt
index 7319ef63e2..9b62f0c0ce 100644
--- a/ext/ctype/tests/ctype_cntrl_error.phpt
+++ b/ext/ctype/tests/ctype_cntrl_error.phpt
@@ -5,7 +5,7 @@ Test ctype_cntrl() function : error conditions - Incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_cntrl_variation1.phpt b/ext/ctype/tests/ctype_cntrl_variation1.phpt
index abe74a0567..72a1f5f783 100644
--- a/ext/ctype/tests/ctype_cntrl_variation1.phpt
+++ b/ext/ctype/tests/ctype_cntrl_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_cntrl() function : usage variations - Different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -73,7 +73,7 @@ $inputs = array(
'
',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_cntrl_variation2.phpt b/ext/ctype/tests/ctype_cntrl_variation2.phpt
index 7ad64d8369..5a5ada8e36 100644
--- a/ext/ctype/tests/ctype_cntrl_variation2.phpt
+++ b/ext/ctype/tests/ctype_cntrl_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_cntrl() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_cntrl_variation3.phpt b/ext/ctype/tests/ctype_cntrl_variation3.phpt
index 529c23876f..31e2ee2ea1 100644
--- a/ext/ctype/tests/ctype_cntrl_variation3.phpt
+++ b/ext/ctype/tests/ctype_cntrl_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_cntrl() function : usage variations - Different strings
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -40,7 +40,7 @@ $values = array(
'abc123\n',
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
base64_decode("w4DDoMOHw6fDiMOo"), // non-ascii characters
"\n",
/*25*/ "\r",
diff --git a/ext/ctype/tests/ctype_cntrl_variation4.phpt b/ext/ctype/tests/ctype_cntrl_variation4.phpt
index 159ba911b1..dfad6ba2d8 100644
--- a/ext/ctype/tests/ctype_cntrl_variation4.phpt
+++ b/ext/ctype/tests/ctype_cntrl_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_cntrl() function : usage variations - Octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_cntrl(mixed $c)
- * Description: Checks for control character(s)
+ * Description: Checks for control character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_digit_basic.phpt b/ext/ctype/tests/ctype_digit_basic.phpt
index 73e127356c..faf75251db 100644
--- a/ext/ctype/tests/ctype_digit_basic.phpt
+++ b/ext/ctype/tests/ctype_digit_basic.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : basic functionality
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_digit_error.phpt b/ext/ctype/tests/ctype_digit_error.phpt
index 5e8088226a..ceade3d79b 100644
--- a/ext/ctype/tests/ctype_digit_error.phpt
+++ b/ext/ctype/tests/ctype_digit_error.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : error conditions - incorrect number of arguments
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_digit_variation1.phpt b/ext/ctype/tests/ctype_digit_variation1.phpt
index 527d22f821..7233595139 100644
--- a/ext/ctype/tests/ctype_digit_variation1.phpt
+++ b/ext/ctype/tests/ctype_digit_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : usage variations - different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "2",
'309',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_digit_variation2.phpt b/ext/ctype/tests/ctype_digit_variation2.phpt
index 4122737d03..f4e3514aaf 100644
--- a/ext/ctype/tests/ctype_digit_variation2.phpt
+++ b/ext/ctype/tests/ctype_digit_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_digit_variation3.phpt b/ext/ctype/tests/ctype_digit_variation3.phpt
index c966132d16..5c428f6b30 100644
--- a/ext/ctype/tests/ctype_digit_variation3.phpt
+++ b/ext/ctype/tests/ctype_digit_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -34,7 +34,7 @@ $values = array(
'@!$*',
"0",
/*15*/ "3",
- "9",
+ "9",
"1234",
"7890",
"0677",
diff --git a/ext/ctype/tests/ctype_digit_variation4.phpt b/ext/ctype/tests/ctype_digit_variation4.phpt
index f937e07020..19e8a0cf4c 100644
--- a/ext/ctype/tests/ctype_digit_variation4.phpt
+++ b/ext/ctype/tests/ctype_digit_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_digit() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_digit(mixed $c)
- * Description: Checks for numeric character(s)
+ * Description: Checks for numeric character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_graph_basic.phpt b/ext/ctype/tests/ctype_graph_basic.phpt
index 171959d944..d920728ac1 100644
--- a/ext/ctype/tests/ctype_graph_basic.phpt
+++ b/ext/ctype/tests/ctype_graph_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_graph() function : basic functionality
+Test ctype_graph() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
+ * Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_graph_error.phpt b/ext/ctype/tests/ctype_graph_error.phpt
index 953b553fb6..2c04bac654 100644
--- a/ext/ctype/tests/ctype_graph_error.phpt
+++ b/ext/ctype/tests/ctype_graph_error.phpt
@@ -5,7 +5,7 @@ Test ctype_graph() function : error conditions - incorrect number of arguments
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
+ * Description: Checks for any printable character(s) except space
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_graph_variation1.phpt b/ext/ctype/tests/ctype_graph_variation1.phpt
index f8dee30808..3105922fdc 100644
--- a/ext/ctype/tests/ctype_graph_variation1.phpt
+++ b/ext/ctype/tests/ctype_graph_variation1.phpt
@@ -5,8 +5,8 @@ Test ctype_graph() function : usage variations - different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
- * Source code: ext/ctype/ctype.c
+ * Description: Checks for any printable character(s) except space
+ * Source code: ext/ctype/ctype.c
*/
/*
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "string",
'string',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_graph_variation2.phpt b/ext/ctype/tests/ctype_graph_variation2.phpt
index 5e87d65374..cd8812d5d5 100644
--- a/ext/ctype/tests/ctype_graph_variation2.phpt
+++ b/ext/ctype/tests/ctype_graph_variation2.phpt
@@ -5,8 +5,8 @@ Test ctype_graph() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
- * Source code: ext/ctype/ctype.c
+ * Description: Checks for any printable character(s) except space
+ * Source code: ext/ctype/ctype.c
*/
/*
diff --git a/ext/ctype/tests/ctype_graph_variation3.phpt b/ext/ctype/tests/ctype_graph_variation3.phpt
index 263909a9d3..d28cdec8e1 100644
--- a/ext/ctype/tests/ctype_graph_variation3.phpt
+++ b/ext/ctype/tests/ctype_graph_variation3.phpt
@@ -5,8 +5,8 @@ Test ctype_graph() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
- * Source code: ext/ctype/ctype.c
+ * Description: Checks for any printable character(s) except space
+ * Source code: ext/ctype/ctype.c
*/
/*
diff --git a/ext/ctype/tests/ctype_graph_variation4.phpt b/ext/ctype/tests/ctype_graph_variation4.phpt
index eb733c1d2a..389f7a47ff 100644
--- a/ext/ctype/tests/ctype_graph_variation4.phpt
+++ b/ext/ctype/tests/ctype_graph_variation4.phpt
@@ -5,8 +5,8 @@ Test ctype_graph() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_graph(mixed $c)
- * Description: Checks for any printable character(s) except space
- * Source code: ext/ctype/ctype.c
+ * Description: Checks for any printable character(s) except space
+ * Source code: ext/ctype/ctype.c
*/
/*
diff --git a/ext/ctype/tests/ctype_lower_basic.phpt b/ext/ctype/tests/ctype_lower_basic.phpt
index 08dcf81126..c9fdf3cc94 100644
--- a/ext/ctype/tests/ctype_lower_basic.phpt
+++ b/ext/ctype/tests/ctype_lower_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_lower() function : basic functionality
+Test ctype_lower() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_lower_error.phpt b/ext/ctype/tests/ctype_lower_error.phpt
index ef49c4cf44..1299cf8424 100644
--- a/ext/ctype/tests/ctype_lower_error.phpt
+++ b/ext/ctype/tests/ctype_lower_error.phpt
@@ -5,7 +5,7 @@ Test ctype_lower() function : error conditions - incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_lower_variation1.phpt b/ext/ctype/tests/ctype_lower_variation1.phpt
index 9c4a306234..e47fb9e1a2 100644
--- a/ext/ctype/tests/ctype_lower_variation1.phpt
+++ b/ext/ctype/tests/ctype_lower_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_lower() function : usage variations - different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "string",
'string',
$heredoc,
-
+
// object data
/*22*/ new classA(),
@@ -95,7 +95,7 @@ foreach($inputs as $input) {
};
fclose($fp);
-
+
setlocale(LC_CTYPE, $orig);
?>
===DONE===
diff --git a/ext/ctype/tests/ctype_lower_variation2.phpt b/ext/ctype/tests/ctype_lower_variation2.phpt
index ac14004e1e..12793d180f 100644
--- a/ext/ctype/tests/ctype_lower_variation2.phpt
+++ b/ext/ctype/tests/ctype_lower_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_lower() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -23,7 +23,7 @@ for ($i = 0; $i < 256; $i++) {
echo "character code $i is a lower case character\n";
}
}
-
+
setlocale(LC_CTYPE, $orig);
?>
===DONE===
diff --git a/ext/ctype/tests/ctype_lower_variation3.phpt b/ext/ctype/tests/ctype_lower_variation3.phpt
index b2cbe2933c..7ba92e47dd 100644
--- a/ext/ctype/tests/ctype_lower_variation3.phpt
+++ b/ext/ctype/tests/ctype_lower_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_lower() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_lower_variation4.phpt b/ext/ctype/tests/ctype_lower_variation4.phpt
index 30dfb4c931..835fc011ff 100644
--- a/ext/ctype/tests/ctype_lower_variation4.phpt
+++ b/ext/ctype/tests/ctype_lower_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_lower() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_lower(mixed $c)
- * Description: Checks for lowercase character(s)
+ * Description: Checks for lowercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_print_basic.phpt b/ext/ctype/tests/ctype_print_basic.phpt
index 17df251e23..33a70fe735 100644
--- a/ext/ctype/tests/ctype_print_basic.phpt
+++ b/ext/ctype/tests/ctype_print_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_print() function : basic functionality
+Test ctype_print() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_print_error.phpt b/ext/ctype/tests/ctype_print_error.phpt
index 09ed8c94ca..922f959452 100644
--- a/ext/ctype/tests/ctype_print_error.phpt
+++ b/ext/ctype/tests/ctype_print_error.phpt
@@ -5,7 +5,7 @@ Test ctype_print() function : error conditions - incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_print_variation1.phpt b/ext/ctype/tests/ctype_print_variation1.phpt
index e2223c7223..7599b259da 100644
--- a/ext/ctype/tests/ctype_print_variation1.phpt
+++ b/ext/ctype/tests/ctype_print_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_print() function : usage variations - different data types as $c arg
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "string",
'string',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_print_variation2.phpt b/ext/ctype/tests/ctype_print_variation2.phpt
index 5d620d7112..1573bed988 100644
--- a/ext/ctype/tests/ctype_print_variation2.phpt
+++ b/ext/ctype/tests/ctype_print_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_print() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_print_variation3.phpt b/ext/ctype/tests/ctype_print_variation3.phpt
index fb872357fa..b669150ada 100644
--- a/ext/ctype/tests/ctype_print_variation3.phpt
+++ b/ext/ctype/tests/ctype_print_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_print() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -40,7 +40,7 @@ $values = array(
"abc123\n",
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
/*23*/ base64_decode("w4DDoMOHw6fDiMOo") // non-ascii characters
);
diff --git a/ext/ctype/tests/ctype_print_variation4.phpt b/ext/ctype/tests/ctype_print_variation4.phpt
index 21e040dcc2..7d1ed99284 100644
--- a/ext/ctype/tests/ctype_print_variation4.phpt
+++ b/ext/ctype/tests/ctype_print_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_print() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_print(mixed $c)
- * Description: Checks for printable character(s)
+ * Description: Checks for printable character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_punct_basic.phpt b/ext/ctype/tests/ctype_punct_basic.phpt
index 2a1296bdb1..76a0278c05 100644
--- a/ext/ctype/tests/ctype_punct_basic.phpt
+++ b/ext/ctype/tests/ctype_punct_basic.phpt
@@ -1,18 +1,18 @@
--TEST--
-Test ctype_punct() function : basic functionality
+Test ctype_punct() function : basic functionality
--SKIPIF--
<?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
+ * 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");
+$orig = setlocale(LC_CTYPE, "C");
$c1 = '@!$*';
$c2 = 'hello, world!';
@@ -20,7 +20,7 @@ $c2 = 'hello, world!';
var_dump(ctype_punct($c1));
var_dump(ctype_punct($c2));
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_punct_error.phpt b/ext/ctype/tests/ctype_punct_error.phpt
index afb9ff0de2..c60ab3a3db 100644
--- a/ext/ctype/tests/ctype_punct_error.phpt
+++ b/ext/ctype/tests/ctype_punct_error.phpt
@@ -5,8 +5,8 @@ Test ctype_punct() function : error conditions - incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
- * Description: Checks for any printable character which is not whitespace
- * or an alphanumeric character
+ * Description: Checks for any printable character which is not whitespace
+ * or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_punct() function : error conditions - incorrect number of args
echo "*** Testing ctype_punct() : error conditions ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
// Zero arguments
echo "\n-- Testing ctype_punct() function with Zero arguments --\n";
@@ -28,7 +28,7 @@ $c = 1;
$extra_arg = 10;
var_dump( ctype_punct($c, $extra_arg) );
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECTF--
diff --git a/ext/ctype/tests/ctype_punct_variation1.phpt b/ext/ctype/tests/ctype_punct_variation1.phpt
index ccf882a191..740f1dae80 100644
--- a/ext/ctype/tests/ctype_punct_variation1.phpt
+++ b/ext/ctype/tests/ctype_punct_variation1.phpt
@@ -5,8 +5,8 @@ Test ctype_punct() function : usage variations - different data types as $c argu
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
- * Description: Checks for any printable character which is not whitespace
- * or an alphanumeric character
+ * Description: Checks for any printable character which is not whitespace
+ * or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_punct() function : usage variations - different data types as $c argu
echo "*** Testing ctype_punct() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
//get an unset variable
$unset_var = 10;
@@ -63,7 +63,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -73,7 +73,7 @@ $inputs = array(
/*19*/ ";:'@",
'#~/?',
$heredoc,
-
+
// object data
/*22*/ new classA(),
@@ -97,7 +97,7 @@ foreach($inputs as $input) {
fclose($fp);
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_punct_variation2.phpt b/ext/ctype/tests/ctype_punct_variation2.phpt
index a75e3d5181..50f4f2c6f0 100644
--- a/ext/ctype/tests/ctype_punct_variation2.phpt
+++ b/ext/ctype/tests/ctype_punct_variation2.phpt
@@ -5,8 +5,8 @@ Test ctype_punct() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
- * Description: Checks for any printable character which is not whitespace
- * or an alphanumeric character
+ * Description: Checks for any printable character which is not whitespace
+ * or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
@@ -17,7 +17,7 @@ Test ctype_punct() function : usage variations - different integers
echo "*** Testing ctype_punct() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
for ($c = 1; $c < 256; $c++) {
if (ctype_punct($c)) {
@@ -25,7 +25,7 @@ for ($c = 1; $c < 256; $c++) {
}
}
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_punct_variation3.phpt b/ext/ctype/tests/ctype_punct_variation3.phpt
index cfc6b386bf..14bf8affad 100644
--- a/ext/ctype/tests/ctype_punct_variation3.phpt
+++ b/ext/ctype/tests/ctype_punct_variation3.phpt
@@ -5,8 +5,8 @@ Test ctype_punct() function : usage variations - different punctuation
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
- * Description: Checks for any printable character which is not whitespace
- * or an alphanumeric character
+ * Description: Checks for any printable character which is not whitespace
+ * or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
@@ -41,7 +41,7 @@ $values = array(
"abc123\n",
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
base64_decode("w4DDoMOHw6fDiMOo"), // non-ascii characters
"!$%@\n",
/*25*/ "\"?!\"",
diff --git a/ext/ctype/tests/ctype_punct_variation4.phpt b/ext/ctype/tests/ctype_punct_variation4.phpt
index f44e8db515..744d40e785 100644
--- a/ext/ctype/tests/ctype_punct_variation4.phpt
+++ b/ext/ctype/tests/ctype_punct_variation4.phpt
@@ -5,8 +5,8 @@ Test ctype_punct() function : usage variations - Octal and Hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_punct(mixed $c)
- * Description: Checks for any printable character which is not whitespace
- * or an alphanumeric character
+ * Description: Checks for any printable character which is not whitespace
+ * or an alphanumeric character
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_punct() function : usage variations - Octal and Hexadecimal values
echo "*** Testing ctype_punct() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
$octal_values = array(041, 042, 043, 044);
$hex_values = array(0x21, 0x22, 0x23, 0x24);
@@ -37,7 +37,7 @@ foreach($hex_values as $c) {
$iterator++;
}
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_space_basic.phpt b/ext/ctype/tests/ctype_space_basic.phpt
index 4287f477ee..b66648e7a3 100644
--- a/ext/ctype/tests/ctype_space_basic.phpt
+++ b/ext/ctype/tests/ctype_space_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test ctype_space() function : basic functionality
+Test ctype_space() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
@@ -19,7 +19,7 @@ var_dump(ctype_space($c1));
$c2 = "Hello, world!\n";
var_dump(ctype_space($c2));
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_space_variation1.phpt b/ext/ctype/tests/ctype_space_variation1.phpt
index daa68dad6a..5334b6c63a 100644
--- a/ext/ctype/tests/ctype_space_variation1.phpt
+++ b/ext/ctype/tests/ctype_space_variation1.phpt
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "\n\t\r",
' ',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_space_variation3.phpt b/ext/ctype/tests/ctype_space_variation3.phpt
index ba4222b640..78ad296d27 100644
--- a/ext/ctype/tests/ctype_space_variation3.phpt
+++ b/ext/ctype/tests/ctype_space_variation3.phpt
@@ -40,7 +40,7 @@ $values = array(
"abc123\n",
/*20*/ 'abc 123',
'',
- ' ',
+ ' ',
base64_decode("w4DDoMOHw6fDiMOo"), // non-ascii characters
"\"\n",
/*25*/ " \t\r\n",
diff --git a/ext/ctype/tests/ctype_upper_basic.phpt b/ext/ctype/tests/ctype_upper_basic.phpt
index 0d40e4294c..a528123f94 100644
--- a/ext/ctype/tests/ctype_upper_basic.phpt
+++ b/ext/ctype/tests/ctype_upper_basic.phpt
@@ -1,11 +1,11 @@
--TEST--
-Test ctype_upper() function : basic functionality
+Test ctype_upper() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_upper_error.phpt b/ext/ctype/tests/ctype_upper_error.phpt
index e9183f4838..a7c18ce4a5 100644
--- a/ext/ctype/tests/ctype_upper_error.phpt
+++ b/ext/ctype/tests/ctype_upper_error.phpt
@@ -5,7 +5,7 @@ Test ctype_upper() function : error conditions - incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_upper_variation1.phpt b/ext/ctype/tests/ctype_upper_variation1.phpt
index d3cf1c98d8..ac0fb29ad8 100644
--- a/ext/ctype/tests/ctype_upper_variation1.phpt
+++ b/ext/ctype/tests/ctype_upper_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_upper() function : usage variations - different data types
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "STRING",
'STRING',
$heredoc,
-
+
// object data
/*22*/ new classA(),
diff --git a/ext/ctype/tests/ctype_upper_variation2.phpt b/ext/ctype/tests/ctype_upper_variation2.phpt
index 5a8a2396da..5026f7f1a5 100644
--- a/ext/ctype/tests/ctype_upper_variation2.phpt
+++ b/ext/ctype/tests/ctype_upper_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_upper() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_upper_variation3.phpt b/ext/ctype/tests/ctype_upper_variation3.phpt
index 9a25698e49..23dfe34369 100644
--- a/ext/ctype/tests/ctype_upper_variation3.phpt
+++ b/ext/ctype/tests/ctype_upper_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_upper() function : usage variations - different strings
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_upper_variation4.phpt b/ext/ctype/tests/ctype_upper_variation4.phpt
index cdd99d1078..ed001744e1 100644
--- a/ext/ctype/tests/ctype_upper_variation4.phpt
+++ b/ext/ctype/tests/ctype_upper_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_upper() function : usage variations - octal and hexadecimal values
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
- * Description: Checks for uppercase character(s)
+ * Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_xdigit_basic.phpt b/ext/ctype/tests/ctype_xdigit_basic.phpt
index 562846cfd5..7fa2995b2d 100644
--- a/ext/ctype/tests/ctype_xdigit_basic.phpt
+++ b/ext/ctype/tests/ctype_xdigit_basic.phpt
@@ -1,16 +1,16 @@
--TEST--
-Test ctype_xdigit() function : basic functionality
+Test ctype_xdigit() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * 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");
+$orig = setlocale(LC_CTYPE, "C");
$c1 = 'abcdefABCDEF0123456789';
$c2 = 'face 034';
@@ -18,7 +18,7 @@ $c2 = 'face 034';
var_dump(ctype_xdigit($c1));
var_dump(ctype_xdigit($c2));
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_xdigit_error.phpt b/ext/ctype/tests/ctype_xdigit_error.phpt
index 60ea69ce1e..c3adc06af9 100644
--- a/ext/ctype/tests/ctype_xdigit_error.phpt
+++ b/ext/ctype/tests/ctype_xdigit_error.phpt
@@ -5,7 +5,7 @@ Test ctype_xdigit() function : error conditions - Incorrect number of args
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
diff --git a/ext/ctype/tests/ctype_xdigit_variation1.phpt b/ext/ctype/tests/ctype_xdigit_variation1.phpt
index d220729fe0..ddbbd1680a 100644
--- a/ext/ctype/tests/ctype_xdigit_variation1.phpt
+++ b/ext/ctype/tests/ctype_xdigit_variation1.phpt
@@ -5,7 +5,7 @@ Test ctype_xdigit() function : usage variations - different data typse as $c arg
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
@@ -15,7 +15,7 @@ Test ctype_xdigit() function : usage variations - different data typse as $c arg
echo "*** Testing ctype_xdigit() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
//get an unset variable
$unset_var = 10;
@@ -62,7 +62,7 @@ $inputs = array(
false,
TRUE,
FALSE,
-
+
// empty data
/*16*/ "",
'',
@@ -72,7 +72,7 @@ $inputs = array(
/*19*/ "456",
'def',
$heredoc,
-
+
// object data
/*22*/ new classA(),
@@ -96,7 +96,7 @@ foreach($inputs as $input) {
fclose($fp);
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_xdigit_variation2.phpt b/ext/ctype/tests/ctype_xdigit_variation2.phpt
index 458c54be11..4927e6215a 100644
--- a/ext/ctype/tests/ctype_xdigit_variation2.phpt
+++ b/ext/ctype/tests/ctype_xdigit_variation2.phpt
@@ -5,7 +5,7 @@ Test ctype_xdigit() function : usage variations - different integers
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_xdigit() function : usage variations - different integers
echo "*** Testing ctype_xdigit() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
for($c = 1; $c < 256; $c++) {
if (ctype_xdigit($c)) {
@@ -24,7 +24,7 @@ for($c = 1; $c < 256; $c++) {
}
}
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_xdigit_variation3.phpt b/ext/ctype/tests/ctype_xdigit_variation3.phpt
index 282643a95d..79f7776b99 100644
--- a/ext/ctype/tests/ctype_xdigit_variation3.phpt
+++ b/ext/ctype/tests/ctype_xdigit_variation3.phpt
@@ -5,7 +5,7 @@ Test ctype_xdigit() function : usage variations - Different strings
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
@@ -16,7 +16,7 @@ Test ctype_xdigit() function : usage variations - Different strings
echo "*** Testing ctype_xdigit() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
$values = array(
/*1*/ "This string contains just letters and spaces", // Simple string
@@ -54,7 +54,7 @@ foreach($values as $value) {
$iterator++;
};
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
diff --git a/ext/ctype/tests/ctype_xdigit_variation4.phpt b/ext/ctype/tests/ctype_xdigit_variation4.phpt
index f843edb0dc..fe97c3f3c2 100644
--- a/ext/ctype/tests/ctype_xdigit_variation4.phpt
+++ b/ext/ctype/tests/ctype_xdigit_variation4.phpt
@@ -5,7 +5,7 @@ Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
--FILE--
<?php
/* Prototype : bool ctype_xdigit(mixed $c)
- * Description: Checks for character(s) representing a hexadecimal digit
+ * Description: Checks for character(s) representing a hexadecimal digit
* Source code: ext/ctype/ctype.c
*/
@@ -18,7 +18,7 @@ Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
echo "*** Testing ctype_xdigit() : usage variations ***\n";
-$orig = setlocale(LC_CTYPE, "C");
+$orig = setlocale(LC_CTYPE, "C");
// contain hexadecimal digits but do not correspond to 'correct' ints
$octal_values1 = array(012, 013, 014, 015);
@@ -51,7 +51,7 @@ echo "'Correct' Integers: \n";
foreach($hex_values2 as $c) {
var_dump(ctype_xdigit($c));
}
-setlocale(LC_CTYPE, $orig);
+setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--