Browse Source

- Remove unused blocks

PHP-5.0
Marcus Boerger 22 years ago
parent
commit
29cfd6d24f
  1. 2
      ext/bz2/tests/with_files.phpt
  2. 2
      ext/bz2/tests/with_strings.phpt
  3. 2
      ext/ctype/tests/001.phpt
  4. 2
      ext/ctype/tests/002.phpt
  5. 2
      ext/dio/tests/001.phpt
  6. 2
      ext/fdf/tests/01-general.phpt
  7. 2
      ext/fdf/tests/02-values.phpt
  8. 2
      ext/fdf/tests/03-read-file.phpt
  9. 2
      ext/fdf/tests/04-POST.phpt
  10. 2
      ext/gmp/tests/001.phpt
  11. 2
      ext/gmp/tests/002.phpt
  12. 2
      ext/gmp/tests/003.phpt
  13. 2
      ext/interbase/tests/002.phpt
  14. 2
      ext/interbase/tests/003.phpt
  15. 2
      ext/interbase/tests/004.phpt
  16. 2
      ext/interbase/tests/005.phpt
  17. 2
      ext/interbase/tests/006.phpt
  18. 2
      ext/interbase/tests/007.phpt
  19. 2
      ext/interbase/tests/008.phpt
  20. 2
      ext/mcrypt/tests/blowfish.phpt
  21. 2
      ext/mcrypt/tests/bug8040.phpt
  22. 2
      ext/mcve/tests/001.phpt
  23. 2
      ext/ncurses/tests/001.phpt
  24. 2
      ext/openssl/tests/001.phpt
  25. 2
      ext/pcntl/tests/001.phpt
  26. 2
      ext/pspell/tests/01pspell_basic.phpt
  27. 2
      ext/session/tests/001.phpt
  28. 2
      ext/session/tests/002.phpt
  29. 3
      ext/skeleton/tests/001.phpt
  30. 2
      ext/standard/tests/array/001.phpt
  31. 2
      ext/standard/tests/file/001-win32.phpt
  32. 2
      ext/standard/tests/file/001.phpt
  33. 2
      ext/standard/tests/file/002.phpt
  34. 2
      ext/standard/tests/file/003.phpt
  35. 2
      ext/standard/tests/file/bug12556.phpt
  36. 2
      ext/standard/tests/file/bug20424.phpt
  37. 2
      ext/standard/tests/file/bug22382.phpt
  38. 2
      ext/standard/tests/file/bug26615.phpt
  39. 2
      ext/standard/tests/general_functions/001.phpt
  40. 2
      ext/standard/tests/general_functions/002.phpt
  41. 2
      ext/standard/tests/general_functions/003.phpt
  42. 2
      ext/standard/tests/general_functions/004.phpt
  43. 2
      ext/standard/tests/general_functions/005.phpt
  44. 2
      ext/standard/tests/general_functions/006.phpt
  45. 2
      ext/standard/tests/general_functions/007.phpt
  46. 2
      ext/standard/tests/general_functions/009.phpt
  47. 2
      ext/standard/tests/general_functions/proc_open.phpt
  48. 2
      ext/standard/tests/math/abs.phpt
  49. 2
      tests/strings/001.phpt
  50. 2
      tests/strings/004.phpt

2
ext/bz2/tests/with_files.phpt

