1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Clean DONE tags from tests

Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
This commit is contained in:
Fabien Villepinte
2019-11-07 21:31:47 +01:00
parent 80cfd99074
commit a555cc0b3d
2693 changed files with 51 additions and 5648 deletions

View File

@@ -360,7 +360,6 @@ var_dump($global_var);
//Note: No error conditions relating to passing arguments can be tested
// because these are not functions but statements, it will result in syntax error.
?>
===DONE===
--EXPECTF--
*** Testing unset(), empty() & isset() with scalar variables ***
-- Iteration 1 --
@@ -1330,4 +1329,3 @@ bool(false)
bool(false)
bool(true)
int(10)
===DONE===

View File

@@ -61,11 +61,9 @@ try {
}
?>
===DONE===
--EXPECT--
Hello World!
===NONE===
Method NoneTest::__toString() must return a string value
===THROW===
This is an error!
===DONE===

View File

@@ -23,7 +23,5 @@ catch(Exception $e)
echo $e->getMessage() . "\n";
}
?>
===DONE===
--EXPECT--
Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterator
===DONE===

View File

@@ -16,7 +16,5 @@ for ($i = 0; $i < $len; $i++) {
}
?>
===DONE===
--EXPECT--
a-s-d-d-/-?+
===DONE===

View File

@@ -12,10 +12,8 @@ spl_autoload_register(function ($name) {
var_dump(class_exists('NotExistingClass'));
?>
===DONE===
--EXPECT--
{closure}(NotExistingClass)
bool(false)
{closure}(NotExistingClass), done
bool(false)
===DONE===

View File

@@ -65,9 +65,7 @@ $p->callOne();
$p->callTwo();
$p->callThree();
?>
===DONE===
--EXPECT--
Caught: NONE
Caught: NONE
Caught: NONE
===DONE===

View File

@@ -30,8 +30,6 @@ foo::$method();
?>
===DONE===
--EXPECT--
global_func
foo::foo_func
===DONE===

View File

@@ -16,8 +16,6 @@ Staticexample::test();
$b->test();
?>
===DONE===
--EXPECT--
bool(false)
bool(false)
===DONE===

View File

@@ -10,7 +10,5 @@ Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dy
$y[0] = 'hello';
A::{$y[0]}();
?>
===DONE===
--EXPECTF--
Hello World
===DONE===

View File

@@ -32,7 +32,6 @@ var_dump(get_object_vars(new Base));
var_dump(get_object_vars(new Child));
?>
===DONE===
--EXPECT--
Base::__construct
array(3) {
@@ -69,4 +68,3 @@ array(1) {
["Foo"]=>
int(1)
}
===DONE===

View File

@@ -44,7 +44,6 @@ var_dump(ClassB::$prop);
var_dump(ClassC::$prop);
?>
===DONE===
--EXPECT--
===INIT===
string(1) "A"
@@ -62,4 +61,3 @@ string(2) "B2"
string(2) "A2"
string(2) "C2"
string(2) "C2"
===DONE===

View File

@@ -52,7 +52,6 @@ var_dump($t->x = 5);
var_dump($y->z->x = 6);
?>
===DONE===
--EXPECT--
object(ObjectOne)#2 (1) {
["x"]=>
@@ -75,4 +74,3 @@ Overloaded::__get(z)
int(5)
Overloaded::__get(z)
int(6)
===DONE===

View File

@@ -27,8 +27,6 @@ try
unset($bar);
?>
===DONE===
--EXPECT--
Foo::__construct
Caught exception!
===DONE===

View File

@@ -11,7 +11,6 @@ class Test {
var_dump(get_class_vars('Test'));
?>
===DONE===
--EXPECT--
array(2) {
["empty"]=>
@@ -28,4 +27,3 @@ array(2) {
}
}
}
===DONE===

View File

@@ -41,7 +41,6 @@ $db = new hariCow;
var_dump($db);
?>
===DONE===
--EXPECTF--
Warning: Undefined variable: db in %s on line %d
NULL
@@ -51,4 +50,3 @@ object(hariCow)#%d (2) {
["y"]=>
string(1) "y"
}
===DONE===

View File

@@ -18,7 +18,5 @@ echo $post[$id.'_show'];
echo "\n";
?>
===DONE===
--EXPECT--
page_show
===DONE===

View File

@@ -11,8 +11,6 @@ function haricow($a = 'one') {
haricow();
haricow();
?>
===DONE===
--EXPECT--
string(3) "one"
string(3) "one"
===DONE===

View File

@@ -26,7 +26,5 @@ catch(Exception $e)
}
?>
===DONE===
--EXPECT--
Caught
===DONE===

View File

@@ -13,9 +13,7 @@ set_error_handler('my_error');
$f = fopen("/tmp/blah", "r");
?>
===DONE===
--EXPECTF--
fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d
Warning: fopen(/tmp/blah): failed to open stream: %s in %s on line %d
===DONE===

View File

@@ -36,7 +36,6 @@ while($test++ < 5)
}
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
{closure}(Test1,1)
Caught: Test1::__construct

View File

@@ -10,8 +10,6 @@ try {
echo $e->getMessage(), "\n";
}
?>
===DONE===
--EXPECTF--
Warning: Undefined variable: nonesuchvar in %s on line %d
array_walk() expects parameter 2 to be a valid callback, first array member is not a valid class name or object
===DONE===

View File

@@ -30,7 +30,5 @@ catch(Exception $e)
}
?>
===DONE===
--EXPECT--
Caught
===DONE===

