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
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php // $Id$

2
ext/bz2/tests/with_strings.phpt

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

2
ext/ctype/tests/001.phpt

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

2
ext/ctype/tests/002.phpt

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

2
ext/dio/tests/001.phpt

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

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

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

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

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

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

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

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

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

2
ext/gmp/tests/001.phpt

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

2
ext/gmp/tests/002.phpt

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

2
ext/gmp/tests/003.phpt

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

2
ext/interbase/tests/002.phpt

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

2
ext/interbase/tests/003.phpt

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

2
ext/interbase/tests/004.phpt

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

2
ext/interbase/tests/005.phpt

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

2
ext/interbase/tests/006.phpt

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

2
ext/interbase/tests/007.phpt

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

2
ext/interbase/tests/008.phpt

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

2
ext/mcrypt/tests/blowfish.phpt

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

2
ext/mcrypt/tests/bug8040.phpt

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

2
ext/mcve/tests/001.phpt

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

2
ext/ncurses/tests/001.phpt

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

2
ext/openssl/tests/001.phpt

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

2
ext/pcntl/tests/001.phpt

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

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");
}
?>
--POST--
--GET--
--FILE--
<?php // $Id$

2
ext/session/tests/001.phpt

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

2
ext/session/tests/002.phpt

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

3
ext/skeleton/tests/001.phpt

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

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

@ -1,7 +1,5 @@
--TEST--
Test array_merge and array_walk
--POST--
--GET--
--INI--
precision=14
--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');
}
?>
--POST--
--GET--
--FILE--
<?php
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');
}
?>
--POST--
--GET--
--FILE--
<?php
chdir(dirname(__FILE__));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,7 +1,5 @@
--TEST--
SHA1
--POST--
--GET--
--FILE--
<?php
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 (!function_exists("proc_open")) echo "skip proc_open() is not available";
?>
--POST--
--GET--
--FILE--
<?php
$ds = array(

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

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

2
tests/strings/001.phpt

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

2
tests/strings/004.phpt

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

Loading…
Cancel
Save