@ -2,8 +2,6 @@
BZ2 with files BZ2 with files
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?> <?php if (!extension_loaded("bz2")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php // $Id$ <?php // $Id$

2
ext/bz2/tests/with_strings.phpt

@ -2,8 +2,6 @@
BZ2 with strings BZ2 with strings
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?> <?php if (!extension_loaded("bz2")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php // $Id$ <?php // $Id$

2
ext/ctype/tests/001.phpt

@ -2,8 +2,6 @@
ctype on integers ctype on integers
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("ctype")) print "skip"; ?> <?php if (!extension_loaded("ctype")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
setlocale(LC_ALL,"C"); setlocale(LC_ALL,"C");

2
ext/ctype/tests/002.phpt

@ -2,8 +2,6 @@
ctype on strings ctype on strings
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("ctype")) print "skip"; ?> <?php if (!extension_loaded("ctype")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
ext/dio/tests/001.phpt

@ -2,8 +2,6 @@
Check for dio presence Check for dio presence
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("dio")) print "skip"; ?> <?php if (!extension_loaded("dio")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo "dio extension is available"; echo "dio extension is available";

2
ext/fdf/tests/01-general.phpt

@ -2,8 +2,6 @@
Adobe Form Data Format functions Adobe Form Data Format functions
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("fdf")) print "skip"; ?> <?php if (!extension_loaded("fdf")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo is_resource(fdf_create()) ? "OK" : "FAILURE"; echo is_resource(fdf_create()) ? "OK" : "FAILURE";

2
ext/fdf/tests/02-values.phpt

@ -2,8 +2,6 @@
FDF open/save and set/get values FDF open/save and set/get values
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("fdf")) print "skip"; ?> <?php if (!extension_loaded("fdf")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$f1 = fdf_create(); $f1 = fdf_create();

2
ext/fdf/tests/03-read-file.phpt

@ -2,8 +2,6 @@
FDF read file FDF read file
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("fdf")) print "skip"; ?> <?php if (!extension_loaded("fdf")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$fdf = fdf_open("ext/fdf/tests/simple.fdf"); $fdf = fdf_open("ext/fdf/tests/simple.fdf");

2
ext/fdf/tests/04-POST.phpt

@ -2,7 +2,6 @@
FDF POST data parsing FDF POST data parsing
--SKIPIF-- --SKIPIF--
<?php if (php_sapi_name()=='cli' || !extension_loaded("fdf")) print "skip"; ?> <?php if (php_sapi_name()=='cli' || !extension_loaded("fdf")) print "skip"; ?>
--CGI--
--HEADERS-- --HEADERS--
return <<<END return <<<END
Content-Type=application/vnd.fdf Content-Type=application/vnd.fdf
@ -29,7 +28,6 @@ trailer
>> >>
%%EOF %%EOF
--GET--
--FILE-- --FILE--
<?php <?php
echo strlen($HTTP_FDF_DATA)."\n"; echo strlen($HTTP_FDF_DATA)."\n";

2
ext/gmp/tests/001.phpt

@ -2,8 +2,6 @@
Check for gmp presence Check for gmp presence
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("gmp")) print "skip"; ?> <?php if (!extension_loaded("gmp")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo "gmp extension is available"; echo "gmp extension is available";

2
ext/gmp/tests/002.phpt

@ -2,8 +2,6 @@
GMP functionality test - factorial GMP functionality test - factorial
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("gmp")) print "skip"; ?> <?php if (!extension_loaded("gmp")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
function fact($x) { function fact($x) {

2
ext/gmp/tests/003.phpt

@ -2,8 +2,6 @@
Check for number base recognition Check for number base recognition
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("gmp")) print "skip"; ?> <?php if (!extension_loaded("gmp")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
/* Binary */ /* Binary */

2
ext/interbase/tests/002.phpt

@ -2,8 +2,6 @@
InterBase: connect, close and pconnect InterBase: connect, close and pconnect
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/003.phpt

@ -2,8 +2,6 @@
InterBase: misc sql types (may take a while) InterBase: misc sql types (may take a while)
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/004.phpt

@ -2,8 +2,6 @@
InterBase: BLOB test InterBase: BLOB test
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/005.phpt

@ -2,8 +2,6 @@
InterBase: transactions InterBase: transactions
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/006.phpt

@ -2,8 +2,6 @@
InterBase: binding (may take a while) InterBase: binding (may take a while)
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/007.phpt

@ -2,8 +2,6 @@
InterBase: array handling InterBase: array handling
--SKIPIF-- --SKIPIF--
<?php include("skipif.inc"); ?> <?php include("skipif.inc"); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/interbase/tests/008.phpt

@ -5,8 +5,6 @@ InterBase: event handling
if (PHP_OS == "WINNT") echo "skip"; if (PHP_OS == "WINNT") echo "skip";
include("skipif.inc"); include("skipif.inc");
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php /* $Id$ */ <?php /* $Id$ */

2
ext/mcrypt/tests/blowfish.phpt

@ -2,8 +2,6 @@
Test for blowfish compatibility Test for blowfish compatibility
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?> <?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
function hex2bin($data) { function hex2bin($data) {

2
ext/mcrypt/tests/bug8040.phpt

@ -2,8 +2,6 @@
Bug #8040 Bug #8040
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?> <?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
error_reporting (E_ALL ^ E_NOTICE); error_reporting (E_ALL ^ E_NOTICE);

2
ext/mcve/tests/001.phpt

@ -2,8 +2,6 @@
Check for mcve presence Check for mcve presence
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("mcve")) print "skip"; ?> <?php if (!extension_loaded("mcve")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo "mcve extension is available"; echo "mcve extension is available";

2
ext/ncurses/tests/001.phpt

@ -2,8 +2,6 @@
Check for ncurses presence Check for ncurses presence
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("ncurses")) print "skip"; ?> <?php if (!extension_loaded("ncurses")) print "skip"; ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo "ncurses extension is available"; echo "ncurses extension is available";

2
ext/openssl/tests/001.phpt

@ -3,8 +3,6 @@ OpenSSL private key functions
--SKIPIF-- --SKIPIF--
<?php // vim600:syn=php <?php // vim600:syn=php
include('skipif.inc'); ?> include('skipif.inc'); ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
echo "Creating private key\n"; echo "Creating private key\n";

2
ext/pcntl/tests/001.phpt

@ -5,8 +5,6 @@ Test pcntl wait functionality
if (!extension_loaded("pcntl")) print "skip"; if (!extension_loaded("pcntl")) print "skip";
if (!function_exists("posix_kill")) print "skip posix_kill() not avaliable"; if (!function_exists("posix_kill")) print "skip posix_kill() not avaliable";
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
function test_exit_waits(){ function test_exit_waits(){

2
ext/pspell/tests/01pspell_basic.phpt

@ -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"); die("skip English dictionary is not avaliable");
} }
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php // $Id$ <?php // $Id$

2
ext/session/tests/001.phpt

@ -29,7 +29,5 @@ session_register("arr");
print session_encode()."\n"; print session_encode()."\n";
session_destroy(); session_destroy();
--GET--
--POST--
--EXPECT-- --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";}} 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";}}

2
ext/session/tests/002.phpt

@ -7,7 +7,5 @@ session_unset() without a initialized session
error_reporting(E_ALL); error_reporting(E_ALL);
session_unset(); session_unset();
print "ok\n"; print "ok\n";
--GET--
--POST--
--EXPECT-- --EXPECT--
ok ok

3
ext/skeleton/tests/001.phpt

@ -2,9 +2,6 @@
Check for extname presence Check for extname presence
--SKIPIF-- --SKIPIF--
<?php if (!extension_loaded("extname")) print "skip"; ?> <?php if (!extension_loaded("extname")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE-- --FILE--
<?php <?php
echo "extname extension is available"; echo "extname extension is available";

2
ext/standard/tests/array/001.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Test array_merge and array_walk Test array_merge and array_walk
--POST--
--GET--
--INI-- --INI--
precision=14 precision=14
--FILE-- --FILE--

2
ext/standard/tests/file/001-win32.phpt

@ -6,8 +6,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
die('skip only for Windows'); die('skip only for Windows');
} }
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
chdir(dirname(__FILE__)); chdir(dirname(__FILE__));

2
ext/standard/tests/file/001.phpt

@ -6,8 +6,6 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip no symlinks on Windows'); die('skip no symlinks on Windows');
} }
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
chdir(dirname(__FILE__)); chdir(dirname(__FILE__));

