]> granicus.if.org Git - php/commitdiff
- Remove unused blocks
authorMarcus Boerger <helly@php.net>
Wed, 19 May 2004 08:56:50 +0000 (08:56 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 19 May 2004 08:56:50 +0000 (08:56 +0000)
50 files changed:
ext/bz2/tests/with_files.phpt
ext/bz2/tests/with_strings.phpt
ext/ctype/tests/001.phpt
ext/ctype/tests/002.phpt
ext/dio/tests/001.phpt
ext/fdf/tests/01-general.phpt
ext/fdf/tests/02-values.phpt
ext/fdf/tests/03-read-file.phpt
ext/fdf/tests/04-POST.phpt
ext/gmp/tests/001.phpt
ext/gmp/tests/002.phpt
ext/gmp/tests/003.phpt
ext/interbase/tests/002.phpt
ext/interbase/tests/003.phpt
ext/interbase/tests/004.phpt
ext/interbase/tests/005.phpt
ext/interbase/tests/006.phpt
ext/interbase/tests/007.phpt
ext/interbase/tests/008.phpt
ext/mcrypt/tests/blowfish.phpt
ext/mcrypt/tests/bug8040.phpt
ext/mcve/tests/001.phpt
ext/ncurses/tests/001.phpt
ext/openssl/tests/001.phpt
ext/pcntl/tests/001.phpt
ext/pspell/tests/01pspell_basic.phpt
ext/session/tests/001.phpt
ext/session/tests/002.phpt
ext/skeleton/tests/001.phpt
ext/standard/tests/array/001.phpt
ext/standard/tests/file/001-win32.phpt
ext/standard/tests/file/001.phpt
ext/standard/tests/file/002.phpt
ext/standard/tests/file/003.phpt
ext/standard/tests/file/bug12556.phpt
ext/standard/tests/file/bug20424.phpt
ext/standard/tests/file/bug22382.phpt
ext/standard/tests/file/bug26615.phpt
ext/standard/tests/general_functions/001.phpt
ext/standard/tests/general_functions/002.phpt
ext/standard/tests/general_functions/003.phpt
ext/standard/tests/general_functions/004.phpt
ext/standard/tests/general_functions/005.phpt
ext/standard/tests/general_functions/006.phpt
ext/standard/tests/general_functions/007.phpt
ext/standard/tests/general_functions/009.phpt
ext/standard/tests/general_functions/proc_open.phpt
ext/standard/tests/math/abs.phpt
tests/strings/001.phpt
tests/strings/004.phpt

index cb98912d01e8331ba3e31785ac6fe0fe1b03e915..569144593928eb7bd943554d43c16a89dd8098e4 100644 (file)
@@ -2,8 +2,6 @@
 BZ2 with files
 --SKIPIF--
 <?php if (!extension_loaded("bz2")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php // $Id$
 
index 222b479c1b6c718a05288d1676f25e3fab4a39c8..adf07e16f9f582dcc34db4dd6da004650a6808aa 100644 (file)
@@ -2,8 +2,6 @@
 BZ2 with strings
 --SKIPIF--
 <?php if (!extension_loaded("bz2")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php // $Id$
 
index da135149931b148aedd278390dd59a7f8ee5a865..b7beea786134fe8a7ef6f033884aa3e7f3da02e6 100644 (file)
@@ -2,8 +2,6 @@
 ctype on integers
 --SKIPIF--
 <?php if (!extension_loaded("ctype")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
   setlocale(LC_ALL,"C"); 
index 36e9f662ee03a7df5e75e34b4b78aa1aa9ca6635..598ff9be963e0dff30e118463a3a3dc0f3619a29 100644 (file)
@@ -2,8 +2,6 @@
 ctype on strings
 --SKIPIF--
 <?php if (!extension_loaded("ctype")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 
index 99aa5bd2c2a1f818df5a4dd7228594dc40e22cd5..0d8a660ba3497da2f762c05fb462e1a6bdf6f69b 100644 (file)
@@ -2,8 +2,6 @@
 Check for dio presence
 --SKIPIF--
 <?php if (!extension_loaded("dio")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 echo "dio extension is available";
index d2a876cdb4d0fae347516d989b08c049556d5173..998da3d7297cdd33ac412c333aaa893ab20c14ac 100644 (file)
@@ -2,8 +2,6 @@
 Adobe Form Data Format functions
 --SKIPIF--
 <?php if (!extension_loaded("fdf")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 echo is_resource(fdf_create()) ? "OK" : "FAILURE";
index 068ea1a5f8e4e9dc0a489adada0593046fed1113..40c7df4a0ebcdbca0dfc59a407d4e5a6237e4782 100644 (file)
@@ -2,8 +2,6 @@
 FDF open/save and set/get values
 --SKIPIF--
 <?php if (!extension_loaded("fdf")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php
 $f1 = fdf_create();
index 0dbf2abd9aa1e4ec9e6701c83d65fc14d97af25b..a611142b3f123112f8d660d136f98eed9817cd4c 100644 (file)
@@ -2,8 +2,6 @@
 FDF read file
 --SKIPIF--
 <?php if (!extension_loaded("fdf")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php
 $fdf = fdf_open("ext/fdf/tests/simple.fdf");
index a842015649e23da970b1a6516527d4f00db914e4..1d8c9de48f1d501580b5e7d8b6bc4dab71e914a5 100644 (file)
@@ -2,7 +2,6 @@
 FDF POST data parsing
 --SKIPIF--
 <?php if (php_sapi_name()=='cli' || !extension_loaded("fdf")) print "skip"; ?>
---CGI--
 --HEADERS--
 return <<<END
 Content-Type=application/vnd.fdf
@@ -29,7 +28,6 @@ trailer
 
 >>
 %%EOF
---GET--
 --FILE--
 <?php 
 echo strlen($HTTP_FDF_DATA)."\n";
index d4a3576cc9c51dda21ec447ec47713615b69f704..382d374cb9c5773b65bbe89fb4c6226942e2b62d 100644 (file)
@@ -2,8 +2,6 @@
 Check for gmp presence
 --SKIPIF--
 <?php if (!extension_loaded("gmp")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 echo "gmp extension is available";
index 4e33b6111d7aff0f570ec51a935245f9822e9ee8..ac2a7a5494628ee007aca906f2f3d6b038cd3d33 100644 (file)
@@ -2,8 +2,6 @@
 GMP functionality test - factorial
 --SKIPIF--
 <?php if (!extension_loaded("gmp")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 function fact($x) {
index 0a302573ee4e545a3f56a0f930120eeace0752bc..379833024d05aa28e87fe62c7e80cc5f06e87a9b 100644 (file)
@@ -2,8 +2,6 @@
 Check for number base recognition
 --SKIPIF--
 <?php if (!extension_loaded("gmp")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php
         /* Binary */
index ce0defa5755982a5d49b1156467e2fdb30b308a1..070a6f0069034b71df03ec8719ac9fba4f745540 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: connect, close and pconnect
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 315e0bb486dcebfe4f63eee8dedb8bb62e4c9d58..a700c3cc46e95c5d7ca554af8119d45b2ee290d0 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: misc sql types (may take a while)
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 1e74f77df2e370604434e5a589caa2ca6b84f047..579445dbdd8cba8c0f4c0323d6c8827c03885629 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: BLOB test
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 91e003a4ca5eafc3ab48c62cdde3407615cee190..5b16ac291767974b60b16ac2e44f0d0677fa2fa9 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: transactions
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 24724b5f5936e171f456d51a248a02a9dd0ca0fe..82be48084a596a52b50158dc44145a2b1c9b8406 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: binding (may take a while)
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 0ccbdad106d5360a02909f0d696024a3355faf84..bc654f14627d13bcd09c6db1065988dd08b096c0 100644 (file)
@@ -2,8 +2,6 @@
 InterBase: array handling
 --SKIPIF--
 <?php include("skipif.inc"); ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index d6a5f9fc9eb08568f150455236c9a670fcc1c09a..8292fc38c567b739903a625e9eb4dcc7cae96ca2 100755 (executable)
@@ -5,8 +5,6 @@ InterBase: event handling
 if (PHP_OS == "WINNT") echo "skip";
 include("skipif.inc"); 
 ?>
---POST--
---GET--
 --FILE--
 <?php /* $Id$ */
 
index 40bfb62e0bcd554582f0c0b773de2118afccbf98..dc51da65b37e7f1a0ede5ce5e0b86822f6aaabbe 100644 (file)
@@ -2,8 +2,6 @@
 Test for blowfish compatibility
 --SKIPIF--
 <?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php
 function hex2bin($data) {
index e2d8c15b41f06ff24ff65a872964148e592b80fc..12e28687fdd45396a4674bbe5144295efe140d9a 100644 (file)
@@ -2,8 +2,6 @@
 Bug #8040
 --SKIPIF--
 <?php if (!extension_loaded("mcrypt")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php
        error_reporting (E_ALL ^ E_NOTICE);
index c96aeabe7490371d6c6a5fa6154afe5959a1e912..495db16765793b64ca0e8594c69034e37c99db5f 100644 (file)
@@ -2,8 +2,6 @@
 Check for mcve presence
 --SKIPIF--
 <?php if (!extension_loaded("mcve")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 echo "mcve extension is available";
index b6701f4d911ee4e850cbf43535ec30311ba847d9..2316ba1db4c7b00c32f6032b56bf9892a9e6a0eb 100644 (file)
@@ -2,8 +2,6 @@
 Check for ncurses presence
 --SKIPIF--
 <?php if (!extension_loaded("ncurses")) print "skip"; ?>
---POST--
---GET--
 --FILE--
 <?php 
 echo "ncurses extension is available";
index 9b15e134a5fc08b9c26db39fca32c1a2abd916d4..9987c688b9fc319a4a3a781d5132d0e8dc8ff259 100644 (file)
@@ -3,8 +3,6 @@ OpenSSL private key functions
 --SKIPIF--
 <?php // vim600:syn=php
 include('skipif.inc'); ?>
---POST--
---GET--
 --FILE--
 <?php
 echo "Creating private key\n";
index 27aff8bbe484b55c62181f002323ed7d27da60e8..0c8e77ec6c0be3aeceb1dcb5e5c92a21c86e9803 100644 (file)
@@ -5,8 +5,6 @@ Test pcntl wait functionality
        if (!extension_loaded("pcntl")) print "skip"; 
        if (!function_exists("posix_kill")) print "skip posix_kill() not avaliable";
 ?>
---POST--
---GET--
 --FILE--
 <?php 
 function test_exit_waits(){
index 5a25e35be8dfe7874fd269cd3eb810a2dd004f4a..107690e08808edd31d65db1636ebcd1be8b29095 100644 (file)
@@ -7,8 +7,6 @@ pspell basic tests (warning: may fail with pspell/aspell < GNU Aspell 0.50.3)
                die("skip English dictionary is not avaliable");
        }
 ?>
---POST--
---GET--
 --FILE--
 <?php // $Id$
 
index 54918b5799b7fae374a258ab58aa4854af85ea80..75d5df1632359756b71a5b2e8fbd0e00538b3aab 100644 (file)
@@ -29,7 +29,5 @@ session_register("arr");
 print session_encode()."\n";
 
 session_destroy();
---GET--
---POST--
 --EXPECT--
 baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}
index 7c77fdcf94528dfa22d1e87b0a72ba476ad6fc15..6fff01e7730eb4d3368f2692f663e574c1d3f6d2 100644 (file)
@@ -7,7 +7,5 @@ session_unset() without a initialized session
 error_reporting(E_ALL);
 session_unset();
 print "ok\n";
---GET--
---POST--
 --EXPECT--
 ok
index 854dc7fcede5b1949b0acfac545a2e29dee578d8..a375577e1b6f167a8180e238790ae85af15095fc 100644 (file)
@@ -2,9 +2,6 @@
 Check for extname presence
 --SKIPIF--
 <?php if (!extension_loaded("extname")) print "skip"; ?>
---POST--
---GET--
---INI--
 --FILE--
 <?php 
 echo "extname extension is available";
index 3b72b331d22691d8275d0a1bd0b7f9bf7865f84d..797a79781f2c06d9ea63dce3742813a4b069ba48 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test array_merge and array_walk
---POST--
---GET--
 --INI--
 precision=14
 --FILE--
index d18ee325a64e0cab3f794c970fb2bdc3013d839e..09ab2b7a1b3ddcbe43ccf00c142eed6ffccdfdb4 100644 (file)
@@ -6,8 +6,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
     die('skip only for Windows');
 }
 ?>
---POST--
---GET--
 --FILE--
 <?php
 chdir(dirname(__FILE__));
index 6cefe25a7c456207564a584e1d3847a5c8af00dd..e3768b19dd79c7c871a172d20581be3f4ea6cfdf 100644 (file)
@@ -6,8 +6,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip no symlinks on Windows');
 }
 ?>
---POST--
---GET--
 --FILE--
 <?php
 chdir(dirname(__FILE__));
index 4642bac36632033e41fbc552f1b05b61fe2483e9..134f5416fc4395a853de17a4784f034c5a12a8f0 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 File/Stream functions
---POST--
---GET--
 --FILE--
 <?php
 
index 2b75bdccee1ce795bac725f0d0e1b0f0a95f5565..8eeaa939eb17a775f84f97777bfd74727ba3cdd0 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 is_*() and file_exists() return values are boolean.
---POST--
---GET--
 --FILE--
 <?php
 
index 55a06a5d2a8ea773e1ac7695a0a5be50c646aba6..c8e35cfcadc59cc29e13e0aa29b091adb649938f 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #12556 (fgetcsv() ignores lengths when quotes not closed)
---POST--
---GET--
 --FILE--
 <?php
 $fp = fopen(dirname(__FILE__)."/test.csv", "r");
index 078d554087eac5737f2b1ceeb847075a29f21e3e..df10d4abdbfaed80a71e8e24edd19e0e68e094fb 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #20424 (stream_get_meta_data crashes on a normal file stream)
---POST--
---GET--
 --FILE--
 <?php
 $f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r");
index 31c806022b75ddae3d70994090973f711f802aa3..2ba36ee1de82deb0a8ac18c071145ea889901153 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #22382 (fgetcsv() does not handle escaped quotes correctly)
---POST--
---GET--
 --FILE--
 <?php
 $fp = fopen(dirname(__FILE__)."/test2.csv", "r");
index 36f7b0feacb68b58e18442b0d545c065baf451c0..656c53a449e4460e2d31702c981225da57631f60 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #26615 (exec crash on long input lines)
---POST--
---GET--
 --FILE--
 <?php
 $out = array();
index e84622902c3b2ded03a39292a7c81b4b47a90657..164bd7fb2154ca6caa5f9bb2c32d0d8fc6d68837 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 sprintf() function
---POST--
---GET--
 --FILE--
 <?php 
 
index 8ab1a72f072b576ddd7f158d3cf8d7777fd19bee..58528da13aadbcbbbdb862ec578d8cc0f721435e 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 quoted_printable_decode() function test
---POST--
---GET--
 --FILE--
 <?php echo quoted_printable_decode("=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A=        
 =20=D4=cf=D2=C7=CF=D7=D9=C5=       
index 141b4d7052a5af79cc42e77c47a590cc03ef6843..7ad90c8b5adbcd644c51c6b181876b87a875ab20 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 levenshtein() function test
---POST--
---GET--
 --FILE--
 <?php 
 
index 3bd1fb1eac26b7c34fb48c09f58e34376c2d8abe..40b47cc1caf3ba540ace8a04956090e1c313fd2a 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 fgetcsv() with tab delimited fields (BUG #8258)
---POST--
---GET--
 --FILE--
 <?php 
 chdir(dirname(__FILE__));
index 329d46e764e5df5aed5442a73c3434f1babea48f..027d124add72f626004076f92a7acb0035709d6a 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 is_scalar() function test
---POST--
---GET--
 --FILE--
 <?php
 class foo {}
index 9db1ca32807bd7494ea199765576427343480fe9..6852286c5e78392f6ff9f1b750b1e991befc2cfd 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 quoted_printable_decode() function test with CR/LF
---POST--
---GET--
 --FILE--
 <?php echo quoted_printable_decode("=FAwow-factor=C1=D0=D5=DD=C5=CE=CE=D9=C5=0A=        
 =20=D4=CF=D2=C7=CF=D7=D9=C5=       
index 422ff3d94f5dfb2b8fd10d6626e4f54cd443bf85..f755ab4f8082750be12642ede0d9dcdc4a8d1df3 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 MD5 / Base64
---POST--
---GET--
 --FILE--
 <?php
 function test($str) {
index 68c1f4d87bc43ad555f78f009f56b91eb253f759..e80d36140dc8b1ea765dd2966057424734878e1b 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 SHA1
---POST--
---GET--
 --FILE--
 <?php
 function test($str) {
index 0cd08bd6b20e1908a1e77e70ffce5069552844f0..ecf8d8ad79e8697d2064d491eb1a8734f3621939 100644 (file)
@@ -5,8 +5,6 @@ proc_open
 if (!is_executable("/bin/cat")) echo "skip";
 if (!function_exists("proc_open")) echo "skip proc_open() is not available";
 ?>
---POST--
---GET--
 --FILE--
 <?php
 $ds = array(
index 3b70e7dc4726ab9c2db4a28a1697e8b4b9f351ef..f5c26c303714360dccc3e9936cd7046cd4a04844 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Simple math tests
---POST--
---GET--
 --FILE--
 <?php // $Id$
 
index 4eacb89592794fe70a3bd2615234ce57aeb22bcf..ceca4351b68a9d3a3b175c3b157f06260e999f6b 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 String functions
---POST--
---GET--
 --FILE--
 <?php 
 
index 37e5b957bd7a580ce752b1e27470ab2677c8b9b1..ac5e2ce43d86b6190d5d6e50d3d7972bc355c6a6 100644 (file)
@@ -1,6 +1,5 @@
 --TEST--
 highlight_string() buffering
---POST--
 --INI--
 highlight.string=#DD0000
 highlight.comment=#FF9900
@@ -8,7 +7,6 @@ highlight.keyword=#007700
 highlight.bg=#FFFFFF
 highlight.default=#0000BB
 highlight.html=#000000
---GET--
 --FILE--
 <?php 
 $var = highlight_string("<br /><?php echo \"foo\"; ?><br />");