View File

@@ -40,8 +40,6 @@ catch (Exception $e)
}
?>
===DONE===
--EXPECT--
Test::offsetSet(-1, 123)
CAUGHT
===DONE===

View File

@@ -94,8 +94,6 @@ echo "\n===E===\n";
var_dump($x->doSomethingStatic(1));
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
===A===
TestB::doSomething(1)
@@ -121,4 +119,3 @@ int(1)
TestB::doSomethingStatic(1)
TestA::doSomethingStatic(2)
int(1)
===DONE===

View File

@@ -38,7 +38,6 @@ $B->copyValue($C);
var_dump($B);
?>
===DONE===
--EXPECTF--
object(B)#%d (1) {
["value":protected]=>
@@ -52,4 +51,3 @@ object(B)#%d (1) {
["value":protected]=>
string(1) "C"
}
===DONE===

View File

@@ -26,7 +26,6 @@ $obj->property[] = 2;
var_dump($obj);
?>
===DONE===
--EXPECTF--
string(3) "bar"
@@ -50,4 +49,3 @@ object(Test)#%d (1) {
string(3) "bar"
}
}
===DONE===

View File

@@ -22,10 +22,8 @@ function myErrorHandler($errno, $errstr, $errfile, $errline)
}
?>
===DONE===
--EXPECT--
*** Testing restore_error_handler() : error bug #46196 ***
NULL
bool(true)
NULL
===DONE===

View File

@@ -27,10 +27,8 @@ class B extends A
$b = new B();
$b->A();
?>
===DONE===
--EXPECT--
B::__construct
A::__construct
B::A
A::A
===DONE===

View File

@@ -24,7 +24,6 @@ class Test
$test = new Test();
?>
===DONE===
--EXPECT--
array (
1 => 'first',
@@ -32,4 +31,3 @@ array (
3 => 'third',
4 => 4,
)
===DONE===

View File

@@ -7,7 +7,5 @@ precision=17
echo 2.2250738585072012e-308, "\n";
?>
==DONE==
--EXPECT--
2.2250738585072014E-308
==DONE==

View File

@@ -10,7 +10,6 @@ var_dump($str[3] = "");
var_dump($str[10] = "");
var_dump($str);
?>
==DONE==
--EXPECTF--
Warning: Cannot assign an empty string to a string offset in %s on line %d
NULL
@@ -24,4 +23,3 @@ NULL
Warning: Cannot assign an empty string to a string offset in %s on line %d
NULL
string(3) "abc"
==DONE==

View File

@@ -13,10 +13,8 @@ $string[-3]
EOT;
?>
===DONE===
--EXPECT--
foo
c
foo
c
===DONE===

View File

@@ -15,7 +15,6 @@ END;
var_dump(parse_ini_string($ini, false, INI_SCANNER_RAW));
?>
===DONE===
--EXPECT--
array(7) {
[1]=>
@@ -33,4 +32,3 @@ array(7) {
[7]=>
string(7) "foo"bar"
}
===DONE===

View File

@@ -35,8 +35,6 @@ var_dump(isset($foo->a));
$foo = new Foo45;
var_dump($foo->a);
?>
===DONE===
--EXPECT--
bool(true)
string(10) "Some value"
===DONE===

View File

@@ -18,11 +18,9 @@ eval("foo();");
echo "Done\n";
?>
===DONE===
--EXPECTF--
#0 boo() called at [%s:%d]
#1 bar() called at [%s:%d]
#2 foo() called at [%s(%d) : eval()'d code:1]
#3 eval() called at [%s:%d]
Done
===DONE===

View File

@@ -7,7 +7,6 @@ $a = function () use(&$a) {};
var_dump($a);
?>
===DONE===
--EXPECTF--
object(Closure)#%d (1) {
["static"]=>
@@ -16,4 +15,3 @@ object(Closure)#%d (1) {
*RECURSION*
}
}
===DONE===

View File

@@ -96,7 +96,6 @@ echo $fn(" OK".PHP_EOL);
?>
===DONE===
--EXPECT--
Access public static function OK
Access public static function with different case OK
@@ -118,4 +117,3 @@ Access public instance method of parent object through "self::" to parent method
Access proteced instance method of parent object through "self::" to parent method OK
MagicCall __call instance method __call,nonExistentMethod, OK
MagicCall __callStatic static method __callStatic,nonExistentMethod, OK
===DONE===

View File

@@ -193,7 +193,6 @@ catch (\Throwable $t) {
echo "OK\n";
?>
===DONE===
--EXPECT--
Cannot access privateInstance method statically
Cannot access privateInstance method statically with colon scheme
@@ -211,4 +210,3 @@ Function scope cannot closure over protected instance method
Function scope cannot closure over private instance method
Access private instance method of parent object through "self::" to parent method
OK
===DONE===

View File

@@ -28,7 +28,6 @@ Class C {
}
var_dump(function_exists('C::f'));
?>
===Done===
--EXPECT--
*** Testing function_exists() : basic functionality ***
Internal function: bool(true)
@@ -36,4 +35,3 @@ User defined function: bool(true)
Case sensitivity: bool(true)
Non existent function: bool(false)
Method: bool(false)
===Done===

View File

@@ -52,8 +52,6 @@ if (count($user) == 2 && in_array("foo", $user) && in_array("helloworld", $user)
}
?>
===Done===
--EXPECT--
*** Testing get_defined_functions() : basic functionality ***
TEST PASSED
===Done===

View File

@@ -11,7 +11,6 @@ file_put_contents(__DIR__ . '/test2.php', $text);
include __DIR__ . '/test1.php';
include __DIR__ . '/test2.php';
?>
==DONE==
--CLEAN--
<?php
unlink(__DIR__ . '/test1.php');
@@ -20,4 +19,3 @@ unlink(__DIR__ . '/test2.php');
--EXPECT--
testint(73)
test2int(74)
==DONE==

View File

@@ -4,7 +4,5 @@ __HALT_COMPILER(); bad define() of __COMPILER_HALT_OFFSET__ 1
<?php
define ('__COMPILER_HALT_OFFSET__', 1);
?>
==DONE==
--EXPECTF--
Notice: Constant __COMPILER_HALT_OFFSET__ already defined in %s on line %d
==DONE==

View File

@@ -47,7 +47,6 @@ echo ChildClass2::testStaticVar() . "\n";
echo ChildClass2::testClassConst() . "\n";
echo ChildClass2::testStaticFunction() . "\n";
?>
==DONE==
--EXPECT--
TestClassStatic
TestClassConst
@@ -58,4 +57,3 @@ ChildClassFunction
TestClassStatic
TestClassConst
TestClassFunction
==DONE==

View File

@@ -52,7 +52,6 @@ echo $childClass2->testStaticVar() . "\n";
echo $childClass2->testClassConst() . "\n";
echo $childClass2->testStaticFunction() . "\n";
?>
==DONE==
--EXPECT--
TestClassStatic
TestClassConst
@@ -63,4 +62,3 @@ ChildClassFunction
TestClassStatic
TestClassConst
TestClassFunction
==DONE==

View File

@@ -17,8 +17,6 @@ $childClass = ChildClass::createInstance();
echo get_class($testClass) . "\n";
echo get_class($childClass) . "\n";
?>
==DONE==
--EXPECT--
TestClass
ChildClass
==DONE==

View File

@@ -14,8 +14,6 @@ class ChildClass extends TestClass {}
echo TestClass::getClassName() . "\n";
echo ChildClass::getClassName() . "\n";
?>
==DONE==
--EXPECT--
TestClass
ChildClass
==DONE==

View File

@@ -35,7 +35,6 @@ class TestBB extends TestB {
TestA::test();
?>
==DONE==
--EXPECT--
TestA
TestB
@@ -48,4 +47,3 @@ TestBB
TestC
TestBB
TestA
==DONE==

View File

@@ -67,7 +67,6 @@ A::myCatch();
echo "via B:\n";
B::myCatch();
?>
==DONE==
--EXPECT--
via A:
A
@@ -89,4 +88,3 @@ B
B
B
B
==DONE==

View File

@@ -33,9 +33,7 @@ $o->test();
$o->a = "b";
echo $o->a;
?>
==DONE==
--EXPECT--
TestChild
TestChild
TestChild
==DONE==

View File

@@ -20,10 +20,8 @@ class D extends A {
echo A::test(B::test(C::test(D::test())))."\n";
?>
==DONE==
--EXPECT--
D
C
B
A
==DONE==

View File

@@ -54,7 +54,6 @@ $x->identify();
$y->identify();
$z->identify();
?>
===DONE===
--EXPECTF--
object(Foo)#%d (1) {
["instanceId":"Singleton":private]=>
@@ -92,4 +91,3 @@ object(Baz)#%d (1) {
["instanceId":"Singleton":private]=>
int(2)
}
===DONE===

View File

@@ -17,7 +17,5 @@ internal_encoding=big5
echo '\'hello';
?>
===DONE===
--EXPECT--
'hello
===DONE===

View File

@@ -18,7 +18,5 @@ declare(encoding='Shift_JIS');
$s = "•\"; // 0x95+0x5c in script, not somewhere else "
printf("%x:%x\n", ord($s[0]), ord($s[1]));
?>
===DONE===
--EXPECT--
95:5c
===DONE===

View File

@@ -16,7 +16,5 @@ internal_encoding=iso-8859-1
<?php
print "Hello World\n";
?>
===DONE===
--EXPECT--
Hello World
===DONE===

View File

@@ -16,9 +16,7 @@ class Test {
Test::f();
?>
===DONE===
--EXPECT--
string(3) "foo"
string(0) ""
string(3) "foo"
===DONE===

View File

@@ -14,7 +14,6 @@ var_dump($o != null);
var_dump(is_null($o));
?>
===DONE===
--EXPECT--
bool(false)
bool(true)
@@ -23,4 +22,3 @@ bool(true)
bool(false)
bool(true)
bool(false)
===DONE===

View File

@@ -25,7 +25,6 @@ $a['foo']['bar'] = 2;
var_dump($a);
?>
==DONE==
--EXPECT--
object(A)#1 (1) {
["foo"]=>
@@ -37,4 +36,3 @@ object(A)#1 (1) {
}
}
}
==DONE==

View File

@@ -148,7 +148,6 @@ if($c === 0) {
echo "Failed: $f\n";
}
?>
===DONE===
--CLEAN--
<?php
$fl = __DIR__ . DIRECTORY_SEPARATOR . 'compare_binary_operands_temp.php';
@@ -156,4 +155,3 @@ $fl = __DIR__ . DIRECTORY_SEPARATOR . 'compare_binary_operands_temp.php';
?>
--EXPECT--
Failed: 0
===DONE===

View File

@@ -21,9 +21,7 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
int(1)
int(2)
int(3)
===DONE===

View File

@@ -22,9 +22,7 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
int(1)
int(2)
int(3)
===DONE===

View File

@@ -27,7 +27,5 @@ catch(Exception $e)
}
?>
===DONE===
--EXPECT--
Caught
===DONE===

View File

@@ -32,7 +32,5 @@ catch(Exception $e)
}
?>
===DONE===
--EXPECT--
Caught
===DONE===

View File

@@ -37,7 +37,5 @@ class MyObject
MyObject::test();
?>
===DONE===
--EXPECT--
Caught
===DONE===

View File

@@ -18,8 +18,6 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
try
finally
===DONE===

View File

@@ -20,8 +20,6 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
try
finally
===DONE===

View File

@@ -21,9 +21,7 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
int(1)
int(2)
int(3)
===DONE===

View File

@@ -32,8 +32,6 @@ try {
echo "outer catch\n";
}
?>
===DONE===
--EXPECT--
finally
outer catch
===DONE===

View File

@@ -34,9 +34,7 @@ function foo() {
foo();
?>
===DONE===
--EXPECT--
finally1
catch2
finally2
===DONE===

View File

@@ -24,7 +24,6 @@ spl_autoload_register(function($class) {
var_dump(new C);
?>
===DONE===
--EXPECT--
object(A)#2 (0) {
}
@@ -34,4 +33,3 @@ object(C)#2 (0) {
}
object(C)#2 (0) {
}
===DONE===

View File