2
ext/standard/tests/file/002.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
File/Stream functions File/Stream functions
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
ext/standard/tests/file/003.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
is_*() and file_exists() return values are boolean. is_*() and file_exists() return values are boolean.
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
ext/standard/tests/file/bug12556.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Bug #12556 (fgetcsv() ignores lengths when quotes not closed) Bug #12556 (fgetcsv() ignores lengths when quotes not closed)
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$fp = fopen(dirname(__FILE__)."/test.csv", "r"); $fp = fopen(dirname(__FILE__)."/test.csv", "r");

2
ext/standard/tests/file/bug20424.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Bug #20424 (stream_get_meta_data crashes on a normal file stream) Bug #20424 (stream_get_meta_data crashes on a normal file stream)
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r"); $f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r");

2
ext/standard/tests/file/bug22382.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Bug #22382 (fgetcsv() does not handle escaped quotes correctly) Bug #22382 (fgetcsv() does not handle escaped quotes correctly)
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$fp = fopen(dirname(__FILE__)."/test2.csv", "r"); $fp = fopen(dirname(__FILE__)."/test2.csv", "r");

2
ext/standard/tests/file/bug26615.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Bug #26615 (exec crash on long input lines) Bug #26615 (exec crash on long input lines)
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$out = array(); $out = array();

