mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Remove unused blocks
This commit is contained in:
parent
bd29f379e7
commit
d94136fc30
155 changed files with 0 additions and 315 deletions
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
RegReplace test 1
|
RegReplace test 1
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def",$a)?>
|
echo ereg_replace("123","def",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
RegReplace test 2
|
RegReplace test 2
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","",$a)?>
|
echo ereg_replace("123","",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
ereg_replace single-quote test
|
ereg_replace single-quote test
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="\\'test";
|
<?php $a="\\'test";
|
||||||
echo ereg_replace("\\\\'","'",$a)
|
echo ereg_replace("\\\\'","'",$a)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
simple ereg test
|
simple ereg test
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
if (ereg(".*nice and simple.*",$a)) {
|
if (ereg(".*nice and simple.*",$a)) {
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test Regular expression register support in ereg
|
Test Regular expression register support in ereg
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
echo ereg(".*(is).*(is).*",$a,$registers);
|
echo ereg(".*(is).*(is).*",$a,$registers);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test ereg_replace of start-of-line
|
Test ereg_replace of start-of-line
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
echo ereg_replace("^This","That",$a);
|
echo ereg_replace("^This","That",$a);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test empty result buffer in reg_replace
|
Test empty result buffer in reg_replace
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a="abcd";
|
$a="abcd";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test back-references in regular expressions
|
Test back-references in regular expressions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
|
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test split()
|
Test split()
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a=split("[[:space:]]","this is a
|
$a=split("[[:space:]]","this is a
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Long back references
|
Long back references
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc122222222223";
|
<?php $a="abc122222222223";
|
||||||
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
|
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
\0 back reference
|
\0 back reference
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def\\0ghi",$a)?>
|
echo ereg_replace("123","def\\0ghi",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
nonexisting back reference
|
nonexisting back reference
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123",'def\1ghi',$a)?>
|
echo ereg_replace("123",'def\1ghi',$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
escapes in replace string
|
escapes in replace string
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
|
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
backreferences not replaced recursively
|
backreferences not replaced recursively
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="a\\2bxc";
|
<?php $a="a\\2bxc";
|
||||||
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
|
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
replace empty matches
|
replace empty matches
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php echo ereg_replace("^","z","abc123")?>
|
<?php echo ereg_replace("^","z","abc123")?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
test backslash handling in regular expressions
|
test backslash handling in regular expressions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php echo ereg_replace('\?',"abc","?123?")?>
|
<?php echo ereg_replace('\?',"abc","?123?")?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Tests for floor en ceil
|
Tests for floor en ceil
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5);
|
$a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
log() tests
|
log() tests
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php // $Id$
|
<?php // $Id$
|
||||||
echo "On failure, please mail result to php-dev@lists.php.net\n";
|
echo "On failure, please mail result to php-dev@lists.php.net\n";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Various pow() tests
|
Various pow() tests
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php // $Id$
|
<?php // $Id$
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Simple math tests
|
Simple math tests
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php // $Id$
|
<?php // $Id$
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
RegReplace test 1
|
RegReplace test 1
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def",$a)?>
|
echo ereg_replace("123","def",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
RegReplace test 2
|
RegReplace test 2
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","",$a)?>
|
echo ereg_replace("123","",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
ereg_replace single-quote test
|
ereg_replace single-quote test
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="\\'test";
|
<?php $a="\\'test";
|
||||||
echo ereg_replace("\\\\'","'",$a)
|
echo ereg_replace("\\\\'","'",$a)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
simple ereg test
|
simple ereg test
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
if (ereg(".*nice and simple.*",$a)) {
|
if (ereg(".*nice and simple.*",$a)) {
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test Regular expression register support in ereg
|
Test Regular expression register support in ereg
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
echo ereg(".*(is).*(is).*",$a,$registers);
|
echo ereg(".*(is).*(is).*",$a,$registers);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test ereg_replace of start-of-line
|
Test ereg_replace of start-of-line
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="This is a nice and simple string";
|
<?php $a="This is a nice and simple string";
|
||||||
echo ereg_replace("^This","That",$a);
|
echo ereg_replace("^This","That",$a);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test empty result buffer in reg_replace
|
Test empty result buffer in reg_replace
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a="abcd";
|
$a="abcd";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test back-references in regular expressions
|
Test back-references in regular expressions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
|
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1 \\2\n","abc+-|=123");
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Test split()
|
Test split()
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a=split("[[:space:]]","this is a
|
$a=split("[[:space:]]","this is a
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Long back references
|
Long back references
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc122222222223";
|
<?php $a="abc122222222223";
|
||||||
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
|
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
\0 back reference
|
\0 back reference
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def\\0ghi",$a)?>
|
echo ereg_replace("123","def\\0ghi",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
nonexisting back reference
|
nonexisting back reference
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123",'def\1ghi',$a)?>
|
echo ereg_replace("123",'def\1ghi',$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
escapes in replace string
|
escapes in replace string
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="abc123";
|
<?php $a="abc123";
|
||||||
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
|
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
backreferences not replaced recursively
|
backreferences not replaced recursively
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php $a="a\\2bxc";
|
<?php $a="a\\2bxc";
|
||||||
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
|
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
replace empty matches
|
replace empty matches
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php echo ereg_replace("^","z","abc123")?>
|
<?php echo ereg_replace("^","z","abc123")?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
test backslash handling in regular expressions
|
test backslash handling in regular expressions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php echo ereg_replace('\?',"abc","?123?")?>
|
<?php echo ereg_replace('\?',"abc","?123?")?>
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
serialize()/unserialize()/var_dump()
|
serialize()/unserialize()/var_dump()
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
class t
|
class t
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
addcslashes() and stripcslashes() function
|
addcslashes() and stripcslashes() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo addcslashes("", "")."\n";
|
echo addcslashes("", "")."\n";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
addslashes() and stripslashes() functions, normal and sybase-style
|
addslashes() and stripslashes() functions, normal and sybase-style
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
bin2hex() function
|
bin2hex() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$s = '';
|
$s = '';
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #20108 (Segfault on printf statement)
|
Bug #20108 (Segfault on printf statement)
|
||||||
--SKIPIF--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = "boo";
|
$a = "boo";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #20927 (Segfault on wordwrap statement)
|
Bug #20927 (Segfault on wordwrap statement)
|
||||||
--SKIPIF--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$string = str_repeat("1234567890 X ", 10);
|
$string = str_repeat("1234567890 X ", 10);
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
chr() and ord() functions
|
chr() and ord() functions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo "Testing ord() & chr()...";
|
echo "Testing ord() & chr()...";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
chunk_split() function
|
chunk_split() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo chunk_split('abc', 1, '-')."\n";
|
echo chunk_split('abc', 1, '-')."\n";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
count_chars() function
|
count_chars() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$s = "het leven is net erwtensoep - je kunt er geen touw aan vastknopen";
|
$s = "het leven is net erwtensoep - je kunt er geen touw aan vastknopen";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
crc32() function
|
crc32() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$input = array("foo", "bar", "baz", "grldsajkopallkjasd");
|
$input = array("foo", "bar", "baz", "grldsajkopallkjasd");
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
explode() function
|
explode() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
--INI--
|
||||||
error_reporting=2047
|
error_reporting=2047
|
||||||
--FILE--
|
--FILE--
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
implode() function
|
implode() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
--INI--
|
||||||
error_reporting=2047
|
error_reporting=2047
|
||||||
log_errors=0
|
log_errors=0
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
nl2br() function
|
nl2br() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(nl2br("test"));
|
var_dump(nl2br("test"));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
str_repeat() function
|
str_repeat() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$input = array('a', 'foo', 'barbazbax');
|
$input = array('a', 'foo', 'barbazbax');
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strip_tags() function
|
strip_tags() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo strip_tags('NEAT <? cool < blah ?> STUFF');
|
echo strip_tags('NEAT <? cool < blah ?> STUFF');
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strpos() function
|
strpos() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(strpos("test string", "test"));
|
var_dump(strpos("test string", "test"));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strrev() function
|
strrev() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strripos() function
|
strripos() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(strripos("test test string", "test"));
|
var_dump(strripos("test test string", "test"));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strrpos() function
|
strrpos() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(strrpos("test test string", "test"));
|
var_dump(strrpos("test test string", "test"));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
strstr() function
|
strstr() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(strstr("test string", "test"));
|
var_dump(strstr("test string", "test"));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
substr_count() function
|
substr_count() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
var_dump(@substr_count("", ""));
|
var_dump(@substr_count("", ""));
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
substr_replace() function
|
substr_replace() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$str = "try this";
|
$str = "try this";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
trim(), rtrim() and ltrim() functions
|
trim(), rtrim() and ltrim() functions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
parse_url() function
|
parse_url() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$sample_urls = array (
|
$sample_urls = array (
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
wordwrap() function
|
wordwrap() function
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Check for mktime with out-of-range parameters
|
Check for mktime with out-of-range parameters
|
||||||
--SKIPIF--
|
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
# MacOS/X libc implementation doesn't treat out-of-range values
|
# MacOS/X libc implementation doesn't treat out-of-range values
|
||||||
|
|
|
@ -3,8 +3,6 @@ send/receive serialized message.
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php // vim600:syn=php
|
<?php // vim600:syn=php
|
||||||
if (!extension_loaded("sysvmsg")) print "skip"; ?>
|
if (!extension_loaded("sysvmsg")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$key = ftok("./ext/sysvmsg/tests/001.phpt", "p");
|
$key = ftok("./ext/sysvmsg/tests/001.phpt", "p");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Check for tidy presence
|
Check for tidy presence
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo "tidy extension is available";
|
echo "tidy extension is available";
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
tidy_parse_string()
|
tidy_parse_string()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML></HTML>");
|
$a = tidy_parse_string("<HTML></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
tidy_clean_repair()
|
tidy_clean_repair()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
tidy_diagnose()
|
tidy_diagnose()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML></HTML>");
|
$a = tidy_parse_string("<HTML></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
tidy_parse_file()
|
tidy_parse_file()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_file("ext/tidy/tests/005.html");
|
$a = tidy_parse_file("ext/tidy/tests/005.html");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Verbose tidy_get_error_buffer()
|
Verbose tidy_get_error_buffer()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML><asd asdf></HTML>");
|
$a = tidy_parse_string("<HTML><asd asdf></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Accessing the error buffer via $obj->error_buf...
|
Accessing the error buffer via $obj->error_buf...
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML><asd asdf></HTML>");
|
$a = tidy_parse_string("<HTML><asd asdf></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
tidy_doc object overloading
|
tidy_doc object overloading
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Accessing root, body, html, and head nodes..
|
Accessing root, body, html, and head nodes..
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>");
|
$a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Accessing attributes of a node
|
Accessing attributes of a node
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>");
|
$a = tidy_parse_string("<HTML><BODY BGCOLOR=#FFFFFF ALINK=#000000></BODY></HTML>");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Accessing children nodes
|
Accessing children nodes
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Parsing a file using constructor
|
Parsing a file using constructor
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true));
|
$tidy = new tidy("ext/tidy/tests/013.html", array("show-body-only"=>true));
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Passing configuration options through tidy_parse_string().
|
Passing configuration options through tidy_parse_string().
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$text = "<B>testing</I>";
|
$text = "<B>testing</I>";
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Passing configuration options through tidy_parse_file().
|
Passing configuration options through tidy_parse_file().
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$tidy = tidy_parse_file("ext/tidy/tests/015.html", array('show-body-only'=>true));
|
$tidy = tidy_parse_file("ext/tidy/tests/015.html", array('show-body-only'=>true));
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
Passing configuration file through tidy_parse_file()
|
Passing configuration file through tidy_parse_file()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$tidy = tidy_parse_file("ext/tidy/tests/016.html", "ext/tidy/tests/016.tcfg");
|
$tidy = tidy_parse_file("ext/tidy/tests/016.html", "ext/tidy/tests/016.tcfg");
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
The Tidy Output Buffer Filter
|
The Tidy Output Buffer Filter
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--INI--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php ob_start("ob_tidyhandler"); ?>
|
<?php ob_start("ob_tidyhandler"); ?>
|
||||||
<B>testing</I>
|
<B>testing</I>
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
gzdeflate()/gzinflate()
|
gzdeflate()/gzinflate()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php /* $Id$ */
|
<?php /* $Id$ */
|
||||||
$original = str_repeat("hallo php",4096);
|
$original = str_repeat("hallo php",4096);
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
gzcompress()/gzuncompress()
|
gzcompress()/gzuncompress()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php /* $Id$ */
|
<?php /* $Id$ */
|
||||||
$original = str_repeat("hallo php",4096);
|
$original = str_repeat("hallo php",4096);
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
gzencode()/base64_encode()
|
gzencode()/base64_encode()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
<?php if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$original = str_repeat("hallo php",4096);
|
$original = str_repeat("hallo php",4096);
|
||||||
|
|
|
@ -3,8 +3,6 @@ gzfile(), gzreadfile()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php /* $Id$ */
|
<?php /* $Id$ */
|
||||||
if (!extension_loaded("zlib")) print "skip"; ?>
|
if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$original = <<<EOD
|
$original = <<<EOD
|
||||||
|
|
|
@ -3,8 +3,6 @@ gzopen(), gzread(), gzwrite()
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php # vim600:syn=php:
|
<?php # vim600:syn=php:
|
||||||
if (!extension_loaded("zlib")) print "skip"; ?>
|
if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$original = str_repeat("hallo php",4096);
|
$original = str_repeat("hallo php",4096);
|
||||||
|
|
|
@ -3,8 +3,6 @@ gzopen(), gzread(), gzwrite() for non-compressed data
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php # vim600:syn=php:
|
<?php # vim600:syn=php:
|
||||||
if (!extension_loaded("zlib")) print "skip"; ?>
|
if (!extension_loaded("zlib")) print "skip"; ?>
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$original = str_repeat("hallo php",4096);
|
$original = str_repeat("hallo php",4096);
|
||||||
|
|
|
@ -69,8 +69,6 @@ print "script exiting...\n";
|
||||||
print "..\n";
|
print "..\n";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
testing plain destructors
|
testing plain destructors
|
||||||
PEAR constructor called, class=testpear
|
PEAR constructor called, class=testpear
|
||||||
|
|
|
@ -272,8 +272,6 @@ $obj->doPopErrorHandling();
|
||||||
$obj->doPopErrorHandling();
|
$obj->doPopErrorHandling();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
testing static error-handling global code
|
testing static error-handling global code
|
||||||
echoing PEAR error-handling Variables:
|
echoing PEAR error-handling Variables:
|
||||||
|
|
|
@ -114,8 +114,6 @@ unlink($testdir . DIRECTORY_SEPARATOR . 'test5.php');
|
||||||
|
|
||||||
rmdir($testdir);
|
rmdir($testdir);
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
first test: returns false with non-existing filename? yes
|
first test: returns false with non-existing filename? yes
|
||||||
second test: returns false with invalid PHP? yes
|
second test: returns false with invalid PHP? yes
|
||||||
|
|
|
@ -62,8 +62,6 @@ $common->buildProvidesArray($ret);
|
||||||
var_dump($common->pkginfo);
|
var_dump($common->pkginfo);
|
||||||
rmdir($testdir);
|
rmdir($testdir);
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
pre-test: returns false with valid PHP? no
|
pre-test: returns false with valid PHP? no
|
||||||
array(6) {
|
array(6) {
|
||||||
|
|
|
@ -103,8 +103,6 @@ function cleanall($dir)
|
||||||
rmdir($dir);
|
rmdir($dir);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
Test static:
|
Test static:
|
||||||
Simple: passed
|
Simple: passed
|
||||||
|
|
|
@ -433,8 +433,6 @@ maintainers and configure options
|
||||||
var_dump($ret);
|
var_dump($ret);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
Test invalid XML
|
Test invalid XML
|
||||||
Caught error: XML error: not well-formed (invalid token) at line 1
|
Caught error: XML error: not well-formed (invalid token) at line 1
|
||||||
|
|
|
@ -52,8 +52,6 @@ function dumpPacks($p)
|
||||||
echo ")\n";
|
echo ")\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
Test Install Sort:
|
Test Install Sort:
|
||||||
Packages(
|
Packages(
|
||||||
|
|
|
@ -64,8 +64,6 @@ $a = '1.1alpha.4';
|
||||||
echo "$a ";
|
echo "$a ";
|
||||||
echo (PEAR_Common::validPackageVersion($a)) ? "valid\n" : "invalid\n";
|
echo (PEAR_Common::validPackageVersion($a)) ? "valid\n" : "invalid\n";
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
==Valid Tests==
|
==Valid Tests==
|
||||||
1 valid
|
1 valid
|
||||||
|
|
|
@ -227,8 +227,6 @@ function cleanall()
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
extension 1 ok? yes
|
extension 1 ok? yes
|
||||||
no error
|
no error
|
||||||
|
|
|
@ -206,8 +206,6 @@ function cleanall()
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
has works? yes
|
has works? yes
|
||||||
no error
|
no error
|
||||||
|
|
|
@ -155,8 +155,6 @@ function cleanall()
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
uninstall ok? yes
|
uninstall ok? yes
|
||||||
|
|
||||||
|
|
|
@ -253,8 +253,6 @@ function cleanall($dir)
|
||||||
rmdir($dir);
|
rmdir($dir);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
-=-=-=-=-=-=-=-=- Failure Tests -=-=-=-=-=-=-=-=-=-=-
|
-=-=-=-=-=-=-=-=- Failure Tests -=-=-=-=-=-=-=-=-=-=-
|
||||||
Test invalid package name:
|
Test invalid package name:
|
||||||
|
|
|
@ -301,8 +301,6 @@ function cleanall($dir)
|
||||||
rmdir($dir);
|
rmdir($dir);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
Test simple direct url download:
|
Test simple direct url download:
|
||||||
NULL
|
NULL
|
||||||
|
|
|
@ -315,8 +315,6 @@ function cleanall($dir)
|
||||||
rmdir($dir);
|
rmdir($dir);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
--GET--
|
|
||||||
--POST--
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
Test simple direct url download:
|
Test simple direct url download:
|
||||||
Warning: PEAR Warning: PEAR_Installer::download() is deprecated in favor of PEAR_Downloader class
|
Warning: PEAR Warning: PEAR_Installer::download() is deprecated in favor of PEAR_Downloader class
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue