diff options
author | SVN Migration <svn@php.net> | 2004-11-30 01:39:19 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-11-30 01:39:19 +0000 |
commit | 89ee4eb8e3879e8570018eb250d78d8d6e9e6b02 (patch) | |
tree | 6d0bd20d2e8565bc3ae5fd0834f9256de4bf6ac6 | |
parent | 1d23c4d551252e1bafd8012a984c2a0c9dc30bc0 (diff) | |
download | php-git-php-5.0.3RC1.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_3RC1'.php-5.0.3RC1
-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 -) |