2
ext/standard/tests/general_functions/001.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
sprintf() function sprintf() function
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
ext/standard/tests/general_functions/002.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
quoted_printable_decode() function test quoted_printable_decode() function test
--POST--
--GET--
--FILE-- --FILE--
<?php echo quoted_printable_decode("=FAwow-factor=C1=d0=D5=DD=C5=CE=CE=D9=C5=0A= <?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= =20=D4=cf=D2=C7=CF=D7=D9=C5=

2
ext/standard/tests/general_functions/003.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
levenshtein() function test levenshtein() function test
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
ext/standard/tests/general_functions/004.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
fgetcsv() with tab delimited fields (BUG #8258) fgetcsv() with tab delimited fields (BUG #8258)
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
chdir(dirname(__FILE__)); chdir(dirname(__FILE__));

2
ext/standard/tests/general_functions/005.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
is_scalar() function test is_scalar() function test
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
class foo {} class foo {}

2
ext/standard/tests/general_functions/006.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
quoted_printable_decode() function test with CR/LF quoted_printable_decode() function test with CR/LF
--POST--
--GET--
--FILE-- --FILE--
<?php echo quoted_printable_decode("=FAwow-factor=C1=D0=D5=DD=C5=CE=CE=D9=C5=0A= <?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= =20=D4=CF=D2=C7=CF=D7=D9=C5=

2
ext/standard/tests/general_functions/007.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
MD5 / Base64 MD5 / Base64
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
function test($str) { function test($str) {

2
ext/standard/tests/general_functions/009.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
SHA1 SHA1
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
function test($str) { function test($str) {

2
ext/standard/tests/general_functions/proc_open.phpt

@ -5,8 +5,6 @@ proc_open
if (!is_executable("/bin/cat")) echo "skip"; if (!is_executable("/bin/cat")) echo "skip";
if (!function_exists("proc_open")) echo "skip proc_open() is not available"; if (!function_exists("proc_open")) echo "skip proc_open() is not available";
?> ?>
--POST--
--GET--
--FILE-- --FILE--
<?php <?php
$ds = array( $ds = array(

2
ext/standard/tests/math/abs.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
Simple math tests Simple math tests
--POST--
--GET--
--FILE-- --FILE--
<?php // $Id$ <?php // $Id$

2
tests/strings/001.phpt

@ -1,7 +1,5 @@
--TEST-- --TEST--
String functions String functions
--POST--
--GET--
--FILE-- --FILE--
<?php <?php

2
tests/strings/004.phpt

@ -1,6 +1,5 @@
--TEST-- --TEST--
highlight_string() buffering highlight_string() buffering
--POST--
--INI-- --INI--
highlight.string=#DD0000 highlight.string=#DD0000
highlight.comment=#FF9900 highlight.comment=#FF9900
@ -8,7 +7,6 @@ highlight.keyword=#007700
highlight.bg=#FFFFFF highlight.bg=#FFFFFF
highlight.default=#0000BB highlight.default=#0000BB
highlight.html=#000000 highlight.html=#000000
--GET--
--FILE-- --FILE--
<?php <?php
$var = highlight_string("<br /><?php echo \"foo\"; ?><br />"); $var = highlight_string("<br /><?php echo \"foo\"; ?><br />");

Loading…
Cancel
Save