mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Remove unused blocks
This commit is contained in:
parent
d94136fc30
commit
29cfd6d24f
50 changed files with 0 additions and 101 deletions
|
@ -2,8 +2,6 @@
|
|||
BZ2 with files
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("bz2")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php // $Id$
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
BZ2 with strings
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("bz2")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php // $Id$
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
ctype on integers
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("ctype")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
setlocale(LC_ALL,"C");
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
ctype on strings
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("ctype")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -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,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,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,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,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,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,8 +2,6 @@
|
|||
GMP functionality test - factorial
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("gmp")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
function fact($x) {
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
Check for number base recognition
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("gmp")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
/* Binary */
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: connect, close and pconnect
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: misc sql types (may take a while)
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: BLOB test
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: transactions
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: binding (may take a while)
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
InterBase: array handling
|
||||
--SKIPIF--
|
||||
<?php include("skipif.inc"); ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ InterBase: event handling
|
|||
if (PHP_OS == "WINNT") echo "skip";
|
||||
include("skipif.inc");
|
||||
?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php /* $Id$ */
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
Test for blowfish compatibility
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
function hex2bin($data) {
|
||||
|
|
|
@ -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,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,8 +2,6 @@
|
|||
Check for ncurses presence
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("ncurses")) print "skip"; ?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
echo "ncurses extension is available";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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(){
|
||||
|
|
|
@ -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$
|
||||
|
||||
|
|
|
@ -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";}}
|
||||
|
|
|
@ -7,7 +7,5 @@ session_unset() without a initialized session
|
|||
error_reporting(E_ALL);
|
||||
session_unset();
|
||||
print "ok\n";
|
||||
--GET--
|
||||
--POST--
|
||||
--EXPECT--
|
||||
ok
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
Test array_merge and array_walk
|
||||
--POST--
|
||||
--GET--
|
||||
--INI--
|
||||
precision=14
|
||||
--FILE--
|
||||
|
|
|
@ -6,8 +6,6 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
|
|||
die('skip only for Windows');
|
||||
}
|
||||
?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
chdir(dirname(__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__));
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
File/Stream functions
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
is_*() and file_exists() return values are boolean.
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
Bug #26615 (exec crash on long input lines)
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
$out = array();
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
sprintf() function
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
levenshtein() function test
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
fgetcsv() with tab delimited fields (BUG #8258)
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
chdir(dirname(__FILE__));
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
is_scalar() function test
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
class foo {}
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
MD5 / Base64
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
function test($str) {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
SHA1
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
function test($str) {
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
Simple math tests
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php // $Id$
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
--TEST--
|
||||
String functions
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue