diff options
author | SVN Migration <svn@php.net> | 2004-12-10 01:03:05 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-12-10 01:03:05 +0000 |
commit | a4b6eb9b18af736c45ec74284aa8f3e7579bbd2f (patch) | |
tree | ee742431b8c615d409dd5923855b903a3e27501b | |
parent | fcde3b066e57a9d4ba84a450006de289ba93fe31 (diff) | |
download | php-git-a4b6eb9b18af736c45ec74284aa8f3e7579bbd2f.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_3RC2'.php-5.0.3RC2
-rwxr-xr-x | ext/reflection/tests/003.phpt | 31 | ||||
-rw-r--r-- | tests/lang/bug30862.phpt | 30 |
2 files changed, 0 insertions, 61 deletions
diff --git a/ext/reflection/tests/003.phpt b/ext/reflection/tests/003.phpt deleted file mode 100755 index 6603892559..0000000000 --- a/ext/reflection/tests/003.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -invoke() with base class method ---FILE-- -<?php - -class Foo -{ - function Test() - { - echo __METHOD__ . "\n"; - } -} - -class Bar extends Foo -{ - function Test() - { - echo __METHOD__ . "\n"; - } -} - -$o = new Bar; -$r = new ReflectionMethod('Foo','Test'); - -$r->invoke($o); - -?> -===DONE=== ---EXPECT-- -Foo::Test -===DONE=== diff --git a/tests/lang/bug30862.phpt b/tests/lang/bug30862.phpt deleted file mode 100644 index 12c95d57e8..0000000000 --- a/tests/lang/bug30862.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Bug #30862 (Static array with boolean indexes) ---FILE-- -<?php -class T { - static $a = array(false=>"false", true=>"true"); -} -print_r(T::$a); -?> ----------- -<?php -define("X",0); -define("Y",1); -class T2 { - static $a = array(X=>"false", Y=>"true"); -} -print_r(T2::$a); -?> ---EXPECT-- -Array -( - [0] => false - [1] => true -) ----------- -Array -( - [0] => false - [1] => true -) |