diff options
Diffstat (limited to 'ext/standard/tests')
47 files changed, 0 insertions, 91 deletions
diff --git a/ext/standard/tests/math/floorceil.phpt b/ext/standard/tests/math/floorceil.phpt index 3ac2094610..2f7d82c6e6 100644 --- a/ext/standard/tests/math/floorceil.phpt +++ b/ext/standard/tests/math/floorceil.phpt @@ -1,7 +1,5 @@ --TEST-- Tests for floor en ceil ---POST-- ---GET-- --FILE-- <?php $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); diff --git a/ext/standard/tests/math/log.phpt b/ext/standard/tests/math/log.phpt index 285b19c853..4f8b47a76b 100644 --- a/ext/standard/tests/math/log.phpt +++ b/ext/standard/tests/math/log.phpt @@ -1,7 +1,5 @@ --TEST-- log() tests ---POST-- ---GET-- --FILE-- <?php // $Id$ echo "On failure, please mail result to php-dev@lists.php.net\n"; diff --git a/ext/standard/tests/math/pow.phpt b/ext/standard/tests/math/pow.phpt index deda5a94b0..a1e8944830 100644 --- a/ext/standard/tests/math/pow.phpt +++ b/ext/standard/tests/math/pow.phpt @@ -1,7 +1,5 @@ --TEST-- Various pow() tests ---POST-- ---GET-- --FILE-- <?php // $Id$ diff --git a/ext/standard/tests/math/round.phpt b/ext/standard/tests/math/round.phpt index 23032e906c..47f57dad18 100644 --- a/ext/standard/tests/math/round.phpt +++ b/ext/standard/tests/math/round.phpt @@ -1,7 +1,5 @@ --TEST-- Simple math tests ---POST-- ---GET-- --FILE-- <?php // $Id$ diff --git a/ext/standard/tests/reg/001.phpt b/ext/standard/tests/reg/001.phpt index f63c252518..13c50d0d1e 100644 --- a/ext/standard/tests/reg/001.phpt +++ b/ext/standard/tests/reg/001.phpt @@ -1,7 +1,5 @@ --TEST-- RegReplace test 1 ---POST-- ---GET-- --FILE-- <?php $a="abc123"; echo ereg_replace("123","def",$a)?> diff --git a/ext/standard/tests/reg/002.phpt b/ext/standard/tests/reg/002.phpt index a9b7aaa00a..abe9e063d8 100644 --- a/ext/standard/tests/reg/002.phpt +++ b/ext/standard/tests/reg/002.phpt @@ -1,7 +1,5 @@ --TEST-- RegReplace test 2 ---POST-- ---GET-- --FILE-- <?php $a="abc123"; echo ereg_replace("123","",$a)?> diff --git a/ext/standard/tests/reg/003.phpt b/ext/standard/tests/reg/003.phpt index edd9c05969..4257f0d27e 100644 --- a/ext/standard/tests/reg/003.phpt +++ b/ext/standard/tests/reg/003.phpt @@ -1,7 +1,5 @@ --TEST-- ereg_replace single-quote test ---POST-- ---GET-- --FILE-- <?php $a="\\'test"; echo ereg_replace("\\\\'","'",$a) diff --git a/ext/standard/tests/reg/004.phpt b/ext/standard/tests/reg/004.phpt index 1f60ff4900..3e535c6a9d 100644 --- a/ext/standard/tests/reg/004.phpt +++ b/ext/standard/tests/reg/004.phpt @@ -1,7 +1,5 @@ --TEST-- simple ereg test ---POST-- ---GET-- --FILE-- <?php $a="This is a nice and simple string"; if (ereg(".*nice and simple.*",$a)) { diff --git a/ext/standard/tests/reg/005.phpt b/ext/standard/tests/reg/005.phpt index 78c0a0912a..ee9ccc6da4 100644 --- a/ext/standard/tests/reg/005.phpt +++ b/ext/standard/tests/reg/005.phpt @@ -1,7 +1,5 @@ --TEST-- Test Regular expression register support in ereg ---POST-- ---GET-- --FILE-- <?php $a="This is a nice and simple string"; echo ereg(".*(is).*(is).*",$a,$registers); diff --git a/ext/standard/tests/reg/006.phpt b/ext/standard/tests/reg/006.phpt index 50b6dbfd3a..cae349672e 100644 --- a/ext/standard/tests/reg/006.phpt +++ b/ext/standard/tests/reg/006.phpt @@ -1,7 +1,5 @@ --TEST-- Test ereg_replace of start-of-line ---POST-- ---GET-- --FILE-- <?php $a="This is a nice and simple string"; echo ereg_replace("^This","That",$a); diff --git a/ext/standard/tests/reg/007.phpt b/ext/standard/tests/reg/007.phpt index b2646f842f..beb3cdc159 100644 --- a/ext/standard/tests/reg/007.phpt +++ b/ext/standard/tests/reg/007.phpt @@ -1,7 +1,5 @@ --TEST-- Test empty result buffer in reg_replace ---POST-- ---GET-- --FILE-- <?php $a="abcd"; diff --git a/ext/standard/tests/reg/008.phpt b/ext/standard/tests/reg/008.phpt index db61d1ca07..9a0cedabc5 100644 --- a/ext/standard/tests/reg/008.phpt +++ b/ext/standard/tests/reg/008.phpt @@ -1,7 +1,5 @@ --TEST-- Test back-references in regular expressions ---POST-- ---GET-- --FILE-- <?php echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123"); diff --git a/ext/standard/tests/reg/009.phpt b/ext/standard/tests/reg/009.phpt index 4996ef4c97..528606f3c8 100644 --- a/ext/standard/tests/reg/009.phpt +++ b/ext/standard/tests/reg/009.phpt @@ -1,7 +1,5 @@ --TEST-- Test split() ---POST-- ---GET-- --FILE-- <?php $a=split("[[:space:]]","this is a diff --git a/ext/standard/tests/reg/010.phpt b/ext/standard/tests/reg/010.phpt index 30d28fd02f..f6f8909f73 100644 --- a/ext/standard/tests/reg/010.phpt +++ b/ext/standard/tests/reg/010.phpt @@ -1,7 +1,5 @@ --TEST-- Long back references ---POST-- ---GET-- --FILE-- <?php $a="abc122222222223"; echo ereg_replace("1(2*)3","\\1def\\1",$a)?> diff --git a/ext/standard/tests/reg/011.phpt b/ext/standard/tests/reg/011.phpt index 4eda774f58..65554b302f 100644 --- a/ext/standard/tests/reg/011.phpt +++ b/ext/standard/tests/reg/011.phpt @@ -1,7 +1,5 @@ --TEST-- \0 back reference ---POST-- ---GET-- --FILE-- <?php $a="abc123"; echo ereg_replace("123","def\\0ghi",$a)?> diff --git a/ext/standard/tests/reg/012.phpt b/ext/standard/tests/reg/012.phpt index d5342c7436..88ad5992ad 100644 --- a/ext/standard/tests/reg/012.phpt +++ b/ext/standard/tests/reg/012.phpt @@ -1,7 +1,5 @@ --TEST-- nonexisting back reference ---POST-- ---GET-- --FILE-- <?php $a="abc123"; echo ereg_replace("123",'def\1ghi',$a)?> diff --git a/ext/standard/tests/reg/013.phpt b/ext/standard/tests/reg/013.phpt index ec3329fa7c..a2d9ee0099 100644 --- a/ext/standard/tests/reg/013.phpt +++ b/ext/standard/tests/reg/013.phpt @@ -1,7 +1,5 @@ --TEST-- escapes in replace string ---POST-- ---GET-- --FILE-- <?php $a="abc123"; echo ereg_replace("123","def\\g\\\\hi\\",$a)?> diff --git a/ext/standard/tests/reg/014.phpt b/ext/standard/tests/reg/014.phpt index ec4d19ed0e..d2a32451a9 100644 --- a/ext/standard/tests/reg/014.phpt +++ b/ext/standard/tests/reg/014.phpt @@ -1,7 +1,5 @@ --TEST-- backreferences not replaced recursively ---POST-- ---GET-- --FILE-- <?php $a="a\\2bxc"; echo ereg_replace("a(.*)b(.*)c","\\1",$a)?> diff --git a/ext/standard/tests/reg/015.phpt b/ext/standard/tests/reg/015.phpt index 961a60fa76..c255ddf05b 100644 --- a/ext/standard/tests/reg/015.phpt +++ b/ext/standard/tests/reg/015.phpt @@ -1,7 +1,5 @@ --TEST-- replace empty matches ---POST-- ---GET-- --FILE-- <?php echo ereg_replace("^","z","abc123")?> --EXPECT-- diff --git a/ext/standard/tests/reg/016.phpt b/ext/standard/tests/reg/016.phpt index a24816f182..c354ab26fc 100644 --- a/ext/standard/tests/reg/016.phpt +++ b/ext/standard/tests/reg/016.phpt @@ -1,7 +1,5 @@ --TEST-- test backslash handling in regular expressions ---POST-- ---GET-- --FILE-- <?php echo ereg_replace('\?',"abc","?123?")?> --EXPECT-- diff --git a/ext/standard/tests/serialize/001.phpt b/ext/standard/tests/serialize/001.phpt index 68352a9393..21a2d6c534 100644 --- a/ext/standard/tests/serialize/001.phpt +++ b/ext/standard/tests/serialize/001.phpt @@ -1,7 +1,5 @@ --TEST-- serialize()/unserialize()/var_dump() ---POST-- ---GET-- --FILE-- <?php class t diff --git a/ext/standard/tests/strings/add-and-stripcslashes.phpt b/ext/standard/tests/strings/add-and-stripcslashes.phpt index f231156e88..7c7e36edc5 100644 --- a/ext/standard/tests/strings/add-and-stripcslashes.phpt +++ b/ext/standard/tests/strings/add-and-stripcslashes.phpt @@ -1,7 +1,5 @@ --TEST-- addcslashes() and stripcslashes() function ---POST-- ---GET-- --FILE-- <?php echo addcslashes("", "")."\n"; diff --git a/ext/standard/tests/strings/add-and-stripslashes.phpt b/ext/standard/tests/strings/add-and-stripslashes.phpt index 1c65aefda6..a5eab410b9 100644 --- a/ext/standard/tests/strings/add-and-stripslashes.phpt +++ b/ext/standard/tests/strings/add-and-stripslashes.phpt @@ -1,7 +1,5 @@ --TEST-- addslashes() and stripslashes() functions, normal and sybase-style ---POST-- ---GET-- --FILE-- <?php diff --git a/ext/standard/tests/strings/basename.phpt b/ext/standard/tests/strings/basename.phpt Binary files differindex b1ccdfdd1d..a39a6f9aeb 100644 --- a/ext/standard/tests/strings/basename.phpt +++ b/ext/standard/tests/strings/basename.phpt diff --git a/ext/standard/tests/strings/bin2hex.phpt b/ext/standard/tests/strings/bin2hex.phpt index 5753a74dc0..42a4f4c594 100644 --- a/ext/standard/tests/strings/bin2hex.phpt +++ b/ext/standard/tests/strings/bin2hex.phpt @@ -1,7 +1,5 @@ --TEST-- bin2hex() function ---POST-- ---GET-- --FILE-- <?php $s = ''; diff --git a/ext/standard/tests/strings/bug20108.phpt b/ext/standard/tests/strings/bug20108.phpt index 0993412500..6e2219d990 100644 --- a/ext/standard/tests/strings/bug20108.phpt +++ b/ext/standard/tests/strings/bug20108.phpt @@ -1,6 +1,5 @@ --TEST-- Bug #20108 (Segfault on printf statement) ---SKIPIF-- --FILE-- <?php $a = "boo"; diff --git a/ext/standard/tests/strings/bug20927.phpt b/ext/standard/tests/strings/bug20927.phpt index 5b7c904c65..7575f2af02 100644 --- a/ext/standard/tests/strings/bug20927.phpt +++ b/ext/standard/tests/strings/bug20927.phpt @@ -1,6 +1,5 @@ --TEST-- Bug #20927 (Segfault on wordwrap statement) ---SKIPIF-- --FILE-- <?php $string = str_repeat("1234567890 X ", 10); diff --git a/ext/standard/tests/strings/chr_ord.phpt b/ext/standard/tests/strings/chr_ord.phpt index 266f61be04..56cfef70a3 100644 --- a/ext/standard/tests/strings/chr_ord.phpt +++ b/ext/standard/tests/strings/chr_ord.phpt @@ -1,7 +1,5 @@ --TEST-- chr() and ord() functions ---POST-- ---GET-- --FILE-- <?php echo "Testing ord() & chr()..."; diff --git a/ext/standard/tests/strings/chunk_split.phpt b/ext/standard/tests/strings/chunk_split.phpt index 6c0f3fac84..6aec9fd24d 100644 --- a/ext/standard/tests/strings/chunk_split.phpt +++ b/ext/standard/tests/strings/chunk_split.phpt @@ -1,7 +1,5 @@ --TEST-- chunk_split() function ---POST-- ---GET-- --FILE-- <?php echo chunk_split('abc', 1, '-')."\n"; diff --git a/ext/standard/tests/strings/count_chars.phpt b/ext/standard/tests/strings/count_chars.phpt index 0006b4232f..fe21b656f0 100644 --- a/ext/standard/tests/strings/count_chars.phpt +++ b/ext/standard/tests/strings/count_chars.phpt @@ -1,7 +1,5 @@ --TEST-- count_chars() function ---POST-- ---GET-- --FILE-- <?php $s = "het leven is net erwtensoep - je kunt er geen touw aan vastknopen"; diff --git a/ext/standard/tests/strings/crc32.phpt b/ext/standard/tests/strings/crc32.phpt index 8074c5e6f9..e1b338f011 100644 --- a/ext/standard/tests/strings/crc32.phpt +++ b/ext/standard/tests/strings/crc32.phpt @@ -1,7 +1,5 @@ --TEST-- crc32() function ---POST-- ---GET-- --FILE-- <?php $input = array("foo", "bar", "baz", "grldsajkopallkjasd"); diff --git a/ext/standard/tests/strings/explode.phpt b/ext/standard/tests/strings/explode.phpt index 94d947fc4f..9f9b61d5b8 100644 --- a/ext/standard/tests/strings/explode.phpt +++ b/ext/standard/tests/strings/explode.phpt @@ -1,7 +1,5 @@ --TEST-- explode() function ---POST-- ---GET-- --INI-- error_reporting=2047 --FILE-- diff --git a/ext/standard/tests/strings/implode.phpt b/ext/standard/tests/strings/implode.phpt index 66d6c435ae..36be0f395c 100644 --- a/ext/standard/tests/strings/implode.phpt +++ b/ext/standard/tests/strings/implode.phpt @@ -1,7 +1,5 @@ --TEST-- implode() function ---POST-- ---GET-- --INI-- error_reporting=2047 log_errors=0 diff --git a/ext/standard/tests/strings/nl2br.phpt b/ext/standard/tests/strings/nl2br.phpt index 63801afb66..e43d435dfe 100644 --- a/ext/standard/tests/strings/nl2br.phpt +++ b/ext/standard/tests/strings/nl2br.phpt @@ -1,7 +1,5 @@ --TEST-- nl2br() function ---POST-- ---GET-- --FILE-- <?php var_dump(nl2br("test")); diff --git a/ext/standard/tests/strings/str_repeat.phpt b/ext/standard/tests/strings/str_repeat.phpt index 406e811af7..f91bd31b67 100644 --- a/ext/standard/tests/strings/str_repeat.phpt +++ b/ext/standard/tests/strings/str_repeat.phpt @@ -1,7 +1,5 @@ --TEST-- str_repeat() function ---POST-- ---GET-- --FILE-- <?php $input = array('a', 'foo', 'barbazbax'); diff --git a/ext/standard/tests/strings/strip_tags.phpt b/ext/standard/tests/strings/strip_tags.phpt index 9c55bc6465..7beebf1b0c 100644 --- a/ext/standard/tests/strings/strip_tags.phpt +++ b/ext/standard/tests/strings/strip_tags.phpt @@ -1,7 +1,5 @@ --TEST-- strip_tags() function ---POST-- ---GET-- --FILE-- <?php echo strip_tags('NEAT <? cool < blah ?> STUFF'); diff --git a/ext/standard/tests/strings/strpos.phpt b/ext/standard/tests/strings/strpos.phpt index 7a9af70940..4d30e98229 100644 --- a/ext/standard/tests/strings/strpos.phpt +++ b/ext/standard/tests/strings/strpos.phpt @@ -1,7 +1,5 @@ --TEST-- strpos() function ---POST-- ---GET-- --FILE-- <?php var_dump(strpos("test string", "test")); diff --git a/ext/standard/tests/strings/strrev.phpt b/ext/standard/tests/strings/strrev.phpt index 6eb892b135..321aca5bd7 100644 --- a/ext/standard/tests/strings/strrev.phpt +++ b/ext/standard/tests/strings/strrev.phpt @@ -1,7 +1,5 @@ --TEST-- strrev() function ---POST-- ---GET-- --FILE-- <?php $i = 0; diff --git a/ext/standard/tests/strings/strripos.phpt b/ext/standard/tests/strings/strripos.phpt index c9c6eae7e3..eb4e70bd35 100644 --- a/ext/standard/tests/strings/strripos.phpt +++ b/ext/standard/tests/strings/strripos.phpt @@ -1,7 +1,5 @@ --TEST-- strripos() function ---POST-- ---GET-- --FILE-- <?php var_dump(strripos("test test string", "test")); diff --git a/ext/standard/tests/strings/strrpos.phpt b/ext/standard/tests/strings/strrpos.phpt index 0d4337605a..691f67e599 100644 --- a/ext/standard/tests/strings/strrpos.phpt +++ b/ext/standard/tests/strings/strrpos.phpt @@ -1,7 +1,5 @@ --TEST-- strrpos() function ---POST-- ---GET-- --FILE-- <?php var_dump(strrpos("test test string", "test")); diff --git a/ext/standard/tests/strings/strstr.phpt b/ext/standard/tests/strings/strstr.phpt index 29cd30a2a9..10ed33ddc7 100644 --- a/ext/standard/tests/strings/strstr.phpt +++ b/ext/standard/tests/strings/strstr.phpt @@ -1,7 +1,5 @@ --TEST-- strstr() function ---POST-- ---GET-- --FILE-- <?php var_dump(strstr("test string", "test")); diff --git a/ext/standard/tests/strings/substr_count.phpt b/ext/standard/tests/strings/substr_count.phpt index 29f43dfae2..636590bb73 100644 --- a/ext/standard/tests/strings/substr_count.phpt +++ b/ext/standard/tests/strings/substr_count.phpt @@ -1,7 +1,5 @@ --TEST-- substr_count() function ---POST-- ---GET-- --FILE-- <?php var_dump(@substr_count("", "")); diff --git a/ext/standard/tests/strings/substr_replace.phpt b/ext/standard/tests/strings/substr_replace.phpt index ada02eb83f..27620de964 100644 --- a/ext/standard/tests/strings/substr_replace.phpt +++ b/ext/standard/tests/strings/substr_replace.phpt @@ -1,7 +1,5 @@ --TEST-- substr_replace() function ---POST-- ---GET-- --FILE-- <?php $str = "try this"; diff --git a/ext/standard/tests/strings/trim.phpt b/ext/standard/tests/strings/trim.phpt index c4f5860e2f..a69f17c6d7 100644 --- a/ext/standard/tests/strings/trim.phpt +++ b/ext/standard/tests/strings/trim.phpt @@ -1,7 +1,5 @@ --TEST-- trim(), rtrim() and ltrim() functions ---POST-- ---GET-- --FILE-- <?php diff --git a/ext/standard/tests/strings/url_t.phpt b/ext/standard/tests/strings/url_t.phpt index 1af113a695..88e6e4800d 100644 --- a/ext/standard/tests/strings/url_t.phpt +++ b/ext/standard/tests/strings/url_t.phpt @@ -1,7 +1,5 @@ --TEST-- parse_url() function ---POST-- ---GET-- --FILE-- <?php $sample_urls = array ( diff --git a/ext/standard/tests/strings/wordwrap.phpt b/ext/standard/tests/strings/wordwrap.phpt index eb85d32dc9..66104e3c77 100644 --- a/ext/standard/tests/strings/wordwrap.phpt +++ b/ext/standard/tests/strings/wordwrap.phpt @@ -1,7 +1,5 @@ --TEST-- wordwrap() function ---POST-- ---GET-- --FILE-- <?php diff --git a/ext/standard/tests/time/003.phpt b/ext/standard/tests/time/003.phpt index 90855f08ef..0bf1c84e35 100644 --- a/ext/standard/tests/time/003.phpt +++ b/ext/standard/tests/time/003.phpt @@ -1,8 +1,5 @@ --TEST-- Check for mktime with out-of-range parameters ---SKIPIF-- ---POST-- ---GET-- --FILE-- <?php # MacOS/X libc implementation doesn't treat out-of-range values |