@@ -25,7 +25,6 @@ spl_autoload_register(function($class) {
var_dump(new B);
?>
===DONE===
--EXPECT--
object(A)#2 (0) {
}
@@ -35,4 +34,3 @@ object(B)#2 (0) {
}
object(B)#2 (0) {
}
===DONE===

View File

@@ -30,7 +30,6 @@ spl_autoload_register(function($class) {
var_dump(new B);
?>
===DONE===
--EXPECT--
object(A)#2 (0) {
}
@@ -42,4 +41,3 @@ object(B)#2 (0) {
}
object(B)#2 (0) {
}
===DONE===

View File

@@ -31,7 +31,6 @@ spl_autoload_register(function($class) {
var_dump(new B);
?>
===DONE===
--EXPECT--
object(A)#2 (0) {
}
@@ -41,4 +40,3 @@ object(B)#2 (0) {
}
object(B)#2 (0) {
}
===DONE===

View File

@@ -41,7 +41,6 @@ spl_autoload_register(function($class) {
var_dump(new B);
?>
===DONE===
--EXPECT--
object(A)#2 (0) {
}
@@ -57,4 +56,3 @@ object(B)#2 (0) {
}
object(B)#2 (0) {
}
===DONE===

View File

@@ -8,8 +8,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
<?php
var_dump(bcpow('1', '1.1', 2));
?>
===DONE===
--EXPECTF--
Warning: bcpow(): non-zero scale in exponent in %s on line %d
string(4) "1.00"
===DONE===

View File

@@ -8,8 +8,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
<?php
var_dump(bcpow('0', '9223372036854775808', 2));
?>
===DONE===
--EXPECTF--
Warning: bcpow(): exponent too large in %s on line %d
string(4) "1.00"
===DONE===

View File

@@ -8,7 +8,5 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
<?php
var_dump(bcmul('0.3', '0.2', 4));
?>
===DONE===
--EXPECT--
string(6) "0.0600"
===DONE===

View File

@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
var_dump(bcpowmod('4', '4', '3', 1));
var_dump(bcpowmod('3234', '32345', '22345', 1));
?>
===DONE===
--EXPECT--
string(3) "1.0"
string(7) "17334.0"
===DONE===

View File

@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcadd('-0.0', '-0.0', 1));
var_dump(bccomp('-0.0', '0', 1));
?>
===DONE===
--EXPECT--
string(3) "0.0"
int(0)
===DONE===

View File

@@ -9,8 +9,6 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcpowmod(5, 0, 1));
var_dump(bcpowmod(5, 0, 1, 3));
?>
===DONE===
--EXPECT--
string(1) "0"
string(5) "0.000"
===DONE===

View File

@@ -9,11 +9,9 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
var_dump(bcpowmod('4.1', '4', '3', 3));
var_dump(bcpowmod('4', '4', '3.1', 3));
?>
===DONE===
--EXPECTF--
Warning: bcpowmod(): non-zero scale in base in %s on line %d
string(5) "1.000"
Warning: bcpowmod(): non-zero scale in modulus in %s on line %d
string(5) "1.000"
===DONE===

View File

@@ -15,7 +15,6 @@ echo
'bcsqrt: ', bcsqrt('4', 5), PHP_EOL,
'bcsub: ', bcsub('2', '1', 5), PHP_EOL;
?>
===DONE===
--EXPECT--
bcadd: 3.00000
bcdiv: 2.00000
@@ -24,4 +23,3 @@ bcpow: 2.00000
bcpowmod: 2.00000
bcsqrt: 2.00000
bcsub: 1.00000
===DONE===

View File

@@ -17,7 +17,6 @@ echo
'bcsqrt: ', bcsqrt('4'), PHP_EOL,
'bcsub: ', bcsub('2', '1'), PHP_EOL;
?>
===DONE===
--EXPECT--
bcadd: 3.00000
bcdiv: 2.00000
@@ -26,4 +25,3 @@ bcpow: 2.00000
bcpowmod: 2.00000
bcsqrt: 2.00000
bcsub: 1.00000
===DONE===

View File

@@ -18,7 +18,6 @@ for ($year = 5000; $year <= 5001; $year++) {
echo "\n";
}
?>
===DONE===
--EXPECT--
normal year 5000
e020faf9f8e920e4
@@ -50,4 +49,3 @@ e020faeee5e620e4e0
e020e0e120e4e0
e020e0ece5ec20e4e0
===DONE===

View File

