diff options
author | SVN Migration <svn@php.net> | 2004-12-15 06:44:08 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-12-15 06:44:08 +0000 |
commit | a905779194a15c8e5897b08202ddf5e45b31280b (patch) | |
tree | c276b5588645bdcdb0df3f515a379aa3841c674c | |
parent | 3fdb372eb677c3e545ddfc585fed636758cfa9d2 (diff) | |
download | php-git-php-5.0.3.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_3'.php-5.0.3
-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 -) |