@@ -15,8 +15,6 @@ $typelib = $root.'\activeds.tlb';
var_dump(com_load_typelib($typelib));
var_dump(com_load_typelib($typelib));
?>
===DONE===
--EXPECT--
bool(true)
bool(true)
===DONE===

View File

@@ -27,7 +27,6 @@ if (!$result) {
}
?>
===DONE===
--CLEAN--
<?php
@@ -39,4 +38,3 @@ if (file_exists($fpath)) {
?>
--EXPECT--
bool(true)
===DONE===

View File

@@ -45,7 +45,6 @@ if (!$result) {
}
?>
===DONE===
--CLEAN--
<?php
@@ -57,4 +56,3 @@ if (file_exists($fpath)) {
?>
--EXPECT--
bool(true)
===DONE===

View File

@@ -31,7 +31,6 @@ foreach ($strings as $string) {
var_dump(unserialize($string));
}
?>
===DONE===
--EXPECTF--
Exception: Serialization of 'com' is not allowed
Exception: Serialization of 'dotnet' is not allowed
@@ -54,4 +53,3 @@ Warning: Erroneous data format for unserializing 'variant' in %s on line %d
Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
bool(false)
===DONE===

View File

@@ -15,9 +15,7 @@ $command = "$php $iniopt -d com.autoregister_typelib=1 -r \"new COM('WbemScripti
exec($command, $output, $status);
var_dump($output, $status);
?>
===DONE===
--EXPECT--
array(0) {
}
int(0)
===DONE===

View File

@@ -12,7 +12,5 @@ define('ADSTYPE_INVALID', 0);
$root = dirname(array_change_key_case($_SERVER, CASE_UPPER)['COMSPEC']);
com_load_typelib("$root\activeds.tlb");
?>
===DONE===
--EXPECTF--
Warning: com_load_typelib(): Type library constant ADSTYPE_INVALID is already defined in %s on line %d
===DONE===

View File

@@ -21,9 +21,7 @@ var_dump(ctype_alnum($c2));
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alnum() : basic functionality ***
bool(true)
bool(false)
===DONE===

View File

@@ -98,7 +98,6 @@ fclose($fp);
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alnum() : usage variations ***
@@ -176,4 +175,3 @@ bool(false)
-- Iteration 25 --
bool(false)
===DONE===

View File

@@ -26,7 +26,6 @@ for ($i = 0; $i < 256; $i++) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alnum() : usage variations ***
character code 48 is alpha numeric
@@ -91,4 +90,3 @@ character code 119 is alpha numeric
character code 120 is alpha numeric
character code 121 is alpha numeric
character code 122 is alpha numeric
===DONE===

View File

@@ -54,7 +54,6 @@ foreach($values as $value) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alnum() : usage variations ***
@@ -126,4 +125,3 @@ bool(false)
-- Iteration 23 --
bool(false)
===DONE===

View File

@@ -38,7 +38,6 @@ foreach($hex_values as $c) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alnum() : usage variations ***
@@ -61,4 +60,3 @@ bool(true)
bool(true)
-- Iteration 4 --
bool(true)
===DONE===

View File

@@ -21,9 +21,7 @@ var_dump(ctype_alpha($c2));
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alpha() : basic functionality ***
bool(true)
bool(false)
===DONE===

View File

@@ -98,7 +98,6 @@ fclose($fp);
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alpha() : usage variations ***
@@ -176,4 +175,3 @@ bool(false)
-- Iteration 25 --
bool(false)
===DONE===

View File

@@ -26,7 +26,6 @@ for ($i = 0; $i < 256; $i++) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alpha() : usage variations ***
character code 65 is alphabetic
@@ -81,4 +80,3 @@ character code 119 is alphabetic
character code 120 is alphabetic
character code 121 is alphabetic
character code 122 is alphabetic
===DONE===

View File

@@ -55,7 +55,6 @@ foreach($values as $value) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alpha() : usage variations ***
@@ -127,4 +126,3 @@ bool(false)
-- Iteration 23 --
bool(false)
===DONE===

View File

@@ -38,7 +38,6 @@ foreach($hex_values as $c) {
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_alpha() : usage variations ***
@@ -61,4 +60,3 @@ bool(true)
bool(true)
-- Iteration 4 --
bool(true)
===DONE===

View File

@@ -21,9 +21,7 @@ var_dump(ctype_cntrl($c2));
setlocale(LC_CTYPE, $orig);
?>
===DONE===
--EXPECT--
*** Testing ctype_cntrl() : basic functionality ***
bool(true)
bool(false)
===DONE===

Some files were not shown because too many files have changed in this diff Show More